/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/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | PixelUtils.java | 51 if (input.remaining() != output.remaining()) { 53 } else if (input.remaining() % 4 != 0) { 55 } else if (output.remaining() % 4 != 0) { 57 } else if ((width * height * 4) != input.remaining()) { 60 } else if ((width * height * 4) != output.remaining()) {
|
H A D | ColorSpace.java | 106 if (input.remaining() < expectedSize) { 108 + "and height! Expected: " + expectedSize + ", Got: " + input.remaining() 114 if (output.remaining() < expectedSize) { 116 + "and height! Expected: " + expectedSize + ", Got: " + output.remaining()
|
/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/base/telecomm/java/com/android/internal/telecom/ |
H A D | IInCallService.aidl | 39 void setPostDial(String callId, String remaining); 41 void setPostDialWait(String callId, String 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);
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
H A D | IFingerprintDaemonCallback.aidl | 23 void onEnrollResult(long deviceId, int fingerId, int groupId, int remaining);
|
H A D | IFingerprintServiceReceiver.aidl | 27 void onEnrollResult(long deviceId, int fingerId, int groupId, int remaining);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
H A D | CapabilityListElement.java | 16 if ((payload.remaining() & 1) == 1) 18 mCapabilities = new Constants.ANQPElementType[payload.remaining() / Constants.BYTES_IN_SHORT];
|
H A D | I18Name.java | 21 if (payload.remaining() < 4) { 22 throw new ProtocolException("Truncated I18Name: " + payload.remaining());
|
H A D | IPAddressTypeAvailabilityElement.java | 24 if (payload.remaining() != 1) 26 payload.remaining());
|
H A D | GenericBlobElement.java | 15 mData = new byte[payload.remaining()];
|
H A D | GenericStringElement.java | 15 mText = Constants.getString(payload, payload.remaining(), StandardCharsets.UTF_8);
|
H A D | HSConnectionCapabilityElement.java | 26 if (payload.remaining() < 4) { 27 throw new ProtocolException("Runt protocol tuple: " + payload.remaining());
|
H A D | HSIconFileElement.java | 27 if (payload.remaining() < 4) { 28 throw new ProtocolException("Truncated icon file: " + payload.remaining());
|
H A D | HSWanMetricsElement.java | 32 if (payload.remaining() != 13) { 33 throw new ProtocolException("Bad WAN metrics length: " + payload.remaining());
|
H A D | NAIRealmData.java | 24 if (payload.remaining() < 5) { 25 throw new ProtocolException("Runt payload: " + payload.remaining()); 29 if (length > payload.remaining()) {
|
/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/libstagefright/ |
H A D | CallbackDataSource.cpp | 123 const ssize_t remaining = mCachedOffset + mCachedSize - offset; local 124 memcpy(data, &mCache[offset - mCachedOffset], remaining); 125 const ssize_t readMore = readAt(offset + remaining, 126 (uint8_t*)data + remaining, size - remaining); 130 return remaining + readMore;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ByteBufferInputStream.java | 44 len = Math.min(len, mBuf.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/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
H A D | BluetoothPacketEncoder.java | 107 int remaining = (hasSysExEnd ? count - 1 : count); 109 while (remaining > 0) { 118 if (copy > remaining) copy = remaining; 122 remaining -= copy;
|
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
H A D | Transport.java | 331 int remaining; 334 remaining = position - next; 335 if (remaining < length) { 345 if (remaining < length) { 363 if (remaining == 0) { 368 System.arraycopy(oldBuffer.array(), next, buffer.array(), 0, remaining); 369 buffer.position(remaining);
|
/frameworks/base/core/java/android/net/netlink/ |
H A D | StructNlAttr.java | 44 if (byteBuffer == null || byteBuffer.remaining() < NLA_HEADERLEN) { 64 if (struct == null || byteBuffer.remaining() < struct.getAlignedLength()) { 103 if (byteBuffer == null || byteBuffer.remaining() != SizeOf.INT) {
|