Home
last modified time | relevance | path

Searched refs:remaining (Results 1 – 25 of 176) sorted by relevance

12345678

/frameworks/av/media/libstagefright/timedtext/
DTextDescriptions.cpp111 size_t remaining = chunkSize - 8; in extract3GPPLocalDescriptions() local
119 if (remaining < 2) { in extract3GPPLocalDescriptions()
126 remaining -= 2; in extract3GPPLocalDescriptions()
129 if (remaining < 12) { in extract3GPPLocalDescriptions()
156 remaining -= 12; in extract3GPPLocalDescriptions()
166 if (remaining < 6) { in extract3GPPLocalDescriptions()
178 remaining -= 6; in extract3GPPLocalDescriptions()
182 if (remaining < 8) { in extract3GPPLocalDescriptions()
196 remaining -= 8; in extract3GPPLocalDescriptions()
204 if (remaining < 4) { in extract3GPPLocalDescriptions()
[all …]
/frameworks/av/media/img_utils/src/
DInput.cpp32 size_t remaining = count; in skip() local
33 while (remaining > 0) { in skip()
34 size_t amt = (SKIP_BUF_SIZE > remaining) ? remaining : SKIP_BUF_SIZE; in skip()
39 if (remaining == count) { in skip()
44 return count - remaining; in skip()
50 remaining -= ret; in skip()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DPixelUtils.java51 if (input.remaining() != output.remaining()) { in copyPixels()
53 } else if (input.remaining() % 4 != 0) { in copyPixels()
55 } else if (output.remaining() % 4 != 0) { in copyPixels()
57 } else if ((width * height * 4) != input.remaining()) { in copyPixels()
60 } else if ((width * height * 4) != output.remaining()) { in copyPixels()
DColorSpace.java106 if (input.remaining() < expectedSize) { in expectInputSize()
108 + "and height! Expected: " + expectedSize + ", Got: " + input.remaining() in expectInputSize()
114 if (output.remaining() < expectedSize) { in expectOutputSize()
116 + "and height! Expected: " + expectedSize + ", Got: " + output.remaining() in expectOutputSize()
/frameworks/av/media/libstagefright/timedtext/test/
DTimedTextUnitTest.cpp171 int32_t remaining = mFileSize; in TEST_P() local
177 remaining -= 16; in TEST_P()
190 remaining -= 10; in TEST_P()
192 if (remaining >= 8) { in TEST_P()
203 remaining -= 8; in TEST_P()
205 if (remaining >= 12) { in TEST_P()
221 remaining -= 12; in TEST_P()
223 if (remaining >= 10) { in TEST_P()
229 remaining -= 10; in TEST_P()
232 if (remaining < 3) break; in TEST_P()
[all …]
/frameworks/base/libs/hwui/
DProfileData.cpp144 int remaining = mTotalFrameCount - pos; in findPercentile() local
146 remaining -= mSlowFrameCounts[i]; in findPercentile()
147 if (remaining <= 0) { in findPercentile()
152 remaining -= mFrameCounts[i]; in findPercentile()
153 if (remaining <= 0) { in findPercentile()
199 int remaining = totalGPUFrameCount - pos; in findGPUPercentile() local
201 remaining -= mGPUFrameCounts[i]; in findGPUPercentile()
202 if (remaining <= 0) { in findGPUPercentile()
/frameworks/av/media/libstagefright/
DCallbackDataSource.cpp143 const ssize_t remaining = mCachedOffset + mCachedSize - offset; in readAt() local
144 memcpy(data, &mCache[offset - mCachedOffset], remaining); in readAt()
145 const ssize_t readMore = readAt(offset + remaining, in readAt()
146 (uint8_t*)data + remaining, size - remaining); in readAt()
150 return remaining + readMore; in readAt()
/frameworks/base/cmds/idmap2/libidmap2_policies/include/idmap2/
DPolicies.h60 uint32_t remaining = policies; in PoliciesToDebugString() local
69 remaining &= ~policy.second; in PoliciesToDebugString()
71 if (remaining != 0) { in PoliciesToDebugString()
75 str.append(StringPrintf("0x%08x", remaining)); in PoliciesToDebugString()
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableArray.java134 int remaining = buffer.remaining();
135 int arraySize = remaining / elementSize;
137 if (remaining % elementSize != 0) {
140 + "; but there are " + (remaining % elementSize) + " left over bytes");
147 arraySize, elementSize, remaining, mClass));
175 if (buffer.remaining() != 0) {
176 Log.e(TAG, "Trailing bytes (" + buffer.remaining() + ") left over after unpacking "
DMarshalQueryableParcelable.java104 Log.v(TAG, "unmarshal, buffer remaining " + buffer.remaining()); in unmarshal()
126 int maxLength = buffer.remaining(); in unmarshal()
128 byte[] remaining = new byte[maxLength]; in unmarshal()
129 buffer.get(remaining); in unmarshal()
131 parcel.unmarshall(remaining, /*offset*/0, maxLength); in unmarshal()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DClientMonitorCallbackConverter.java117 void onEnrollResult(BiometricAuthenticator.Identifier identifier, int remaining) in onEnrollResult() argument
120 mFaceServiceReceiver.onEnrollResult((Face) identifier, remaining); in onEnrollResult() local
122 mFingerprintServiceReceiver.onEnrollResult((Fingerprint) identifier, remaining); in onEnrollResult() local
126 void onRemoved(BiometricAuthenticator.Identifier identifier, int remaining) in onRemoved() argument
129 mFaceServiceReceiver.onRemoved((Face) identifier, remaining); in onRemoved() local
131 mFingerprintServiceReceiver.onRemoved((Fingerprint) identifier, remaining); in onRemoved() local
DRemovalClient.java68 public void onRemoved(@NonNull BiometricAuthenticator.Identifier identifier, int remaining) { in onRemoved() argument
69 Slog.d(TAG, "onRemoved: " + identifier.getBiometricId() + " remaining: " + remaining); in onRemoved()
75 getListener().onRemoved(identifier, remaining); in onRemoved()
81 if (remaining == 0) { in onRemoved()
DInternalCleanupClient.java159 public void onRemoved(BiometricAuthenticator.Identifier identifier, int remaining) { in onRemoved() argument
165 ((RemovalClient<S, T>) mCurrentTask).onRemoved(identifier, remaining); in onRemoved()
170 int remaining) { in onEnumerationResult() argument
176 Slog.d(TAG, "onEnumerated, remaining: " + remaining); in onEnumerationResult()
177 ((EnumerateConsumer) mCurrentTask).onEnumerationResult(identifier, remaining); in onEnumerationResult()
DEnrollClient.java61 public void onEnrollResult(BiometricAuthenticator.Identifier identifier, int remaining) { in onEnrollResult() argument
69 listener.onEnrollResult(identifier, remaining); in onEnrollResult()
75 if (remaining == 0) { in onEnrollResult()
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
DBluetoothPacketEncoder.java112 int remaining = (hasSysExEnd ? count - 1 : count);
114 while (remaining > 0) {
123 if (copy > remaining) copy = remaining;
127 remaining -= copy;
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
DTransport.java331 int remaining; in loop() local
334 remaining = position - next; in loop()
335 if (remaining < length) { in loop()
345 if (remaining < length) { in loop()
363 if (remaining == 0) { in loop()
368 System.arraycopy(oldBuffer.array(), next, buffer.array(), 0, remaining); in loop() local
369 buffer.position(remaining); in loop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsEnrollHelper.java51 void onEnrollmentProgress(int remaining, int totalSteps); in onEnrollmentProgress() argument
124 void onEnrollmentProgress(int remaining) { in onEnrollmentProgress() argument
126 mTotalSteps = remaining; in onEnrollmentProgress()
129 if (remaining != mRemainingSteps) { in onEnrollmentProgress()
133 mRemainingSteps = remaining; in onEnrollmentProgress()
136 mListener.onEnrollmentProgress(remaining, mTotalSteps); in onEnrollmentProgress()
/frameworks/av/media/img_utils/include/img_utils/
DTiffHelpers.h38 size_t remaining = BYTES_TILL_WORD(index); \
39 if (remaining > 0) { \
40 BAIL_ON_FAIL((output)->write(ZERO_WORD, 0, remaining), ret); \
/frameworks/base/services/net/java/android/net/util/
DNetdService.java89 final long remaining = stop - SystemClock.elapsedRealtime(); in get() local
90 if (remaining <= 0) break; in get()
94 timeoutMs = Math.min(timeoutMs, remaining); in get()
/frameworks/base/core/java/android/hardware/fingerprint/
DIFingerprintServiceReceiver.aidl25 void onEnrollResult(in Fingerprint fp, int remaining); in onEnrollResult() argument
31 void onRemoved(in Fingerprint fp, int remaining); in onRemoved() argument
DFingerprintServiceReceiver.java27 public void onEnrollResult(Fingerprint fp, int remaining) throws RemoteException { in onEnrollResult() argument
59 public void onRemoved(Fingerprint fp, int remaining) throws RemoteException { in onRemoved() argument
/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DRenderPatch.java126 …if (mVertexBuffer.remaining() != 0 || mTextureBuffer.remaining() != 0 || mIndexBuffer.remaining() … in RenderPatch()
/frameworks/base/opengl/java/com/google/android/gles_jni/
DGLImpl.java206 int remaining in glColorPointerBounds() argument
220 pointer.remaining() in glColorPointer()
779 int remaining in glNormalPointerBounds() argument
791 pointer.remaining() in glNormalPointer()
971 int remaining in glTexCoordPointerBounds() argument
985 pointer.remaining() in glTexCoordPointer()
1116 int remaining in glVertexPointerBounds() argument
1130 pointer.remaining() in glVertexPointer()
1602 int remaining in glPointSizePointerOESBounds() argument
1614 pointer.remaining() in glPointSizePointerOES()
[all …]
/frameworks/base/core/java/android/hardware/face/
DIFaceServiceReceiver.aidl27 void onEnrollResult(in Face face, int remaining); in onEnrollResult() argument
33 void onRemoved(in Face face, int remaining); in onRemoved() argument
DFaceServiceReceiver.java27 public void onEnrollResult(Face face, int remaining) throws RemoteException { in onEnrollResult() argument
59 public void onRemoved(Face face, int remaining) throws RemoteException { in onRemoved() argument

12345678