Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/util/
DFastPrintWriter.java50 final private ByteBuffer mBytes; field in FastPrintWriter
110 mBytes = ByteBuffer.allocate(mBufferLen); in FastPrintWriter()
179 mBytes = null; in FastPrintWriter()
222 mBytes = null; in FastPrintWriter()
334 if ((position = mBytes.position()) > 0) { in flushBytesLocked()
335 mBytes.flip(); in flushBytesLocked()
336 mOutputStream.write(mBytes.array(), 0, position); in flushBytesLocked()
337 mBytes.clear(); in flushBytesLocked()
347 CoderResult result = mCharset.encode(charBuffer, mBytes, true); in flushLocked()
353 result = mCharset.encode(charBuffer, mBytes, true); in flushLocked()
DFastXmlSerializer.java63 private ByteBuffer mBytes = ByteBuffer.allocate(BUFFER_LEN); field in FastXmlSerializer
231 if ((position = mBytes.position()) > 0) { in flushBytes()
232 mBytes.flip(); in flushBytes()
233 mOutputStream.write(mBytes.array(), 0, position); in flushBytes()
234 mBytes.clear(); in flushBytes()
243 CoderResult result = mCharset.encode(charBuffer, mBytes, true); in flush()
249 result = mCharset.encode(charBuffer, mBytes, true); in flush()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DIntentTile.java180 private final byte[] mBytes; field in IntentTile.BytesIcon
183 mBytes = bytes; in BytesIcon()
188 final Bitmap b = BitmapFactory.decodeByteArray(mBytes, 0, mBytes.length); in getDrawable()
194 return o instanceof BytesIcon && Arrays.equals(((BytesIcon) o).mBytes, mBytes); in equals()
199 return String.format("BytesIcon[len=%s]", mBytes.length); in toString()
/frameworks/base/core/java/android/speech/tts/
DSynthesisPlaybackQueueItem.java227 mUnconsumedBytes -= entry.mBytes.length; in take()
233 return entry.mBytes; in take()
240 final byte[] mBytes; field in SynthesisPlaybackQueueItem.ListEntry
243 mBytes = bytes; in ListEntry()
/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/tools/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/compile/libbcc/lib/Support/
DDisassembler.cpp45 const uint8_t *mBytes; member in __anoncff0a5620111::BufferMemoryObject
50 : mBytes(pBytes), mLength(pLength) { in BufferMemoryObject()
59 *pByte = mBytes[pAddr]; in readByte()
/frameworks/base/core/java/android/bluetooth/le/
DScanRecord.java70 private final byte[] mBytes; field in ScanRecord
147 return mBytes; in getBytes()
161 mBytes = bytes; in ScanRecord()
/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/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java5316 long mBytes; field in BackupManagerService.FullRestoreEngine
5369 mBytes = 0; in FullRestoreEngine()
5622 if (nRead >= 0) mBytes += nRead; in restoreOneFile()
5678 if (nRead >= 0) mBytes += nRead; in restoreOneFile()
5826 if (didRead >= 0) mBytes += didRead; in installApk()
5924 mBytes += needed; in skipTarPadding()
5938 mBytes += info.size; in readMetadata()
6003 + mBytes + " already consumed"); in readAppManifest()
6006 mBytes += info.size; in readAppManifest()
6359 mBytes += 512; in readTarHeader()
[all …]