Home
last modified time | relevance | path

Searched refs:mProducer (Results 1 – 20 of 20) sorted by relevance

/frameworks/native/libs/gui/tests/
DIGraphicBufferProducer_test.cpp86 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in SetUp()
104 return mProducer->connect(TEST_TOKEN, in TryConnectProducer()
199 return mProducer->dequeueBuffer(&result->slot, &result->fence, async, w, h, format, usage); in dequeueBuffer()
206 sp<IGraphicBufferProducer> mProducer; member in android::IGraphicBufferProducerTest
214 EXPECT_EQ(BAD_VALUE, mProducer->connect(TEST_TOKEN, in TEST_F()
220 EXPECT_EQ(BAD_VALUE, mProducer->connect(TEST_TOKEN, in TEST_F()
233 EXPECT_EQ(BAD_VALUE, mProducer->connect(TEST_TOKEN, in TEST_F()
240 EXPECT_EQ(NO_INIT, mProducer->connect(TEST_TOKEN, in TEST_F()
249 ASSERT_OK(mProducer->disconnect(TEST_API)); in TEST_F()
257 ASSERT_EQ(BAD_VALUE, mProducer->disconnect(TEST_API_OTHER)); in TEST_F()
[all …]
DBufferQueue_test.cpp56 ASSERT_EQ(OK, mProducer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, in GetMinUndequeuedBufferCount()
62 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in createBufferQueue()
65 sp<IGraphicBufferProducer> mProducer; member in android::BufferQueueTest
100 mProducer = interface_cast<IGraphicBufferProducer>(binderProducer); in TEST_F()
101 EXPECT_TRUE(mProducer != NULL); in TEST_F()
111 mProducer->connect(NULL, NATIVE_WINDOW_API_CPU, false, &output)); in TEST_F()
117 mProducer->dequeueBuffer(&slot, &fence, false, 0, 0, 0, in TEST_F()
119 ASSERT_EQ(OK, mProducer->requestBuffer(slot, &buffer)); in TEST_F()
129 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output)); in TEST_F()
146 mProducer->connect(new DummyProducerListener, NATIVE_WINDOW_API_CPU, false, in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/
DMonitoredProducer.cpp25 mProducer(producer), in MonitoredProducer()
37 : mFlinger(flinger), mProducer(producer) {} in ~MonitoredProducer()
43 mFlinger->mGraphicBufferProducerList.remove(mProducer); in ~MonitoredProducer()
49 wp<IBinder> mProducer; in ~MonitoredProducer() member in android::MonitoredProducer::~MonitoredProducer::MessageCleanUpList
56 return mProducer->requestBuffer(slot, buf); in requestBuffer()
60 return mProducer->setBufferCount(bufferCount); in setBufferCount()
65 return mProducer->dequeueBuffer(slot, fence, async, w, h, format, usage); in dequeueBuffer()
69 return mProducer->detachBuffer(slot); in detachBuffer()
74 return mProducer->detachNextBuffer(outBuffer, outFence); in detachNextBuffer()
79 return mProducer->attachBuffer(outSlot, buffer); in attachBuffer()
[all …]
DMonitoredProducer.h59 sp<IGraphicBufferProducer> mProducer;
DLayer.h359 sp<IGraphicBufferProducer> mProducer; variable
DLayer.cpp124 mProducer = new MonitoredProducer(producer, mFlinger); in onFirstRef()
245 return mProducer; in getProducer()
691 int ret = mProducer->query(NATIVE_WINDOW_STICKY_TRANSFORM, &producerStickyTransform); in getProducerStickyTransform()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3ZslStream.cpp123 mProducer = new RingBufferConsumer(consumer, GRALLOC_USAGE_HW_CAMERA_ZSL, bufferCount); in Camera3ZslStream()
152 assert(mProducer != 0); in getInputBufferLocked()
292 mProducer->pinSelectedBuffer(timestampFinder, in enqueueInputBufferByTimestamp()
327 *latestTimestamp = mProducer->getLatestTimestamp(); in clearInputRingBufferLocked()
331 return mProducer->clear(); in clearInputRingBufferLocked()
DCamera3ZslStream.h79 sp<RingBufferConsumer> mProducer; variable
/frameworks/av/include/media/stagefright/
DSurfaceMediaSource.h114 sp<IGraphicBufferProducer> getProducer() const { return mProducer; } in getProducer()
151 sp<IGraphicBufferProducer> mProducer;
/frameworks/av/media/libstagefright/omx/
DGraphicBufferSource.h65 return mProducer; in getIGraphicBufferProducer()
217 sp<IGraphicBufferProducer> mProducer; variable
DGraphicBufferSource.cpp77 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in GraphicBufferSource()
/frameworks/av/cmds/screenrecord/
DOverlay.cpp88 *pBufferProducer = mProducer; in start()
174 BufferQueue::createBufferQueue(&mProducer, &consumer); in setup_l()
192 mProducer.clear(); in release_l()
DOverlay.h127 sp<IGraphicBufferProducer> mProducer; variable
/frameworks/base/graphics/java/android/graphics/
DSurfaceTexture.java77 private long mProducer; field in SurfaceTexture
/frameworks/av/media/libstagefright/wifi-display/source/
DPlaybackSession.h113 sp<IGraphicBufferProducer> mProducer; member
DPlaybackSession.cpp1058 mProducer = source->getProducer(); in addVideoSource()
1082 return mProducer; in getSurfaceTexture()
/frameworks/native/include/gui/
DSurfaceComposerClient.h192 mutable sp<IGraphicBufferProducer> mProducer; variable
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp92 void setProducer(const sp<IGraphicBufferProducer>& producer) { mProducer = producer; } in setProducer()
93 IGraphicBufferProducer* getProducer() { return mProducer.get(); } in getProducer()
110 sp<IGraphicBufferProducer> mProducer; member in JNIImageReaderContext
/frameworks/av/media/libstagefright/
DSurfaceMediaSource.cpp59 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in SurfaceMediaSource()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp710 BufferQueue::createBufferQueue(&mProducer, &consumer); in getCpuConsumer()
731 status_t err = s->captureScreen(display, mProducer, sourceCrop, in update()