Home
last modified time | relevance | path

Searched refs:mTempBuffer (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/hardware/usb/
DUsbRequest.java78 private ByteBuffer mTempBuffer; field in UsbRequest
275 mTempBuffer = ByteBuffer.allocateDirect(mBuffer.remaining()); in queue()
280 mTempBuffer.put(mBuffer); in queue()
281 mTempBuffer.flip(); in queue()
286 buffer = mTempBuffer; in queue()
296 mTempBuffer = null; in queue()
314 } else if (mTempBuffer == null) { in dequeue()
317 mTempBuffer.limit(bytesTransferred); in dequeue()
327 mBuffer.put(mTempBuffer); in dequeue()
330 mTempBuffer = null; in dequeue()
/frameworks/base/core/java/com/android/internal/util/
DImageUtils.java55 private int[] mTempBuffer; field in ImageUtils
96 bitmap.getPixels(mTempBuffer, 0, width, 0, 0, width, height); in isGrayscale()
98 if (!isGrayscale(mTempBuffer[i])) { in isGrayscale()
109 if (mTempBuffer == null || mTempBuffer.length < size) { in ensureBufferSize()
110 mTempBuffer = new int[size]; in ensureBufferSize()
/frameworks/base/core/java/android/os/
DFileBridge.java144 private final ByteBuffer mTempBuffer = ByteBuffer.allocateDirect(MSG_LENGTH); field in FileBridge.FileBridgeOutputStream
145 private final byte[] mTemp = mTempBuffer.hasArray()
146 ? mTempBuffer.array()
/frameworks/base/services/core/java/com/android/server/power/
DWakeLockLog.java695 private final byte[] mTempBuffer = new byte[MAX_LOG_ENTRY_BYTE_SIZE]; field in WakeLockLog.TheLog
778 int size = mTranslator.toBytes(entry, mTempBuffer, mLatestTime); in addEntry()
786 size = mTranslator.toBytes(entry, mTempBuffer, mLatestTime); in addEntry()
802 + Arrays.toString(mTempBuffer)); in addEntry()
805 writeBytesAt(mEnd, mTempBuffer, size); in addEntry()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt25362 Landroid/hardware/usb/UsbRequest;->mTempBuffer:Ljava/nio/ByteBuffer;
88542 Lcom/android/internal/util/ImageUtils;->mTempBuffer:[I