Home
last modified time | relevance | path

Searched refs:mBytes (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DByteStream.java35 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/
DRandomAccessObject.java95 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/
DFastPrintWriter.java68 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/
Drandom_binder.cpp29 mBytes(std::move(bytes)), in RandomBinder()
30 mProvider(mBytes.data(), mBytes.size()) {} in RandomBinder()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DSpamActivity.java23 byte[] mBytes; field in SpamActivity
29 mBytes = new byte[8*1024*1024]; in onCreate()
/frameworks/libs/modules-utils/java/com/android/internal/util/
DFastXmlSerializer.java66 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/
DSynthesisPlaybackQueueItem.java311 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/
Drandom_binder.h34 std::vector<uint8_t> mBytes; variable
/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntry.java993 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/
Dhiddenapi-max-target-o.txt84552 Lcom/android/internal/util/FastPrintWriter;->mBytes:Ljava/nio/ByteBuffer;