Home
last modified time | relevance | path

Searched refs:mOutputBuffer (Results 1 – 13 of 13) 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/av/services/oboeservice/
DAAudioMixer.cpp37 delete[] mOutputBuffer; in ~AAudioMixer()
44 mOutputBuffer = new float[samplesPerBuffer]; in allocate()
49 memset(mOutputBuffer, 0, mBufferSizeInBytes); in clear()
54 float *destination = mOutputBuffer; in mix()
120 return mOutputBuffer; in getOutputBuffer()
DAAudioMixer.h50 float *mOutputBuffer = nullptr; variable
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestVirtualDisplay.cpp28 mDisplayDimension.setDependent(&mOutputBuffer); in Hwc2TestVirtualDisplay()
47 int ret = mOutputBuffer.getOutputBuffer(outHandle, &acquireFence); in getOutputBuffer()
76 ComparatorResult::get().CompareBuffers(mOutputBuffer.graphicBuffer(), in verifyOutputBuffer()
94 !mOutputBuffer.writeBufferToFile(resultPath.str())) in writeBuffersToFile()
DHwc2TestVirtualDisplay.h50 Hwc2TestOutputBuffer mOutputBuffer;
/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/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Dec.cpp252 mOutputBuffer{}, in C2SoftMpeg4Dec()
273 if (mOutputBuffer[i]) { in onStop()
274 free(mOutputBuffer[i]); in onStop()
275 mOutputBuffer[i] = nullptr; in onStop()
304 if (mOutputBuffer[i]) { in onRelease()
305 free(mOutputBuffer[i]); in onRelease()
306 mOutputBuffer[i] = nullptr; in onRelease()
398 if (!mOutputBuffer[i]) { in ensureDecoderState()
399 mOutputBuffer[i] = (uint8_t *)malloc(mOutputBufferSize); in ensureDecoderState()
400 if (!mOutputBuffer[i]) { in ensureDecoderState()
[all …]
DC2SoftMpeg4Dec.h59 uint8_t *mOutputBuffer[kNumOutputBuffers]; member
/frameworks/ml/nn/runtime/test/
DTestExecution.cpp420 mOutputBuffer = kOutputBufferInitial; in setInputOutput()
422 ASSERT_EQ(execution->setOutput(0, &mOutputBuffer, sizeof(mOutputBuffer)), Result::NO_ERROR); in setInputOutput()
428 float mOutputBuffer; member in android::__anon000350720111::ExecutionTestTemplate
464 ASSERT_EQ(mOutputBuffer, kOutputBufferExpected); in TestWait()
485 ASSERT_EQ(mOutputBuffer, kOutputBufferExpected); in TestWait()
/frameworks/av/media/libstagefright/codecs/xaacdec/
DSoftXAAC.cpp101 mOutputBuffer(NULL), in SoftXAAC()
728 memset(mOutputBuffer, 0, numOutBytes); // TODO: check for overflow, ASAN in onQueueFilled()
766 memcpy(outBuffer, mOutputBuffer, numOutBytes); in onQueueFilled()
927 mOutputBuffer = 0; in initXAACDecoder()
1046 mOutputBuffer = (pWORD8)pv_alloc_ptr; in initXAACDecoder()
1487 memcpy(mDrcInBuf, mOutputBuffer, *outBytes); in decodeXAACStream()
1495 memcpy(mOutputBuffer, mDrcOutBuf, *outBytes); in decodeXAACStream()
DSoftXAAC.h111 int8_t* mOutputBuffer; member
/frameworks/av/media/codec2/components/xaac/
DC2SoftXaacDec.cpp250 mOutputBuffer = nullptr; in onInit()
585 memset(mOutputBuffer, 0, mNumOutBytes); in process()
592 memcpy(tempOutputDrainBuffer, mOutputBuffer, mNumOutBytes); in process()
691 mOutputBuffer = nullptr; in initXAACDecoder()
831 mOutputBuffer = (pWORD8)pv_alloc_ptr; in initXAACDecoder()
1366 memcpy(mDrcInBuf, mOutputBuffer, *outBytes); in decodeXAACStream()
1374 memcpy(mOutputBuffer, mDrcOutBuf, *outBytes); in decodeXAACStream()
DC2SoftXaacDec.h78 int8_t* mOutputBuffer; member