/frameworks/av/media/img_utils/include/img_utils/ |
H A 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/av/media/img_utils/src/ |
H A D | Input.cpp | 32 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/av/media/libaudioclient/ |
H A D | AudioRecord.cpp | 310 // force refresh of remaining frames by processAudioBuffer() as last 1044 uint32_t remaining = (newPosition - position).value(); local 1045 if (remaining < minFrames) { 1046 minFrames = remaining; 1148 // There could be enough non-contiguous frames available to satisfy the remaining request
|
H A D | AudioTrackShared.cpp | 234 struct timespec remaining; local 257 remaining.tv_sec = requested->tv_sec - total.tv_sec; 258 if ((remaining.tv_nsec = requested->tv_nsec - total.tv_nsec) < 0) { 259 remaining.tv_nsec += 1000000000; 260 remaining.tv_sec++; 262 if (0 < MAX_SEC && MAX_SEC < remaining.tv_sec) { 263 remaining.tv_sec = MAX_SEC; 264 remaining.tv_nsec = 0; 266 ts = &remaining; 456 struct timespec remaining; local [all...] |
/frameworks/av/media/libaudioprocessing/ |
H A D | BufferProviders.cpp | 529 ALOGV("processFrames(%zu %zu) remaining(%zu)", *dstFrames, *srcFrames, mRemaining); 553 size_t remaining = min(*srcFrames, *dstFrames - count); local 555 srcBuffer, mFrameSize * remaining);
|
/frameworks/av/media/libstagefright/ |
H A D | CallbackDataSource.cpp | 146 const ssize_t remaining = mCachedOffset + mCachedSize - offset; local 147 memcpy(data, &mCache[offset - mCachedOffset], remaining); 148 const ssize_t readMore = readAt(offset + remaining, 149 (uint8_t*)data + remaining, size - remaining); 153 return remaining + readMore;
|
H A D | Utils.cpp | 526 size_t remaining = csd->size(); local 528 while (remaining >= 2) { 531 remaining -= 2; 533 if (length > remaining) { 590 remaining -= length;
|
/frameworks/av/media/libstagefright/codec2/include/ |
H A D | C2Buffer.h | 439 * \param size the size of the portion. \note This is clamped to the remaining data from offset. 506 * \param size the size of the portion. \note This is clamped to the remaining data from offset. 1697 uint32_t remaining() const; // remaining data to be read
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTPWriter.cpp | 689 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/av/media/libstagefright/timedtext/ |
H A D | TextDescriptions.cpp | 111 size_t remaining = chunkSize - 8; local 119 if (remaining < 2) { 126 remaining -= 2; 129 if (remaining < 12) { 156 remaining -= 12; 166 if (remaining < 6) { 178 remaining -= 6; 182 if (remaining < 8) { 196 remaining -= 8; 204 if (remaining < 384 size_t remaining = size - 8; local [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpDevice.cpp | 776 const size_t remaining = length - nextOffset; local 778 req->buffer_length = remaining > MTP_BUFFER_SIZE ? 779 static_cast<size_t>(MTP_BUFFER_SIZE) : remaining;
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothSocket.java | 505 if (mL2capBuffer.remaining() == 0) { 511 if (bytesToRead > mL2capBuffer.remaining()) { 512 bytesToRead = mL2capBuffer.remaining(); 673 if(VDBG) Log.v(TAG, "mL2capBuffer.remaining()" + mL2capBuffer.remaining()); 675 if(VDBG) Log.v(TAG, "mL2capBuffer.remaining() after limit(0):" + 676 mL2capBuffer.remaining());
|
/frameworks/base/core/java/android/hardware/ |
H A D | SerialPort.java | 89 return native_read_direct(buffer, buffer.remaining()); 91 return native_read_array(buffer.array(), buffer.remaining());
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
H A D | MarshalQueryableArray.java | 75 int remaining = buffer.remaining(); 76 int arraySize = remaining / elementSize; 78 if (remaining % elementSize != 0) { 81 + "; but there are " + (remaining % elementSize) + " left over bytes"); 87 + "remaining = %d) for type %s", 88 arraySize, elementSize, remaining, mClass)); 110 if (buffer.remaining() != 0) { 111 Log.e(TAG, "Trailing bytes (" + buffer.remaining() + ") left over after unpacking "
|
H A D | MarshalQueryableParcelable.java | 104 Log.v(TAG, "unmarshal, buffer remaining " + buffer.remaining()); 126 int maxLength = buffer.remaining(); 128 byte[] remaining = new byte[maxLength]; 129 buffer.get(remaining); 131 parcel.unmarshall(remaining, /*offset*/0, maxLength);
|
H A D | MarshalQueryableReprocessFormatsMap.java | 73 int len = buffer.remaining() / SIZEOF_INT32; 74 if (buffer.remaining() % SIZEOF_INT32 != 0) {
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
H A D | FingerprintManager.java | 88 * because there's not enough storage remaining to complete the operation. 390 * remaining reaches 0. This function will not be called if enrollment fails. See 392 * @param remaining The number of remaining steps 394 public void onEnrollmentProgress(int remaining) { } argument 417 * @param remaining The number of fingerprints yet to be removed in this operation. If 419 * {@link #remove} is called on a group, this should be the number of remaining 422 public void onRemovalSucceeded(Fingerprint fp, int remaining) { } argument 540 * {@link EnrollmentCallback#onEnrollmentProgress(int) is called with remaining == 0, at 865 sendEnrollResult((Fingerprint) msg.obj, msg.arg1 /* remaining */); 891 sendRemovedResult(Fingerprint fingerprint, int remaining) argument 941 sendEnrollResult(Fingerprint fp, int remaining) argument [all...] |
H A D | IFingerprintServiceReceiver.aidl | 27 void onEnrollResult(long deviceId, int fingerId, int groupId, int remaining); 32 void onRemoved(long deviceId, int fingerId, int groupId, int remaining); 33 void onEnumerated(long deviceId, int fingerId, int groupId, int remaining);
|
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbRequest.java | 213 * <p>For OUT endpoints, the remaining bytes of the buffer will be sent on the endpoint. For IN 214 * endpoints, the endpoint will attempt to fill the remaining bytes of the buffer. If the 245 Preconditions.checkArgumentInRange(buffer.remaining(), 0, MAX_USBFS_BUFFER_SIZE, 246 "number of remaining bytes"); 253 mTempBuffer = ByteBuffer.allocateDirect(mBuffer.remaining()); 268 wasQueued = native_queue(buffer, buffer.position(), buffer.remaining());
|
/frameworks/base/core/java/android/nfc/ |
H A D | NdefMessage.java | 100 if (buffer.remaining() > 0) {
|
H A D | NdefRecord.java | 52 * remaining fields are variable length and not always present: 593 if (buffer.remaining() > 0) {
|
/frameworks/base/core/java/android/provider/ |
H A D | FontsContract.java | 377 long remaining = TimeUnit.MILLISECONDS.toNanos(SYNC_FONT_FETCH_TIMEOUT_MS); 385 remaining = cond.awaitNanos(remaining); 392 if (remaining <= 0) {
|
/frameworks/base/core/java/android/text/ |
H A D | TextUtils.java | 1188 int remaining = len - (right - left); 1190 if (remaining > 0) { // else eliminate the ellipsis too 1205 if (remaining == 0) { 1210 StringBuilder sb = new StringBuilder(remaining + ellipsis.length()); 1357 int remaining = commaCount + 1; 1376 if (--remaining == 1) { 1379 format = " " + String.format(more, remaining);
|
/frameworks/base/core/java/android/text/format/ |
H A D | TimeFormatter.java | 134 while (formatBuffer.remaining() > 0) { 152 while (formatBuffer.remaining() > 1) {
|
/frameworks/base/core/java/android/util/apk/ |
H A D | ApkSignatureSchemeV2Verifier.java | 268 if (signature.remaining() < 8) { 332 if (digest.remaining() < 8) { 817 if (source.remaining() < 4) { 820 + " Remaining: " + source.remaining()); 825 } else if (len > source.remaining()) { 826 throw new IOException("Length-prefixed field longer than remaining buffer." 827 + " Field length: " + len + ", remaining: " + source.remaining()); 836 } else if (len > buf.remaining()) { 838 + ", available: " + buf.remaining()); [all...] |