Searched defs:remaining (Results 1 - 25 of 33) sorted by relevance

12

/frameworks/av/media/img_utils/src/
H A DInput.cpp32 size_t remaining = count; local
33 while (remaining > 0) {
34 size_t amt = (SKIP_BUF_SIZE > remaining) ? remaining : SKIP_BUF_SIZE;
39 if (remaining == count) {
44 return count - remaining;
50 remaining -= ret;
/frameworks/base/core/java/android/service/fingerprint/
H A DFingerprintManagerReceiver.java24 * remaining hits 0 without {@link #onError(int)} being called.
27 * @param remaining the number of samples required to complete enrollment. It's up to
30 * different parts of the finger. The enrollment flow can use remaining to
33 public void onEnrollResult(int fingerprintId, int remaining) { } argument
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
H A DBmsgTokenizer.java101 public String remaining() { method in class:BmsgTokenizer
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/utils/
H A DBmsgTokenizer.java101 public String remaining() { method in class:BmsgTokenizer
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSimPinView.java217 private Dialog getSimRemainingAttemptsDialog(int remaining) { argument
218 String msg = getPinPasswordErrorMessage(remaining);
H A DKeyguardSimPukView.java269 private Dialog getPukRemainingAttemptsDialog(int remaining) { argument
270 String msg = getPukPasswordErrorMessage(remaining);
H A DKeyguardSecurityContainer.java226 private void showAlmostAtWipeDialog(int attempts, int remaining, int userType) { argument
231 attempts, remaining);
235 attempts, remaining);
239 attempts, remaining);
/frameworks/ex/variablespeed/jni/
H A Dring_buffer.cc110 int remaining = num_frames - wrapped; local
112 num_channels_ * remaining * sizeof(destination[0]));
145 int remaining = num_frames - wrapped; local
147 num_channels_ * remaining * sizeof(source[0]));
/frameworks/av/media/libnbaio/
H A DNBLog.cpp182 // need = number of bytes remaining to write
299 size_t remaining = avail; // remaining = number of bytes left to read local
302 if (read > remaining) {
303 read = remaining;
310 if ((remaining -= read) > 0) {
312 memcpy(&copy[read], mShared->mBuffer, remaining);
313 read += remaining;
314 // remaining = 0 but not necessary
/frameworks/base/libs/androidfw/
H A DBackupData.cpp344 int remaining = m_dataEndPos - m_pos; local
345 //ALOGD("ReadEntityData size=%d m_pos=0x%x m_dataEndPos=0x%x remaining=%d\n",
346 // size, m_pos, m_dataEndPos, remaining);
347 if (remaining <= 0) {
350 if (((int)size) > remaining) {
351 size = remaining;
/frameworks/base/telecomm/java/android/telecom/
H A DConnectionServiceAdapter.java220 void onPostDialWait(String callId, String remaining) { argument
223 adapter.onPostDialWait(callId, remaining);
H A DPhone.java139 final void internalSetPostDialWait(String telecomId, String remaining) { argument
142 call.internalSetPostDialWait(remaining);
H A DInCallService.java82 String remaining = (String) args.arg2;
83 mPhone.internalSetPostDialWait(callId, remaining);
122 public void setPostDial(String callId, String remaining) { argument
127 public void setPostDialWait(String callId, String remaining) { argument
130 args.arg2 = remaining;
H A DCall.java558 * Obtains the post-dial sequence remaining to be emitted by this {@code Call}, if any.
560 * @return The remaining post-dial sequence, or {@code null} if there is no post-dial sequence
561 * remaining or this {@code Call} is not in a post-dial state.
915 final void internalSetPostDialWait(String remaining) { argument
916 mRemainingPostDialSequence = remaining;
/frameworks/native/opengl/tools/glgen/src/
H A DJniCodeEmitter.java186 out.println(iii + indent + argName + ".remaining()");
205 String offset, String remaining, String iii) {
211 out.println(iii + "if (" + remaining + " < _needed) {");
217 (isBuffer ? "remaining()" : "length - " + offset) +
352 boolean isBuffer, boolean emitExceptionCheck, String offset, String remaining, String iii) {
364 offset, remaining, iii);
371 out.println(iii + "if (" + remaining + " < " + checks[index + 2] + ") {");
390 (isBuffer ? "remaining()" : "length - " +
430 boolean isBuffer, boolean emitExceptionCheck, String offset, String remaining, String iii) {
444 out.println(iii + "for (int i = " + remaining
204 printIfcheckPostamble(PrintStream out, boolean isBuffer, boolean emitExceptionCheck, String offset, String remaining, String iii) argument
351 emitNativeBoundsChecks(CFunc cfunc, String cname, PrintStream out, boolean isBuffer, boolean emitExceptionCheck, String offset, String remaining, String iii) argument
429 emitSentinelCheck(CFunc cfunc, String cname, PrintStream out, boolean isBuffer, boolean emitExceptionCheck, String offset, String remaining, String iii) argument
[all...]
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A Dcommon.cpp77 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
87 *remaining = (limit - position) << elementSizeShift;
283 _exceptionMessage = "remaining() < needed";
/frameworks/av/media/libstagefright/rtsp/
H A DARTPWriter.cpp689 size_t remaining = size - offset; local
690 bool lastPacket = (remaining + 14 <= buffer->capacity());
692 remaining = buffer->capacity() - 14;
712 memcpy(&data[14], &mediaData[offset], remaining);
713 offset += remaining;
715 buffer->setRange(0, remaining + 14);
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES10Ext.cpp99 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
109 *remaining = (limit - position) << elementSizeShift;
305 _exceptionMessage = "remaining() < needed";
429 _exceptionMessage = "remaining() < 16 < needed";
436 _exceptionMessage = "remaining() < 16 < needed";
H A Dandroid_opengl_GLES11.cpp99 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
109 *remaining = (limit - position) << elementSizeShift;
305 _exceptionMessage = "remaining() < needed";
354 _exceptionMessage = "remaining() < size < needed";
394 _exceptionMessage = "remaining() < size < needed";
650 _exceptionMessage = "remaining() < n < needed";
754 _exceptionMessage = "remaining() < n < needed";
854 _exceptionMessage = "remaining() < 1 < needed";
941 _exceptionMessage = "remaining() < 4 < needed";
1027 _exceptionMessage = "remaining() <
2503 android_glPointSizePointerOESBounds__IILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint type, jint stride, jobject pointer_buf, jint remaining) argument
[all...]
H A Dandroid_opengl_GLES31.cpp97 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
107 *remaining = (limit - position) << elementSizeShift;
303 _exceptionMessage = "remaining() < needed";
H A Dandroid_opengl_GLES31Ext.cpp98 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
108 *remaining = (limit - position) << elementSizeShift;
304 _exceptionMessage = "remaining() < needed";
/frameworks/native/opengl/tools/glgen/stubs/jsr239/
H A DGLCHeader.cpp116 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
126 *remaining = (limit - position) << elementSizeShift;
179 jint remaining; local
181 buf = getPointer(_env, buffer, &array, &remaining, &offset);
/frameworks/av/media/libmedia/
H A DAudioTrackShared.cpp181 struct timespec remaining; local
204 remaining.tv_sec = requested->tv_sec - total.tv_sec;
205 if ((remaining.tv_nsec = requested->tv_nsec - total.tv_nsec) < 0) {
206 remaining.tv_nsec += 1000000000;
207 remaining.tv_sec++;
209 if (0 < MAX_SEC && MAX_SEC < remaining.tv_sec) {
210 remaining.tv_sec = MAX_SEC;
211 remaining.tv_nsec = 0;
213 ts = &remaining;
418 struct timespec remaining; local
[all...]
/frameworks/av/media/mtp/
H A DMtpDevice.cpp469 int remaining = info->mCompressedSize; local
474 writeDataHeader(MTP_OPERATION_SEND_OBJECT, remaining);
477 while (remaining > 0) {
482 remaining -= count;
489 return (remaining == 0 && ret == MTP_RESPONSE_OK);
602 uint32_t remaining = length; local
611 remaining -= initialDataLength;
625 while (remaining > 0 || writeBuffer) {
626 if (remaining > 0) {
628 req->buffer_length = (remaining > sizeo
703 uint32_t remaining = length; local
[all...]
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp756 getPointer(JNIEnv *_env, jobject buffer, jint *remaining) argument
768 *remaining = (limit - position) << elementSizeShift;
803 inline jint remaining() { function in class:android::BufferHelper
836 if (inB.remaining() < ETC1_DECODED_BLOCK_SIZE) {
837 doThrowIAE(env, "in's remaining data < DECODED_BLOCK_SIZE");
838 } else if (outB.remaining() < ETC1_ENCODED_BLOCK_SIZE) {
839 doThrowIAE(env, "out's remaining data < ENCODED_BLOCK_SIZE");
861 if (inB.remaining() < ETC1_ENCODED_BLOCK_SIZE) {
862 doThrowIAE(env, "in's remaining data < ENCODED_BLOCK_SIZE");
863 } else if (outB.remaining() < ETC1_DECODED_BLOCK_SIZ
[all...]

Completed in 3528 milliseconds

12