Home
last modified time | relevance | path

Searched refs:remaining (Results 1 – 25 of 184) 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 …]
DTextDescriptions2.cpp100 size_t remaining = chunkSize - 8; in extract3GPPLocalDescriptions() local
109 if (remaining < 8) { in extract3GPPLocalDescriptions()
119 remaining -= 8; in extract3GPPLocalDescriptions()
146 size_t remaining = size - 8; in extract3GPPGlobalDescriptions() local
154 if (remaining < 18) { in extract3GPPGlobalDescriptions()
159 remaining -= 18; in extract3GPPGlobalDescriptions()
161 if (remaining < 8) { in extract3GPPGlobalDescriptions()
171 remaining -= 18; in extract3GPPGlobalDescriptions()
/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/base/services/core/jni/
Dcom_android_server_am_BatteryStatsService.cpp420 int remaining = (int)env->GetDirectBufferCapacity(outBuf); in getPowerStatsHalPlatformData() local
426 [&offset, &remaining, &total_added](auto results, auto status) { in getPowerStatsHalPlatformData()
438 int added = snprintf(offset, remaining, in getPowerStatsHalPlatformData()
447 if (added > remaining) { in getPowerStatsHalPlatformData()
448 added = remaining; in getPowerStatsHalPlatformData()
451 remaining -= added; in getPowerStatsHalPlatformData()
454 if (remaining <= 0) { in getPowerStatsHalPlatformData()
483 int remaining = (int)env->GetDirectBufferCapacity(outBuf); in getPowerStatsHalSubsystemData() local
489 [&offset, &remaining, &total_added](auto results, auto status) { in getPowerStatsHalSubsystemData()
495 int added = snprintf(offset, remaining, "SubsystemPowerState "); in getPowerStatsHalSubsystemData()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DUtf8.java219 final ByteBuffer buffer, final int byte1, final int index, final int remaining) { in incompleteStateFor() argument
220 switch (remaining) { in incompleteStateFor()
318 return processor.isValidUtf8(buffer, buffer.position(), buffer.remaining()); in isValidUtf8()
666 Utf8.encode(in, out.array(), offset + out.position(), out.remaining()); in encodeUtf8()
1324 int remaining = maxChars; in unsafeEstimateConsecutiveAscii() local
1325 if (remaining < UNSAFE_COUNT_ASCII_THRESHOLD) { in unsafeEstimateConsecutiveAscii()
1345 remaining -= unaligned; in unsafeEstimateConsecutiveAscii()
1346 for (; remaining >= 8 && (UnsafeUtil.getLong(bytes, offset) & ASCII_MASK_LONG) == 0; in unsafeEstimateConsecutiveAscii()
1347 offset += 8, remaining -= 8) {} in unsafeEstimateConsecutiveAscii()
1348 return maxChars - remaining; in unsafeEstimateConsecutiveAscii()
[all …]
DByteBufferWriter.java95 output.write(buffer.array(), buffer.arrayOffset() + buffer.position(), buffer.remaining()); in write()
102 final byte[] array = getOrCreateBuffer(buffer.remaining()); in write()
104 int length = min(buffer.remaining(), array.length); in write()
/frameworks/base/services/core/java/com/android/server/biometrics/
DEnrollClient.java62 int remaining) { in onEnrollResult() argument
63 if (remaining == 0) { in onEnrollResult()
70 return sendEnrollResult(identifier, remaining); in onEnrollResult()
77 int remaining) { in sendEnrollResult() argument
85 listener.onEnrollResult(identifier, remaining); in sendEnrollResult()
87 return remaining == 0; in sendEnrollResult()
140 public boolean onRemoved(BiometricAuthenticator.Identifier identifier, int remaining) { in onRemoved() argument
147 int remaining) { in onEnumerationResult() argument
DRemovalClient.java100 int remaining) { in sendRemoved() argument
103 getListener().onRemoved(identifier, remaining); in sendRemoved()
108 return remaining == 0; in sendRemoved()
112 public boolean onRemoved(BiometricAuthenticator.Identifier identifier, int remaining) { in onRemoved() argument
117 return sendRemoved(identifier, remaining); in onRemoved()
135 int remaining) { in onEnumerationResult() argument
DEnumerateClient.java99 int remaining) { in onEnumerationResult() argument
102 getListener().onEnumerated(identifier, remaining); in onEnumerationResult()
107 return remaining == 0; in onEnumerationResult()
124 public boolean onRemoved(BiometricAuthenticator.Identifier identifier, int remaining) { in onRemoved() argument
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableArray.java75 int remaining = buffer.remaining(); in unmarshal() local
76 int arraySize = remaining / elementSize; in unmarshal()
78 if (remaining % elementSize != 0) { in unmarshal()
81 + "; but there are " + (remaining % elementSize) + " left over bytes"); in unmarshal()
88 arraySize, elementSize, remaining, mClass)); in unmarshal()
110 if (buffer.remaining() != 0) { in unmarshal()
111 Log.e(TAG, "Trailing bytes (" + buffer.remaining() + ") left over after unpacking " in unmarshal()
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/core/java/android/hardware/fingerprint/
DIFingerprintServiceReceiver.aidl25 void onEnrollResult(long deviceId, int fingerId, int groupId, int remaining); in onEnrollResult() argument
30 void onRemoved(long deviceId, int fingerId, int groupId, int remaining); in onRemoved() argument
31 void onEnumerated(long deviceId, int fingerId, int groupId, int remaining); in onEnumerated() argument
/frameworks/base/core/java/android/hardware/face/
DIFaceServiceReceiver.aidl25 void onEnrollResult(long deviceId, int faceId, int remaining); in onEnrollResult() argument
30 void onRemoved(long deviceId, int faceId, int remaining); in onRemoved() argument
31 void onEnumerated(long deviceId, int faceId, int remaining); in onEnumerated() argument
/frameworks/av/media/libstagefright/
DCallbackDataSource.cpp146 const ssize_t remaining = mCachedOffset + mCachedSize - offset; in readAt() local
147 memcpy(data, &mCache[offset - mCachedOffset], remaining); in readAt()
148 const ssize_t readMore = readAt(offset + remaining, in readAt()
149 (uint8_t*)data + remaining, size - remaining); in readAt()
153 return remaining + readMore; in readAt()
/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/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DByteBufferWriterTest.java60 ByteArrayOutputStream os = new ByteArrayOutputStream(buffer.remaining()); in testWrite()
67 byte[] bytes = new byte[buf.remaining()]; in fillRandom()
76 byte[] bytes = new byte[buf.remaining()]; in toArray()
/frameworks/base/libs/hwui/
DProfileData.cpp124 int remaining = mTotalFrameCount - pos; in findPercentile() local
126 remaining -= mSlowFrameCounts[i]; in findPercentile()
127 if (remaining <= 0) { in findPercentile()
132 remaining -= mFrameCounts[i]; in findPercentile()
133 if (remaining <= 0) { in findPercentile()
/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/opengl/java/com/google/android/gles_jni/
DGLImpl.java203 int remaining in glColorPointerBounds() argument
217 pointer.remaining() in glColorPointer()
776 int remaining in glNormalPointerBounds() argument
788 pointer.remaining() in glNormalPointer()
968 int remaining in glTexCoordPointerBounds() argument
982 pointer.remaining() in glTexCoordPointer()
1113 int remaining in glVertexPointerBounds() argument
1127 pointer.remaining() in glVertexPointer()
1599 int remaining in glPointSizePointerOESBounds() argument
1611 pointer.remaining() in glPointSizePointerOES()
[all …]
/frameworks/base/telecomm/java/com/android/internal/telecom/
DIInCallService.aidl40 void setPostDial(String callId, String remaining); in setPostDial() argument
42 void setPostDialWait(String callId, String remaining); in setPostDialWait() argument
/frameworks/opt/net/ike/src/java/com/android/ike/ikev2/message/
DIkeDeletePayload.java68 || inputBuffer.remaining() != 0) { in IkeDeletePayload()
76 || inputBuffer.remaining() != SPI_LEN_IPSEC * numSpi) { in IkeDeletePayload()

12345678