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/core/java/com/android/internal/util/
DFastPrintWriter.java66 final private ByteBuffer mBytes; field in FastPrintWriter
126 mBytes = ByteBuffer.allocate(mBufferLen); in FastPrintWriter()
195 mBytes = null; in FastPrintWriter()
238 mBytes = null; in FastPrintWriter()
350 if ((position = mBytes.position()) > 0) { in flushBytesLocked()
351 mBytes.flip(); in flushBytesLocked()
352 mOutputStream.write(mBytes.array(), 0, position); in flushBytesLocked()
353 mBytes.clear(); in flushBytesLocked()
363 CoderResult result = mCharset.encode(charBuffer, mBytes, true); in flushLocked()
369 result = mCharset.encode(charBuffer, mBytes, true); in flushLocked()
DFastXmlSerializer.java64 private ByteBuffer mBytes; field in FastXmlSerializer
85 mBytes = ByteBuffer.allocate(mBufferLen); in FastXmlSerializer()
248 if ((position = mBytes.position()) > 0) { in flushBytes()
249 mBytes.flip(); in flushBytes()
250 mOutputStream.write(mBytes.array(), 0, position); in flushBytes()
251 mBytes.clear(); in flushBytes()
260 CoderResult result = mCharset.encode(charBuffer, mBytes, true); in flush()
266 result = mCharset.encode(charBuffer, mBytes, true); in flush()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DIntentTile.java184 private final byte[] mBytes; field in IntentTile.BytesIcon
187 mBytes = bytes; in BytesIcon()
192 final Bitmap b = BitmapFactory.decodeByteArray(mBytes, 0, mBytes.length); in getDrawable()
198 return o instanceof BytesIcon && Arrays.equals(((BytesIcon) o).mBytes, mBytes); in equals()
203 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/layoutlib/create/tests/com/android/tools/layoutlib/create/
DStubMethodAdapterTest.java115 private final byte[] mBytes; field in StubMethodAdapterTest.MyClassLoader
120 mBytes = bytes; in MyClassLoader()
127 return defineClass(name, mBytes, 0, mBytes.length); in findClass()
/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/services/net/java/android/net/util/
DConnectivityPacketSummary.java44 private final byte[] mBytes; field in ConnectivityPacketSummary
63 mBytes = buffer; in ConnectivityPacketSummary()
64 mLength = Math.min(length, mBytes.length); in ConnectivityPacketSummary()
65 mPacket = ByteBuffer.wrap(mBytes, 0, mLength); in ConnectivityPacketSummary()
338 dhcpPacket = DhcpPacket.decodeFullPacket(mBytes, mLength, DhcpPacket.ENCAP_L2); in parseDHCPv4()
/frameworks/base/core/java/android/bluetooth/le/
DScanRecord.java72 private final byte[] mBytes; field in ScanRecord
149 return mBytes; in getBytes()
163 mBytes = bytes; in ScanRecord()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DFullRestoreEngine.java115 private long mBytes; field in FullRestoreEngine
143 mBytes = 0; in FullRestoreEngine()
167 mBytes += bytesRead; in restoreOneFile()
473 mBytes += nRead; in restoreOneFile()
536 mBytes += nRead; in restoreOneFile()
DPerformAdbRestoreTask.java104 private long mBytes; field in PerformAdbRestoreTask
190 mBytes = 0; in run()
211 Slog.v(TAG, "Done consuming input tarfile, total bytes=" + mBytes); in run()
442 mBytes += bytesRead; in restoreOneFile()
724 mBytes += nRead; in restoreOneFile()
779 mBytes += nRead; in restoreOneFile()
/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