Home
last modified time | relevance | path

Searched refs:mCachedBuffer (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
DBluetoothMidiDevice.java235 private byte[] mCachedBuffer; field in BluetoothMidiDevice.PacketReceiver
249 if ((mCachedBuffer == null) || (mCachedBuffer.length != count)) { in writePacket()
250 mCachedBuffer = new byte[count]; in writePacket()
252 System.arraycopy(buffer, 0, mCachedBuffer, 0, count); in writePacket()
255 logByteArray("Sent ", mCachedBuffer, 0, mCachedBuffer.length); in writePacket()
258 int result = mBluetoothGatt.writeCharacteristic(mCharacteristic, mCachedBuffer, in writePacket()
/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.cpp328 if (mCachedBuffer && mCachedBuffer->getBuffer()->getWidth() == sampledBounds.getWidth() && in captureSample()
329 mCachedBuffer->getBuffer()->getHeight() == sampledBounds.getHeight()) { in captureSample()
330 buffer = mCachedBuffer; in captureSample()
396 mCachedBuffer = buffer; in captureSample()
DRegionSamplingThread.h121 std::shared_ptr<renderengine::ExternalTexture> mCachedBuffer GUARDED_BY(mSamplingMutex) =