Searched refs:getBuffer (Results 26 - 50 of 74) sorted by relevance

123

/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3StreamSplitter.h164 const sp<GraphicBuffer>& getBuffer() const { return mBuffer; } function in class:android::Camera3StreamSplitter::BufferTracker
H A DCamera3StreamSplitter.cpp235 int slot = getSlotForOutputLocked(output, tracker.getBuffer());
399 removeSlotForOutputLocked(from, mBuffers[id]->getBuffer());
414 status_t res = mConsumer->attachBuffer(&consumerSlot, tracker_ptr->getBuffer());
/frameworks/base/libs/androidfw/
H A DApkAssets.cpp76 LoadedArsc::Load(loaded_apk->resources_asset_->getBuffer(true /*wordAligned*/),
H A DAsset.cpp502 getBuffer(false);
609 const void* _FileAsset::getBuffer(bool wordAligned) function in class:_FileAsset
651 ALOGV(" getBuffer: loaded into buffer\n");
664 ALOGV(" getBuffer: mapped\n");
824 if (getBuffer(false) == NULL)
898 const void* _CompressedAsset::getBuffer(bool) function in class:_CompressedAsset
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.h112 status_t getBuffer(
/frameworks/base/native/android/
H A Dasset_manager.cpp194 return asset->mAsset->getBuffer(false);
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DAppCacheTest.java241 byte buffer[] = getBuffer();
265 byte[] getBuffer() { method in class:AppCacheTest
293 byte[] buffer = getBuffer();
366 byte buffer[] = getBuffer();
415 byte buffer[] = getBuffer();
/frameworks/av/media/libeffects/loudness/
H A DEffectLoudnessEnhancer.cpp164 pContext->mConfig.inputCfg.bufferProvider.getBuffer = NULL;
172 pContext->mConfig.outputCfg.bufferProvider.getBuffer = NULL;
/frameworks/base/media/java/android/media/
H A DMediaCodec.java3044 ByteBuffer newBuffer = getBuffer(true /* input */, index);
3102 ByteBuffer newBuffer = getBuffer(false /* input */, index);
3469 private native final ByteBuffer getBuffer(boolean input, int index); method in class:MediaCodec
3652 public ByteBuffer getBuffer() { method in class:MediaCodec.MediaImage.MediaPlane
H A DImageWriter.java332 * {@link Image.Plane#getBuffer Plane#getBuffer} call will result in an
480 * {@link Image.Plane#getBuffer Plane#getBuffer} call will have undefined
820 public ByteBuffer getBuffer() { method in class:ImageWriter.WriterSurfaceImage.SurfacePlane
826 // Need null check first, as the getBuffer() may not be called
H A DImageReader.java593 * {@link Image.Plane#getBuffer Plane#getBuffer} call will
956 public ByteBuffer getBuffer() { method in class:ImageReader.SurfaceImage.SurfacePlane
982 // Need null check first, as the getBuffer() may not be called before an image
/frameworks/base/test-runner/src/junit/runner/
H A DBaseTestRunner.java275 StringBuffer buffer= stringWriter.getBuffer();
/frameworks/native/libs/gui/
H A DStreamSplitter.cpp231 status = mInput->attachBuffer(&consumerSlot, tracker->getBuffer());
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraTestUtils.java826 buffer = planes[0].getBuffer();
845 buffer = planes[i].getBuffer();
1622 srcBuffer = srcPlanes[i].getBuffer();
1625 dstBuffer = dstPlanes[i].getBuffer();
1694 lhsBuffer = lhsPlanes[i].getBuffer();
1695 rhsBuffer = rhsPlanes[i].getBuffer();
/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.c588 pDwmModule->config.inputCfg.bufferProvider.getBuffer = NULL;
600 pDwmModule->config.outputCfg.bufferProvider.getBuffer = NULL;
/frameworks/av/media/libeffects/testlibs/
H A DEffectEqualizer.cpp311 pContext->config.inputCfg.bufferProvider.getBuffer = NULL;
319 pContext->config.outputCfg.bufferProvider.getBuffer = NULL;
/frameworks/av/media/libeffects/visualizer/
H A DEffectVisualizer.cpp197 pContext->mConfig.inputCfg.bufferProvider.getBuffer = NULL;
205 pContext->mConfig.outputCfg.bufferProvider.getBuffer = NULL;
/frameworks/base/core/jni/android/graphics/
H A DFontFamily.cpp250 const void* buf = asset->getBuffer(false);
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
H A DCameraTooActivity.java417 ByteBuffer buffer = mCapture.getPlanes()[0].getBuffer();
/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/
H A DCameraTooTest.java155 when(plane.getBuffer()).thenReturn(buf);
/frameworks/base/tools/split-select/
H A DMain.cpp137 if (xml.setTo(asset->getBuffer(true), asset->getLength(), false) != NO_ERROR) {
/frameworks/rs/rsov/driver/
H A DrsovAllocation.h66 RSoVBuffer *getBuffer() const { return mBuffer; } function in class:android::renderscript::rsov::RSoVAllocation
/frameworks/native/libs/hwc2on1adapter/
H A DHWC2On1Adapter.cpp1217 mHwc1RequestedContents->outbuf = mOutputBuffer.getBuffer();
1288 clientTargetLayer.handle = mClientTarget.getBuffer();
1539 output << " Client target: " << mClientTarget.getBuffer() << '\n';
1541 if (mOutputBuffer.getBuffer() != nullptr) {
1542 output << " Output buffer: " << mOutputBuffer.getBuffer() << '\n';
2080 output << " Buffer: " << mBuffer.getBuffer() << "/" <<
2163 hwc1Layer.handle = mBuffer.getBuffer();
/frameworks/base/core/tests/coretests/src/android/hardware/display/
H A DVirtualDisplayTest.java436 final ByteBuffer buffer = plane.getBuffer();
/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2Test.cpp1629 && testLayers->getBuffer(layer, &handle, &acquireFence) < 0)
1692 ASSERT_EQ(testClientTarget->getBuffer(testLayers, clientLayers,
1840 if (testLayer->getBuffer(&handle, &acquireFence) < 0)
2997 if (testLayer->getBuffer(&handle, &acquireFence) == 0) {
3625 ASSERT_EQ(testClientTarget.getBuffer(testLayers, clientLayers,
3663 ASSERT_EQ(testClientTarget.getBuffer(testLayers, clientLayers,
4479 if (testVirtualDisplay->getBuffer(&handle, &acquireFence) >= 0)
4499 if (testVirtualDisplay->getBuffer(&handle, &acquireFence) < 0)
4539 if (testVirtualDisplay.getBuffer(&handle, &acquireFence) < 0)

Completed in 2358 milliseconds

123