/frameworks/native/libs/gui/tests/ |
D | IGraphicBufferProducer_test.cpp | 86 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in SetUp() 104 return mProducer->connect(TEST_TOKEN, in TryConnectProducer() 199 return mProducer->dequeueBuffer(&result->slot, &result->fence, w, h, format, usage); in dequeueBuffer() 212 (mProducer->dequeueBuffer(slot, fence, DEFAULT_WIDTH, in setupDequeueRequestBuffer() 219 ASSERT_OK(mProducer->requestBuffer(*slot, buffer)); in setupDequeueRequestBuffer() 226 sp<IGraphicBufferProducer> mProducer; member in android::IGraphicBufferProducerTest 234 EXPECT_EQ(BAD_VALUE, mProducer->connect(TEST_TOKEN, in TEST_F() 240 EXPECT_EQ(BAD_VALUE, mProducer->connect(TEST_TOKEN, in TEST_F() 253 EXPECT_EQ(BAD_VALUE, mProducer->connect(TEST_TOKEN, in TEST_F() 260 EXPECT_EQ(NO_INIT, mProducer->connect(TEST_TOKEN, in TEST_F() [all …]
|
D | BufferQueue_test.cpp | 59 ASSERT_EQ(OK, mProducer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, in GetMinUndequeuedBufferCount() 65 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in createBufferQueue() 89 sp<IGraphicBufferProducer> mProducer; member in android::BufferQueueTest 120 mProducer = interface_cast<IGraphicBufferProducer>(binderProducer); in TEST_F() 121 EXPECT_TRUE(mProducer != NULL); in TEST_F() 131 mProducer->connect(NULL, NATIVE_WINDOW_API_CPU, false, &output)); in TEST_F() 137 mProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, in TEST_F() 139 ASSERT_EQ(OK, mProducer->requestBuffer(slot, &buffer)); in TEST_F() 150 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output)); in TEST_F() 167 mProducer->connect(new DummyProducerListener, NATIVE_WINDOW_API_CPU, false, in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | MonitoredProducer.cpp | 25 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() 61 return mProducer->setMaxDequeuedBufferCount(maxDequeuedBuffers); in setMaxDequeuedBufferCount() 65 return mProducer->setAsyncMode(async); in setAsyncMode() 70 return mProducer->dequeueBuffer(slot, fence, w, h, format, usage); in dequeueBuffer() 74 return mProducer->detachBuffer(slot); in detachBuffer() 79 return mProducer->detachNextBuffer(outBuffer, outFence); in detachNextBuffer() [all …]
|
D | MonitoredProducer.h | 70 sp<IGraphicBufferProducer> mProducer;
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3ZslStream.cpp | 123 mProducer = new RingBufferConsumer(consumer, GRALLOC_USAGE_HW_CAMERA_ZSL, bufferCount); in Camera3ZslStream() 124 mProducer->setName(String8("Camera2-ZslRingBufferConsumer")); in Camera3ZslStream() 153 assert(mProducer != 0); in getInputBufferLocked() 293 mProducer->pinSelectedBuffer(timestampFinder, in enqueueInputBufferByTimestamp() 328 *latestTimestamp = mProducer->getLatestTimestamp(); in clearInputRingBufferLocked() 332 return mProducer->clear(); in clearInputRingBufferLocked()
|
D | Camera3InputStream.cpp | 172 } else if (mProducer == NULL) { in getInputBufferProducerLocked() 177 *producer = mProducer; in getInputBufferProducerLocked() 261 mProducer = producer; in configureQueueLocked()
|
D | Camera3InputStream.h | 52 sp<IGraphicBufferProducer> mProducer; variable
|
D | Camera3ZslStream.h | 78 sp<RingBufferConsumer> mProducer; variable
|
/frameworks/av/media/libstagefright/filters/ |
D | GraphicBufferListener.h | 41 return mProducer; in getIGraphicBufferProducer() 61 sp<IGraphicBufferProducer> mProducer; member
|
D | GraphicBufferListener.cpp | 36 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in init()
|
/frameworks/av/include/media/stagefright/ |
D | SurfaceMediaSource.h | 118 sp<IGraphicBufferProducer> getProducer() const { return mProducer; } in getProducer() 155 sp<IGraphicBufferProducer> mProducer;
|
/frameworks/base/libs/hwui/utils/ |
D | TestWindowContext.cpp | 61 android::BufferQueue::createBufferQueue(&mProducer, &mConsumer); in TestWindowData() 65 mAndroidSurface = new android::Surface(mProducer); in TestWindowData() 179 android::sp<android::IGraphicBufferProducer> mProducer; member in android::uirenderer::TestWindowContext::TestWindowData
|
/frameworks/av/cmds/screenrecord/ |
D | Overlay.cpp | 88 *pBufferProducer = mProducer; in start() 174 BufferQueue::createBufferQueue(&mProducer, &consumer); in setup_l() 179 mProducer->setMaxDequeuedBufferCount(4); in setup_l() 192 mProducer.clear(); in release_l()
|
D | Overlay.h | 127 sp<IGraphicBufferProducer> mProducer; variable
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraFlashlight.cpp | 367 mProducer.clear(); in ~CameraDeviceClientFlashControl() 383 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in initializeSurface() 401 mSurface = new Surface(mProducer, /*useAsync*/ true); in initializeSurface() 661 mProducer.clear(); in ~CameraHardwareInterfaceFlashControl() 817 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in initializePreviewWindow() 835 mSurface = new Surface(mProducer, /*useAsync*/ true); in initializePreviewWindow()
|
D | CameraFlashlight.h | 166 sp<IGraphicBufferProducer> mProducer; variable 219 sp<IGraphicBufferProducer> mProducer; variable
|
/frameworks/av/media/libstagefright/omx/ |
D | GraphicBufferSource.h | 74 return mProducer; in getIGraphicBufferProducer() 275 sp<IGraphicBufferProducer> mProducer; variable
|
/frameworks/base/media/jni/ |
D | android_media_ImageWriter.cpp | 69 void setProducer(const sp<Surface>& producer) { mProducer = producer; } in setProducer() 70 Surface* getProducer() { return mProducer.get(); } in getProducer() 85 sp<Surface> mProducer; member in JNIImageWriterContext 115 mProducer.clear(); in ~JNIImageWriterContext() 157 mProducer->detachNextBuffer(&buffer, &fence); in onBufferReleased()
|
D | android_media_ImageReader.cpp | 95 void setProducer(const sp<IGraphicBufferProducer>& producer) { mProducer = producer; } in setProducer() 96 IGraphicBufferProducer* getProducer() { return mProducer.get(); } in getProducer() 116 sp<IGraphicBufferProducer> mProducer; member in JNIImageReaderContext
|
/frameworks/av/media/ndk/ |
D | NdkImageReaderPriv.h | 131 sp<IGraphicBufferProducer> mProducer; member
|
D | NdkImageReader.cpp | 171 mProducer = gbProducer; in init() 193 mSurface = new Surface(mProducer, /*controlledByApp*/true); in init()
|
/frameworks/base/graphics/java/android/graphics/ |
D | SurfaceTexture.java | 77 private long mProducer; field in SurfaceTexture
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | PlaybackSession.h | 118 sp<IGraphicBufferProducer> mProducer; member
|
/frameworks/native/include/gui/ |
D | SurfaceComposerClient.h | 203 mutable sp<IGraphicBufferProducer> mProducer; variable
|
/frameworks/av/media/libstagefright/ |
D | SurfaceMediaSource.cpp | 61 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in SurfaceMediaSource()
|