/frameworks/av/media/libstagefright/timedtext/ |
D | TextDescriptions.cpp | 111 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/native/libs/binder/ |
D | file.cpp | 31 size_t remaining = byte_count; in ReadFully() local 32 while (remaining > 0) { in ReadFully() 33 ssize_t n = TEMP_FAILURE_RETRY(read(fd.get(), p, remaining)); in ReadFully() 40 remaining -= n; in ReadFully() 47 size_t remaining = byte_count; in WriteFully() local 48 while (remaining > 0) { in WriteFully() 49 ssize_t n = TEMP_FAILURE_RETRY(write(fd.get(), p, remaining)); in WriteFully() 52 remaining -= n; in WriteFully()
|
/frameworks/av/media/img_utils/src/ |
D | Input.cpp | 32 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/ |
D | PixelUtils.java | 51 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()
|
D | ColorSpace.java | 106 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/java/com/android/server/biometrics/sensors/fingerprint/hidl/ |
D | HidlToAidlCallbackConverter.java | 41 public void onEnrollResult(long deviceId, int fingerId, int groupId, int remaining) { in onEnrollResult() argument 42 mAidlResponseHandler.onEnrollmentProgress(fingerId, remaining); in onEnrollResult() 76 public void onRemoved(long deviceId, int fingerId, int groupId, int remaining) { in onRemoved() argument 77 mAidlResponseHandler.onEnrollmentRemoved(fingerId, remaining); in onRemoved() 81 public void onEnumerate(long deviceId, int fingerId, int groupId, int remaining) { in onEnumerate() argument 82 mAidlResponseHandler.onEnrollmentEnumerated(fingerId, remaining); in onEnumerate()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/ |
D | Randomness.kt | 26 private val remaining = items.copyOf() constant 27 private var next = remaining.size // will cause a shuffle on first pull() 31 if (next >= remaining.size) { in pull() 32 remaining.shuffle(rng) in pull() 35 return remaining[next++] in pull()
|
/frameworks/av/media/libstagefright/timedtext/test/ |
D | TimedTextUnitTest.cpp | 172 int32_t remaining = mFileSize; in TEST_P() local 178 remaining -= 16; in TEST_P() 191 remaining -= 10; in TEST_P() 193 if (remaining >= 8) { in TEST_P() 204 remaining -= 8; in TEST_P() 206 if (remaining >= 12) { in TEST_P() 222 remaining -= 12; in TEST_P() 224 if (remaining >= 10) { in TEST_P() 230 remaining -= 10; in TEST_P() 233 if (remaining < 3) break; in TEST_P() [all …]
|
/frameworks/minikin/fuzz/measurement_fuzzer/ |
D | measurement_fuzzer.cpp | 30 int remaining = fdp.remaining_bytes(); in LLVMFuzzerTestOneInput() local 31 int limit = (int)((remaining - 3 * sizeof_size) / sizeof_uint16); in LLVMFuzzerTestOneInput() 40 remaining = fdp.remaining_bytes(); in LLVMFuzzerTestOneInput() 41 if (remaining / sizeof_float < count) return 0; in LLVMFuzzerTestOneInput()
|
/frameworks/av/media/libstagefright/ |
D | CallbackDataSource.cpp | 143 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/ |
D | Policies.h | 60 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/libs/hwui/ |
D | ProfileData.cpp | 147 int remaining = mTotalFrameCount - pos; in findPercentile() local 149 remaining -= mSlowFrameCounts[i]; in findPercentile() 150 if (remaining <= 0) { in findPercentile() 155 remaining -= mFrameCounts[i]; in findPercentile() 156 if (remaining <= 0) { in findPercentile() 202 int remaining = totalGPUFrameCount - pos; in findGPUPercentile() local 204 remaining -= mGPUFrameCounts[i]; in findGPUPercentile() 205 if (remaining <= 0) { in findGPUPercentile()
|
/frameworks/base/libs/hwui/jni/ |
D | BufferUtils.cpp | 54 static void* getPointer(JNIEnv* env, jobject buffer, jarray* array, jint* remaining, jint* offset) { in getPointer() argument 61 *remaining = (limit - position) << elementSizeShift; in getPointer() 85 jint remaining; in setIndirectData() local 90 data = getPointer(env, data_buf, (jarray*)&array, &remaining, &bufferOffset); in setIndirectData() 91 if (remaining < size) { in setIndirectData()
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableArray.java | 134 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 "
|
D | MarshalQueryableParcelable.java | 104 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/ |
D | ClientMonitorCallbackConverter.java | 137 void onEnrollResult(BiometricAuthenticator.Identifier identifier, int remaining) in onEnrollResult() argument 140 mFaceServiceReceiver.onEnrollResult((Face) identifier, remaining); in onEnrollResult() local 142 mFingerprintServiceReceiver.onEnrollResult((Fingerprint) identifier, remaining); in onEnrollResult() local 147 public void onRemoved(BiometricAuthenticator.Identifier identifier, int remaining) in onRemoved() argument 150 mFaceServiceReceiver.onRemoved((Face) identifier, remaining); in onRemoved() local 152 mFingerprintServiceReceiver.onRemoved((Fingerprint) identifier, remaining); in onRemoved() local
|
D | RemovalClient.java | 72 public void onRemoved(@NonNull BiometricAuthenticator.Identifier identifier, int remaining) { in onRemoved() argument 87 Slog.d(TAG, "onRemoved: " + identifier.getBiometricId() + " remaining: " + remaining); in onRemoved() 92 getListener().onRemoved(identifier, remaining); in onRemoved() 97 if (remaining == 0) { in onRemoved()
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/ |
D | IBufferXferImpl.java | 91 if (cBuf.info.buf.remaining() >= pBuf.info.buf.remaining()) { in sendBuffer() 92 bytesRead = pBuf.info.buf.remaining(); in sendBuffer() 96 pBuf.info.buf.remaining() +" C:" + cBuf.info.buf.remaining()); in sendBuffer()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ui/viewmodel/ |
D | ScreenshotViewModelTest.kt | 60 val remaining = viewModel.actions.value[0] in testRemoveAction() constant 61 assertThat(remaining.appearance).isEqualTo(appearance) in testRemoveAction() 62 assertThat(remaining.showDuringEntrance).isFalse() in testRemoveAction() 63 assertThat(remaining.onClicked).isEqualTo(onclick) in testRemoveAction()
|
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
D | Transport.java | 331 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/av/media/img_utils/include/img_utils/ |
D | TiffHelpers.h | 38 size_t remaining = BYTES_TILL_WORD(index); \ 39 if (remaining > 0) { \ 40 BAIL_ON_FAIL((output)->write(ZERO_WORD, 0, remaining), ret); \
|
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
D | BluetoothPacketEncoder.java | 121 int remaining = (hasSysExEnd ? count - 1 : count); 123 while (remaining > 0) { 132 if (copy > remaining) copy = remaining; 136 remaining -= copy;
|
/frameworks/base/services/net/java/android/net/util/ |
D | NetdService.java | 89 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/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/ |
D | CredentialInteractor.kt | 105 var remaining = deadline - systemClock.elapsedRealtime() in isStealthModeActive() variable 106 while (remaining > 0) { in isStealthModeActive() 111 remaining / 1000 in isStealthModeActive() 116 remaining -= interval in isStealthModeActive() 187 remaining: Int, in Context() 190 remaining == 1 -> getLastAttemptBeforeWipeMessage(request, devicePolicyManager, userType) in Context() 191 remaining <= 0 -> getNowWipingMessage(devicePolicyManager, userType) in Context()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/ |
D | AidlResponseHandler.java | 153 public void onEnrollmentProgress(int enrollmentId, int remaining) { in onEnrollmentProgress() argument 166 c.onEnrollResult(fingerprint, remaining); in onEnrollmentProgress() 167 if (remaining == 0) { in onEnrollmentProgress() 236 public void onEnrollmentEnumerated(int enrollmentId, int remaining) { in onEnrollmentEnumerated() argument 238 handleResponse(EnumerateConsumer.class, (c) -> c.onEnumerationResult(fp, remaining)); in onEnrollmentEnumerated() 244 public void onEnrollmentRemoved(int enrollmentId, int remaining) { in onEnrollmentRemoved() argument 246 handleResponse(RemovalConsumer.class, (c) -> c.onRemoved(fp, remaining)); in onEnrollmentRemoved()
|