/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
SharedBuffer.java | 26 private volatile Buffer mConsumer = null; 50 return mConsumer; 65 mIntermediate = mConsumer; 66 mConsumer = intermediate;
|
/frameworks/native/libs/gui/tests/ |
SurfaceTextureGL.h | 41 BufferQueue::createBufferQueue(&producer, &mConsumer); 42 mST = new GLConsumer(mConsumer, TEX_ID, GLConsumer::TEXTURE_EXTERNAL, 64 sp<IGraphicBufferConsumer> mConsumer;
|
BufferQueue_test.cpp | 69 BufferQueue::createBufferQueue(&mProducer, &mConsumer); 94 sp<IGraphicBufferConsumer> mConsumer; 128 mConsumer = interface_cast<IGraphicBufferConsumer>(binderConsumer); 129 EXPECT_TRUE(mConsumer != NULL); 132 ASSERT_EQ(OK, mConsumer->consumerConnect(dc, false)); 157 ASSERT_EQ(OK, mConsumer->acquireBuffer(&item, 0)); 169 mConsumer->consumerConnect(dc, false); 189 ASSERT_EQ(OK, mConsumer->acquireBuffer(&item, 0)); 199 ASSERT_EQ(INVALID_OPERATION, mConsumer->acquireBuffer(&item, 0)); 205 mConsumer->consumerConnect(dc, false) [all...] |
IGraphicBufferProducer_test.cpp | 86 BufferQueue::createBufferQueue(&mProducer, &mConsumer); 92 ASSERT_OK(mConsumer->consumerConnect(mDC, /*controlledByApp*/false)); 227 sp<IGraphicBufferConsumer> mConsumer; 258 ASSERT_OK(mConsumer->consumerDisconnect()); 332 ASSERT_OK(mConsumer->consumerDisconnect()); 468 ASSERT_OK(mConsumer->consumerDisconnect()); 583 ASSERT_OK(mConsumer->consumerDisconnect()); 592 ASSERT_OK(mConsumer->setMaxAcquiredBufferCount(1)) << "maxAcquire: " << 1; 629 ASSERT_OK(mConsumer->consumerDisconnect());
|
/frameworks/av/media/libstagefright/filters/ |
GraphicBufferListener.cpp | 36 BufferQueue::createBufferQueue(&mProducer, &mConsumer); 37 mConsumer->setConsumerName(name); 38 mConsumer->setDefaultBufferSize(bufferWidth, bufferHeight); 39 mConsumer->setConsumerUsageBits(GRALLOC_USAGE_SW_READ_OFTEN); 41 status_t err = mConsumer->setMaxAcquiredBufferCount(bufferCount); 53 err = mConsumer->consumerConnect(proxy, false); 100 status_t err = mConsumer->acquireBuffer(&item, 0); 148 mConsumer->releaseBuffer(item.mSlot, item.mFrameNumber,
|
GraphicBufferListener.h | 59 // getIGraphicBufferProducer, and mConsumer is used internally to retrieve 62 sp<IGraphicBufferConsumer> mConsumer;
|
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3OutputStream.cpp | 41 mConsumer(consumer), 48 if (mConsumer == NULL) { 65 mConsumer(consumer), 79 if (mConsumer == NULL) { 95 mConsumer(nullptr), 141 // Subclasses expected to initialize mConsumer themselves 168 res = mConsumer->attachBuffer(anb); 199 sp<ANativeWindow> currentConsumer = mConsumer; 266 sp<ANativeWindow> currentConsumer = mConsumer; 300 res = native_window_set_buffers_timestamp(mConsumer.get() [all...] |
Camera3InputStream.cpp | 65 assert(mConsumer != 0); 69 res = mConsumer->acquireBuffer(&bufferItem, /*waitForFence*/false); 148 res = mConsumer->releaseBuffer(bufferItem, releaseFence); 191 mConsumer->abandon(); 224 if (mConsumer.get() == 0) { 257 mConsumer = new BufferItemConsumer(consumer, camera3_stream::usage, 259 mConsumer->setName(String8::format("Camera3-InputStream-%d", mId)); 264 res = mConsumer->setDefaultBufferSize(camera3_stream::width, 271 res = mConsumer->setDefaultBufferFormat(camera3_stream::format);
|
Camera3InputStream.h | 51 sp<BufferItemConsumer> mConsumer;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
QueryTask.java | 38 private final Consumer<C> mConsumer; 56 mConsumer = consumer; 68 Consumers.consumeCloseableAsync(mHandler, mConsumer, cursor);
|
/frameworks/native/libs/gui/ |
ConsumerBase.cpp | 59 mConsumer(bufferQueue) { 70 status_t err = mConsumer->consumerConnect(proxy, controlledByApp); 75 mConsumer->setConsumerName(mName); 143 mConsumer->getReleasedBuffers(&mask); 174 mConsumer->consumerDisconnect(); 175 mConsumer.clear(); 199 status_t result = mConsumer->detachBuffer(slot); 216 return mConsumer->setDefaultBufferSize(width, height); 225 return mConsumer->setDefaultBufferFormat(defaultFormat); 235 return mConsumer->setDefaultBufferDataSpace(defaultDataSpace) [all...] |
BufferItemConsumer.cpp | 38 status_t err = mConsumer->setConsumerUsageBits(consumerUsage); 42 err = mConsumer->setMaxAcquiredBufferCount(bufferCount); 57 mConsumer->setConsumerName(name);
|
CpuConsumer.cpp | 43 mConsumer->setConsumerUsageBits(GRALLOC_USAGE_SW_READ_OFTEN); 44 mConsumer->setMaxAcquiredBufferCount(static_cast<int32_t>(maxLockedBuffers)); 60 mConsumer->setConsumerName(name);
|
/frameworks/av/services/camera/libcameraservice/gui/ |
RingBufferConsumer.h | 124 mConsumer(consumer), 129 sp<RingBufferConsumer> consumer = mConsumer.promote(); 143 wp<RingBufferConsumer> mConsumer;
|
RingBufferConsumer.cpp | 47 mConsumer->setConsumerUsageBits(consumerUsage); 48 mConsumer->setMaxAcquiredBufferCount(bufferCount); 59 mConsumer->setConsumerName(name); 363 return mConsumer->setDefaultBufferSize(w, h); 368 return mConsumer->setDefaultBufferFormat(defaultFormat); 373 return mConsumer->setConsumerUsageBits(usage);
|
/frameworks/native/libs/input/tests/ |
InputPublisherAndConsumer_test.cpp | 35 InputConsumer* mConsumer; 43 mConsumer = new InputConsumer(clientChannel); 52 if (mConsumer) { 53 delete mConsumer; 54 mConsumer = NULL; 67 EXPECT_EQ(clientChannel.get(), mConsumer->getChannel().get()); 92 status = mConsumer->consume(&mEventFactory, true /*consumeBatches*/, -1, &consumeSeq, &event); 114 status = mConsumer->sendFinishedSignal(seq, true); 176 status = mConsumer->consume(&mEventFactory, true /*consumeBatches*/, -1, &consumeSeq, &event); 230 status = mConsumer->sendFinishedSignal(seq, false) [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
FramebufferSurface.cpp | 79 mConsumer->setConsumerName(mName); 80 mConsumer->setConsumerUsageBits(GRALLOC_USAGE_HW_FB | 85 mConsumer->setDefaultBufferSize(activeConfig->getWidth(), 88 mConsumer->setDefaultBufferFormat(mHwc.getFormat(disp)); 89 mConsumer->setDefaultBufferSize(mHwc.getWidth(disp), mHwc.getHeight(disp)); 91 mConsumer->setMaxAcquiredBufferCount(NUM_FRAMEBUFFER_SURFACE_BUFFERS - 1);
|
/frameworks/av/media/libstagefright/omx/ |
GraphicBufferSource.cpp | 52 mConsumer(consumer) {} 62 sp<IGraphicBufferConsumer> consumer(mConsumer.promote()); 128 mConsumer(consumer), 160 if (mConsumer == NULL) { 163 BufferQueue::createBufferQueue(&mProducer, &mConsumer); 164 mConsumer->setConsumerName(name); 169 mConsumer->setConsumerUsageBits(consumerUsage); 171 mInitCheck = mConsumer->setMaxAcquiredBufferCount(bufferCount); 180 mConsumer->setDefaultBufferSize(bufferWidth, bufferHeight); 190 proxy = new PersistentProxyListener(mConsumer, listener) [all...] |
GraphicBufferSource.h | 198 // mConsumer is a weak reference to the IGraphicBufferConsumer, use 199 // a weak ref to avoid circular ref between mConsumer and this class 200 wp<IGraphicBufferConsumer> mConsumer; 276 // getIGraphicBufferProducer, and mConsumer is used internally to retrieve 280 sp<IGraphicBufferConsumer> mConsumer;
|
/frameworks/av/media/libstagefright/ |
SurfaceMediaSource.cpp | 61 BufferQueue::createBufferQueue(&mProducer, &mConsumer); 62 mConsumer->setDefaultBufferSize(bufferWidth, bufferHeight); 63 mConsumer->setConsumerUsageBits(GRALLOC_USAGE_HW_VIDEO_ENCODER | 75 status_t err = mConsumer->consumerConnect(proxy, false); 115 mConsumer->dump(result, ""); 173 mConsumer->setMaxAcquiredBufferCount(mMaxAcquiredBufferCount); 230 return mConsumer->consumerDisconnect(); 290 status_t err = mConsumer->acquireBuffer(&item, 0); 313 mConsumer->releaseBuffer( 413 mConsumer->releaseBuffer(id, mSlots[id].mFrameNumber [all...] |
/frameworks/av/services/camera/libcameraservice/ |
CameraFlashlight.h | 167 sp<IGraphicBufferConsumer> mConsumer; 220 sp<IGraphicBufferConsumer> mConsumer;
|
CameraFlashlight.cpp | 368 mConsumer.clear(); 383 BufferQueue::createBufferQueue(&mProducer, &mConsumer); 385 mSurfaceTexture = new GLConsumer(mConsumer, 0, GLConsumer::TEXTURE_EXTERNAL, 662 mConsumer.clear(); 817 BufferQueue::createBufferQueue(&mProducer, &mConsumer); 819 mSurfaceTexture = new GLConsumer(mConsumer, 0, GLConsumer::TEXTURE_EXTERNAL,
|
/frameworks/av/include/media/stagefright/ |
SurfaceMediaSource.h | 156 sp<IGraphicBufferConsumer> mConsumer;
|
/frameworks/base/libs/hwui/utils/ |
TestWindowContext.cpp | 61 android::BufferQueue::createBufferQueue(&mProducer, &mConsumer); 62 mCpuConsumer = new android::CpuConsumer(mConsumer, 1); 180 android::sp<android::IGraphicBufferConsumer> mConsumer;
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
FolderWatcher.java | 57 private UnreadCountChangedListener mConsumer; 73 mConsumer = listener; 236 mConsumer.onUnreadCountChange();
|