Home
last modified time | relevance | path

Searched refs:mBytes (Results 1 – 14 of 14) 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()
221 return mBytes.length - mIndex; in available()
/frameworks/base/services/core/jni/
Dcom_android_server_security_VerityUtils.cpp106 : mEnv(other.mEnv), mBytes(other.mBytes), mElements(other.mElements) { in JavaByteArrayHolder()
119 mEnv->ReleaseByteArrayElements(mBytes, mElements, 0); in release()
121 return mBytes; in release()
131 mBytes = mEnv->NewByteArray(size); in JavaByteArrayHolder()
132 mElements = mEnv->GetByteArrayElements(mBytes, nullptr); in JavaByteArrayHolder()
137 jbyteArray mBytes; member in android::__anon69dd2ccd0111::JavaByteArrayHolder
/frameworks/base/core/java/com/android/internal/util/
DFastPrintWriter.java67 final private ByteBuffer mBytes; field in FastPrintWriter
128 mBytes = ByteBuffer.allocate(mBufferLen); in FastPrintWriter()
197 mBytes = null; in FastPrintWriter()
240 mBytes = null; in FastPrintWriter()
352 if ((position = mBytes.position()) > 0) { in flushBytesLocked()
353 mBytes.flip(); in flushBytesLocked()
354 mOutputStream.write(mBytes.array(), 0, position); in flushBytesLocked()
355 mBytes.clear(); in flushBytesLocked()
365 CoderResult result = mCharset.encode(charBuffer, mBytes, true); in flushLocked()
371 result = mCharset.encode(charBuffer, mBytes, true); in flushLocked()
DFastXmlSerializer.java65 private ByteBuffer mBytes; field in FastXmlSerializer
87 mBytes = ByteBuffer.allocate(mBufferLen); in FastXmlSerializer()
250 if ((position = mBytes.position()) > 0) { in flushBytes()
251 mBytes.flip(); in flushBytes()
252 mOutputStream.write(mBytes.array(), 0, position); in flushBytes()
253 mBytes.clear(); in flushBytes()
262 CoderResult result = mCharset.encode(charBuffer, mBytes, true); in flush()
268 result = mCharset.encode(charBuffer, mBytes, true); in flush()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DIntentTile.java182 private final byte[] mBytes; field in IntentTile.BytesIcon
185 mBytes = bytes; in BytesIcon()
190 final Bitmap b = BitmapFactory.decodeByteArray(mBytes, 0, mBytes.length); in getDrawable()
196 return o instanceof BytesIcon && Arrays.equals(((BytesIcon) o).mBytes, mBytes); in equals()
201 return String.format("BytesIcon[len=%s]", mBytes.length); in toString()
/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/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/base/core/java/android/bluetooth/le/
DScanRecord.java79 private final byte[] mBytes; field in ScanRecord
168 return mBytes; in getBytes()
184 mBytes = bytes; in ScanRecord()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DFullRestoreEngine.java117 private long mBytes; field in FullRestoreEngine
150 mBytes = 0; in FullRestoreEngine()
176 mBytes += bytesRead; in restoreOneFile()
489 mBytes += nRead; in restoreOneFile()
552 mBytes += nRead; in restoreOneFile()
DPerformAdbRestoreTask.java86 private long mBytes; field in PerformAdbRestoreTask
147 mBytes = 0; in run()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntry.java981 private final byte[] mBytes; field in VCardEntry.PhotoData
987 mBytes = photoBytes; in PhotoData()
998 builder.withValue(Photo.PHOTO, mBytes); in constructInsertOperation()
1007 return mBytes == null || mBytes.length == 0; in isEmpty()
1020 && Arrays.equals(mBytes, photoData.mBytes) in equals()
1032 if (mBytes != null) { in hashCode()
1033 for (byte b : mBytes) { in hashCode()
1045 return String.format("format: %s: size: %d, isPrimary: %s", mFormat, mBytes.length, in toString()
1059 return mBytes; in getBytes()
/frameworks/rs/rsov/compiler/spirit/
Dmodule.cpp108 if (mVersion.mBytes[0] != 0 || mVersion.mBytes[3] != 0) { in DeserializeInternal()
Dmodule.h57 uint8_t mBytes[4]; member
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt13277 Landroid/bluetooth/le/ScanRecord;->mBytes:[B
106209 Lcom/android/internal/util/FastPrintWriter;->mBytes:Ljava/nio/ByteBuffer;