Home
last modified time | relevance | path

Searched refs:mOutputBuffer (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
DTransport.java47 private ByteBuffer mOutputBuffer; field in Transport
61 mOutputBuffer = ByteBuffer.allocate(maxPacketSize); in Transport()
85 if (mOutputBuffer != null) { in close()
95 mOutputBuffer = null; in close()
114 if (mOutputBuffer == null) { in sendMessage()
119 final byte[] outputArray = mOutputBuffer.array(); in sendMessage()
120 final int capacity = mOutputBuffer.capacity(); in sendMessage()
121 mOutputBuffer.clear(); in sendMessage()
122 mOutputBuffer.putShort((short)service); in sendMessage()
123 mOutputBuffer.putShort((short)what); in sendMessage()
[all …]
/frameworks/base/tests/SerialChat/src/com/android/serialchat/
DSerialChat.java44 private ByteBuffer mOutputBuffer; field in SerialChat
63 mOutputBuffer = ByteBuffer.allocateDirect(1024); in onCreate()
66 mOutputBuffer = ByteBuffer.allocate(1024); in onCreate()
111 mOutputBuffer.clear(); in onEditorAction()
112 mOutputBuffer.put(bytes); in onEditorAction()
113 mSerialPort.write(mOutputBuffer, bytes.length); in onEditorAction()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2On1Adapter.cpp570 mOutputBuffer(), in Display()
945 mOutputBuffer.setBuffer(buffer); in setOutputBuffer()
946 mOutputBuffer.setFence(releaseFence); in setOutputBuffer()
1293 mHwc1RequestedContents->outbuf = mOutputBuffer.getBuffer(); in prepare()
1294 mHwc1RequestedContents->outbufAcquireFenceFd = mOutputBuffer.getFence(); in prepare()
1650 if (mOutputBuffer.getBuffer() != nullptr) { in dump()
1651 output << " Output buffer: " << mOutputBuffer.getBuffer() << '\n'; in dump()
DHWC2On1Adapter.h389 FencedBuffer mOutputBuffer; variable