/frameworks/av/services/camera/libcameraservice/gui/ |
D | RingBufferConsumer.h | 66 RingBufferConsumer(const sp<IGraphicBufferConsumer>& consumer, uint32_t consumerUsage, 123 PinnedBufferItem(wp<RingBufferConsumer> consumer, in PinnedBufferItem() 125 mConsumer(consumer), in PinnedBufferItem() 130 sp<RingBufferConsumer> consumer = mConsumer.promote(); in ~PinnedBufferItem() local 131 if (consumer != NULL) { in ~PinnedBufferItem() 132 consumer->unpinBuffer(mBufferItem); in ~PinnedBufferItem()
|
D | RingBufferConsumer.cpp | 37 RingBufferConsumer::RingBufferConsumer(const sp<IGraphicBufferConsumer>& consumer, in RingBufferConsumer() argument 40 ConsumerBase(consumer), in RingBufferConsumer()
|
/frameworks/av/camera/tests/ |
D | ProCameraTests.cpp | 265 const sp<CpuConsumer>& consumer) { in onFrameAvailable() argument 274 if (OK == (ret = consumer->lockNextBuffer(&buf))) { in onFrameAvailable() 280 EXPECT_OK(consumer->unlockBuffer(buf)); in onFrameAvailable() 755 sp<CpuConsumer> consumer; in TEST_F() local 757 TEST_FORMAT_DEPTH, TEST_CPU_HEAP_COUNT, &consumer, &streamId)); in TEST_F() 822 sp<CpuConsumer> consumer; in TEST_F() local 824 TEST_FORMAT_MAIN, TEST_CPU_HEAP_COUNT, &consumer, &streamId)); in TEST_F() 829 TEST_FORMAT_DEPTH, TEST_CPU_HEAP_COUNT, &consumer, &depthStreamId)); in TEST_F() 903 sp<CpuConsumer> consumer; in TEST_F() local 905 TEST_FORMAT_MAIN, TEST_CPU_HEAP_COUNT, &consumer, &streamId)); in TEST_F() [all …]
|
/frameworks/base/core/java/android/view/ |
D | SurfaceControl.java | 44 private static native void nativeScreenshot(IBinder displayToken, Surface consumer, in nativeScreenshot() argument 535 public static void screenshot(IBinder display, Surface consumer, in screenshot() argument 537 screenshot(display, consumer, width, height, minLayer, maxLayer, false); in screenshot() 550 public static void screenshot(IBinder display, Surface consumer, in screenshot() argument 552 screenshot(display, consumer, width, height, 0, 0, true); in screenshot() 561 public static void screenshot(IBinder display, Surface consumer) { in screenshot() argument 562 screenshot(display, consumer, 0, 0, 0, 0, true); in screenshot() 612 private static void screenshot(IBinder display, Surface consumer, in screenshot() argument 617 if (consumer == null) { in screenshot() 620 nativeScreenshot(display, consumer, width, height, minLayer, maxLayer, allLayers); in screenshot()
|
/frameworks/base/media/jni/ |
D | android_media_ImageReader.cpp | 86 void setCpuConsumer(const sp<CpuConsumer>& consumer) { mConsumer = consumer; } in setCpuConsumer() argument 617 sp<CpuConsumer> consumer = new CpuConsumer(bq, maxImages, in ImageReader_init() local 620 if (consumer == NULL) { in ImageReader_init() 631 ctx->setCpuConsumer(consumer); in ImageReader_init() 633 consumer->setFrameAvailableListener(ctx); in ImageReader_init() 640 res = consumer->setDefaultBufferSize(width, height); in ImageReader_init() 646 res = consumer->setDefaultBufferFormat(nativeFormat); in ImageReader_init() 663 CpuConsumer* consumer = ImageReader_getCpuConsumer(env, thiz); in ImageReader_close() local 664 if (consumer != NULL) { in ImageReader_close() 665 consumer->abandon(); in ImageReader_close() [all …]
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3OutputStream.h | 41 Camera3OutputStream(int id, sp<ANativeWindow> consumer, 48 Camera3OutputStream(int id, sp<ANativeWindow> consumer,
|
D | Camera3OutputStream.cpp | 35 sp<ANativeWindow> consumer, in Camera3OutputStream() argument 39 mConsumer(consumer), in Camera3OutputStream() 49 sp<ANativeWindow> consumer, in Camera3OutputStream() argument 53 mConsumer(consumer), in Camera3OutputStream()
|
D | Camera3Device.h | 90 virtual status_t createStream(sp<ANativeWindow> consumer,
|
D | Camera3Device.cpp | 674 status_t Camera3Device::createStream(sp<ANativeWindow> consumer, in createStream() argument 713 newStream = new Camera3OutputStream(mNextStreamId, consumer, in createStream() 716 newStream = new Camera3OutputStream(mNextStreamId, consumer, in createStream()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | FramebufferSurface.cpp | 54 const sp<IGraphicBufferConsumer>& consumer) : in FramebufferSurface() argument 55 ConsumerBase(consumer), in FramebufferSurface()
|
D | FramebufferSurface.h | 40 FramebufferSurface(HWComposer& hwc, int disp, const sp<IGraphicBufferConsumer>& consumer);
|
/frameworks/native/libs/gui/ |
D | IGraphicBufferConsumer.cpp | 240 virtual status_t consumerConnect(const sp<IConsumerListener>& consumer, bool controlledByApp) { in consumerConnect() argument 243 data.writeStrongBinder(consumer->asBinder()); in consumerConnect() 399 … sp<IConsumerListener> consumer = IConsumerListener::asInterface( data.readStrongBinder() ); in onTransact() local 401 status_t result = consumerConnect(consumer, controlledByApp); in onTransact()
|
/frameworks/native/include/gui/ |
D | ConsumerBase.h | 88 ConsumerBase(const sp<IGraphicBufferConsumer>& consumer, bool controlledByApp = false);
|
D | IGraphicBufferConsumer.h | 140 … virtual status_t consumerConnect(const sp<IConsumerListener>& consumer, bool controlledByApp) = 0;
|
D | BufferQueue.h | 253 virtual status_t consumerConnect(const sp<IConsumerListener>& consumer, bool controlledByApp);
|
/frameworks/av/services/camera/libcameraservice/device2/ |
D | Camera2Device.h | 54 virtual status_t createStream(sp<ANativeWindow> consumer, 197 status_t connectToDevice(sp<ANativeWindow> consumer,
|
D | Camera2Device.cpp | 241 status_t Camera2Device::createStream(sp<ANativeWindow> consumer, in createStream() argument 249 res = stream->connectToDevice(consumer, width, height, format, size); in createStream() 991 sp<ANativeWindow> consumer, in connectToDevice() argument 998 if (consumer == NULL) { in connectToDevice() 1006 mConsumerInterface = consumer; in connectToDevice()
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | CameraDeviceBase.h | 89 virtual status_t createStream(sp<ANativeWindow> consumer,
|
/frameworks/base/core/jni/ |
D | android_view_SurfaceControl.cpp | 187 sp<Surface> consumer = android_view_Surface_getSurface(env, surfaceObj); in nativeScreenshot() local 188 if (consumer != NULL) { in nativeScreenshot() 194 displayToken, consumer->getIGraphicBufferProducer(), in nativeScreenshot()
|
/frameworks/native/libs/gui/tests/ |
D | Surface_test.cpp | 92 sp<CpuConsumer> consumer = new CpuConsumer(bq, 1); in TEST_F() local
|
/frameworks/base/docs/html/about/versions/ |
D | android-4.4.jd | 557 <dd>The device is capable of communicating with consumer IR devices.</dd>
|