/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
D | ByteStream.java | 35 private final byte[] mBytes; // this is never null. field in ByteStream 65 mBytes = bytes; in ByteStream() 89 return mBytes[mIndex + 1]; in peekByte() 104 return mBytes[mIndex++]; in getByte() 118 return mBytes[mIndex++] & 0x000000FF; in getUnsignedByte() 190 if (longNewIndex <= (long) mBytes.length) { in advance() 195 mIndex = mBytes.length; in advance() 224 return mBytes.length - mIndex; in available()
|
/frameworks/base/services/core/java/com/android/server/integrity/parser/ |
D | RandomAccessObject.java | 95 private final ByteBuffer mBytes; field in RandomAccessObject.RandomAccessByteArrayObject 98 mBytes = ByteBuffer.wrap(bytes); in RandomAccessByteArrayObject() 103 mBytes.position(position); in seek() 108 if (!mBytes.hasRemaining()) { in read() 112 return mBytes.get() & 0xFF; in read() 117 int bytesToCopy = Math.min(len, mBytes.remaining()); in read() 121 mBytes.get(bytes, off, len); in read() 130 return mBytes.capacity(); in length()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | FastPrintWriter.java | 68 final private ByteBuffer mBytes; field in FastPrintWriter 129 mBytes = ByteBuffer.allocate(mBufferLen); in FastPrintWriter() 198 mBytes = null; in FastPrintWriter() 241 mBytes = null; in FastPrintWriter() 353 if ((position = mBytes.position()) > 0) { in flushBytesLocked() 354 mBytes.flip(); in flushBytesLocked() 355 mOutputStream.write(mBytes.array(), 0, position); in flushBytesLocked() 356 mBytes.clear(); in flushBytesLocked() 366 CoderResult result = mCharset.encode(charBuffer, mBytes, true); in flushLocked() 372 result = mCharset.encode(charBuffer, mBytes, true); in flushLocked()
|
/frameworks/native/libs/binder/tests/parcel_fuzzer/ |
D | random_binder.cpp | 29 mBytes(std::move(bytes)), in RandomBinder() 30 mProvider(mBytes.data(), mBytes.size()) {} in RandomBinder()
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | SpamActivity.java | 23 byte[] mBytes; field in SpamActivity 29 mBytes = new byte[8*1024*1024]; in onCreate()
|
/frameworks/libs/modules-utils/java/com/android/internal/util/ |
D | FastXmlSerializer.java | 66 private ByteBuffer mBytes; field in FastXmlSerializer 88 mBytes = ByteBuffer.allocate(mBufferLen); in FastXmlSerializer() 251 if ((position = mBytes.position()) > 0) { in flushBytes() 252 mBytes.flip(); in flushBytes() 253 mOutputStream.write(mBytes.array(), 0, position); in flushBytes() 254 mBytes.clear(); in flushBytes() 263 CoderResult result = mCharset.encode(charBuffer, mBytes, true); in flush() 269 result = mCharset.encode(charBuffer, mBytes, true); in flush()
|
/frameworks/base/core/java/android/speech/tts/ |
D | SynthesisPlaybackQueueItem.java | 311 mUnconsumedBytes -= entry.mBytes.length; in take() 317 return entry.mBytes; in take() 324 final byte[] mBytes; field in SynthesisPlaybackQueueItem.ListEntry 327 mBytes = bytes; in ListEntry()
|
/frameworks/native/libs/binder/tests/parcel_fuzzer/include_random_parcel/fuzzbinder/ |
D | random_binder.h | 34 std::vector<uint8_t> mBytes; variable
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardEntry.java | 993 private final byte[] mBytes; field in VCardEntry.PhotoData 999 mBytes = photoBytes; in PhotoData() 1010 builder.withValue(Photo.PHOTO, mBytes); in constructInsertOperation() 1019 return mBytes == null || mBytes.length == 0; in isEmpty() 1032 && Arrays.equals(mBytes, photoData.mBytes) in equals() 1044 if (mBytes != null) { in hashCode() 1045 for (byte b : mBytes) { in hashCode() 1057 return String.format("format: %s: size: %d, isPrimary: %s", mFormat, mBytes.length, in toString() 1071 return mBytes; in getBytes()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 84552 Lcom/android/internal/util/FastPrintWriter;->mBytes:Ljava/nio/ByteBuffer;
|