/frameworks/native/services/surfaceflinger/tests/unittests/mock/system/window/ |
H A D | MockNativeWindow.h | 40 MOCK_METHOD2(dequeueBuffer, int(struct ANativeWindowBuffer**, int*));
|
H A D | MockNativeWindow.cpp | 58 return static_cast<NativeWindow*>(window)->dequeueBuffer(buffer, fenceFd); 84 ANativeWindow::dequeueBuffer = &dispatch_dequeueBuffer; member in class:android::mock::ANativeWindow
|
/frameworks/native/libs/gui/tests/ |
H A D | BufferQueue_test.cpp | 147 mProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, 191 mProducer->dequeueBuffer(&slot, &fence, 1, 1, 0, GRALLOC_USAGE_SW_READ_OFTEN, 199 mProducer->dequeueBuffer(&slot, &fence, 1, 1, 0, GRALLOC_USAGE_SW_READ_OFTEN, 242 mProducer->dequeueBuffer(&slot, &fence, 1, 1, 0, GRALLOC_USAGE_SW_READ_OFTEN, 278 mProducer->dequeueBuffer(&slot, &fence, 1, 1, 0, GRALLOC_USAGE_SW_READ_OFTEN, 288 mProducer->dequeueBuffer(&slot, &fence, 1, 1, 0, GRALLOC_USAGE_SW_READ_OFTEN, 338 mProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, 387 mProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, 423 mProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, 446 mProducer->dequeueBuffer( [all...] |
H A D | IGraphicBufferProducer_test.cpp | 217 // To easily store dequeueBuffer results into containers 223 status_t dequeueBuffer(uint32_t w, uint32_t h, uint32_t format, uint32_t usage, DequeueBufferResult* result) { function in class:android::IGraphicBufferProducerTest 224 return mProducer->dequeueBuffer(&result->slot, &result->fence, w, h, format, usage, 240 (mProducer->dequeueBuffer(slot, fence, DEFAULT_WIDTH, DEFAULT_HEIGHT, 385 (mProducer->dequeueBuffer(&dequeuedSlot, &dequeuedFence, DEFAULT_WIDTH, 450 (mProducer->dequeueBuffer(&dequeuedSlot, &dequeuedFence, DEFAULT_WIDTH, 521 (mProducer->dequeueBuffer(&dequeuedSlot, &dequeuedFence, DEFAULT_WIDTH, 548 (dequeueBuffer(DEFAULT_WIDTH, DEFAULT_HEIGHT, DEFAULT_FORMAT, 569 (mProducer->dequeueBuffer(&dequeuedSlot, &dequeuedFence, DEFAULT_WIDTH, 606 (mProducer->dequeueBuffer( [all...] |
H A D | StreamSplitter_test.cpp | 85 inputProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, 119 inputProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, 157 inputProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, 194 inputProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, 221 inputProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN, 235 inputProducer->dequeueBuffer(&slot, &fence, 0, 0, 0, GRALLOC_USAGE_SW_WRITE_OFTEN,
|
H A D | Malicious.cpp | 40 status_t dequeueBuffer(int* slot, sp<Fence>* fence, uint32_t w, uint32_t h, PixelFormat format, 43 return mProducer->dequeueBuffer(slot, fence, w, h, format, usage, outBufferAge, 111 // Override dequeueBuffer, optionally corrupting the returned slot number 112 status_t dequeueBuffer(int* buf, sp<Fence>* fence, uint32_t width, uint32_t height, 116 mProducer->dequeueBuffer(buf, fence, width, height, format, usage, outBufferAge,
|
H A D | BufferItemConsumer_test.cpp | 79 status_t ret = mProducer->dequeueBuffer(&slot, &outFence, kWidth, kHeight, 0, 0, 83 ALOGV("dequeueBuffer: slot=%d", slot);
|
H A D | Surface_test.cpp | 242 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffer, &fenceFd)); 259 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffer, &fenceFd)); 391 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffer, &fence)); 395 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffer, &fence)); 424 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffers[i], &fences[i])); 441 // Test removed buffer list is cleanup after next dequeueBuffer call 443 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffers[0], &fences[0])); 457 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffers[i], &fences[i])); 479 anw->dequeueBuffer(anw.get(), &buffer, &fenceFd); 849 mWindow->dequeueBuffer(mWindo [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | VirtualDisplaySurface.h | 104 virtual status_t dequeueBuffer(int* pslot, sp<Fence>* fence, uint32_t w, uint32_t h, 136 status_t dequeueBuffer(Source source, PixelFormat format, uint64_t usage, 174 // dequeueBuffer. Each bit in mProducerSlotSource corresponds to a producer 221 // | PREPARED | dequeueBuffer [1] || GLES |
|
H A D | VirtualDisplaySurface.cpp | 170 // dequeueBuffer(). 197 // in a GLES configuration, if the sink disappears then dequeueBuffer 314 status_t VirtualDisplaySurface::dequeueBuffer(Source source, function in class:android::VirtualDisplaySurface 319 mSource[source]->dequeueBuffer(sslot, fence, mSinkBufferWidth, mSinkBufferHeight, 324 VDS_LOGV("dequeueBuffer(%s): sslot=%d pslot=%d result=%d", 349 VDS_LOGV("dequeueBuffer(%s): buffers[%d]=%p fmt=%d usage=%#" PRIx64, 358 status_t VirtualDisplaySurface::dequeueBuffer(int* pslot, sp<Fence>* fence, uint32_t w, uint32_t h, function in class:android::VirtualDisplaySurface 363 return mSource[SOURCE_SINK]->dequeueBuffer(pslot, fence, w, h, format, usage, outBufferAge, 368 "Unexpected dequeueBuffer() in %s state", dbgStateStr()); 371 VDS_LOGV("dequeueBuffer [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | MonitoredProducer.cpp | 58 status_t MonitoredProducer::dequeueBuffer(int* slot, sp<Fence>* fence, uint32_t w, uint32_t h, function in class:android::MonitoredProducer 62 return mProducer->dequeueBuffer(slot, fence, w, h, format, usage, outBufferAge, outTimestamps);
|
H A D | MonitoredProducer.h | 42 virtual status_t dequeueBuffer(int* slot, sp<Fence>* fence, uint32_t w, uint32_t h,
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/gui/ |
H A D | MockGraphicBufferProducer.h | 36 MOCK_METHOD8(dequeueBuffer,
|
/frameworks/native/include/gui/ |
H A D | BufferHubProducer.h | 61 // See |IGraphicBufferProducer::dequeueBuffer| 62 status_t dequeueBuffer(int* out_slot, sp<Fence>* out_fence, uint32_t width, uint32_t height, 184 // Sets how long dequeueBuffer or attachBuffer will block if a buffer or
|
H A D | BufferQueueProducer.h | 38 // by dequeueBuffer. It must be called again if dequeueBuffer returns 48 // dequeueBuffer gets the next buffer slot index for the producer to use. 83 virtual status_t dequeueBuffer(int* outSlot, sp<Fence>* outFence, uint32_t width, 120 // will usually be the one obtained from dequeueBuffer. 145 // from the producer to the consumer without using dequeueBuffer/ 221 // It's updated during connect and dequeueBuffer (which should catch 250 // Sets how long dequeueBuffer or attachBuffer will block if a buffer or
|
H A D | IGraphicBufferProducer.h | 57 * dequeueBuffer() to get an empty buffer, fills it with data, then 68 // A flag returned by dequeueBuffer when the client needs to call 71 // A flag returned by dequeueBuffer when all mirrored slots should be 143 // dequeueBuffer requests a new buffer slot for the client to use. Ownership 156 // If dequeueBuffer returns the BUFFER_NEEDS_REALLOCATION flag, the client is 159 // If dequeueBuffer returns the RELEASE_ALL_BUFFERS flag, the client is 206 virtual status_t dequeueBuffer(int* slot, sp<Fence>* fence, uint32_t w, uint32_t h, 214 // hold a freshly allocated buffer in dequeueBuffer or a buffer is attached 227 // detachNextBuffer is equivalent to calling dequeueBuffer, requestBuffer, 238 // equivalent to fence from the dequeueBuffer cal [all...] |
/frameworks/native/include/gui/bufferqueue/1.0/ |
H A D | H2BGraphicBufferProducer.h | 67 status_t dequeueBuffer(int* slot, sp<Fence>* fence, uint32_t w, uint32_t h,
|
/frameworks/native/libs/gui/include/gui/ |
H A D | BufferHubProducer.h | 61 // See |IGraphicBufferProducer::dequeueBuffer| 62 status_t dequeueBuffer(int* out_slot, sp<Fence>* out_fence, uint32_t width, uint32_t height, 184 // Sets how long dequeueBuffer or attachBuffer will block if a buffer or
|
H A D | BufferQueueProducer.h | 38 // by dequeueBuffer. It must be called again if dequeueBuffer returns 48 // dequeueBuffer gets the next buffer slot index for the producer to use. 83 virtual status_t dequeueBuffer(int* outSlot, sp<Fence>* outFence, uint32_t width, 120 // will usually be the one obtained from dequeueBuffer. 145 // from the producer to the consumer without using dequeueBuffer/ 221 // It's updated during connect and dequeueBuffer (which should catch 250 // Sets how long dequeueBuffer or attachBuffer will block if a buffer or
|
H A D | IGraphicBufferProducer.h | 57 * dequeueBuffer() to get an empty buffer, fills it with data, then 68 // A flag returned by dequeueBuffer when the client needs to call 71 // A flag returned by dequeueBuffer when all mirrored slots should be 143 // dequeueBuffer requests a new buffer slot for the client to use. Ownership 156 // If dequeueBuffer returns the BUFFER_NEEDS_REALLOCATION flag, the client is 159 // If dequeueBuffer returns the RELEASE_ALL_BUFFERS flag, the client is 206 virtual status_t dequeueBuffer(int* slot, sp<Fence>* fence, uint32_t w, uint32_t h, 214 // hold a freshly allocated buffer in dequeueBuffer or a buffer is attached 227 // detachNextBuffer is equivalent to calling dequeueBuffer, requestBuffer, 238 // equivalent to fence from the dequeueBuffer cal [all...] |
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/ |
H A D | H2BGraphicBufferProducer.h | 67 status_t dequeueBuffer(int* slot, sp<Fence>* fence, uint32_t w, uint32_t h,
|
/frameworks/native/libs/vr/libbufferhubqueue/tests/ |
H A D | buffer_hub_queue_producer-test.cpp | 126 int ret = mProducer->dequeueBuffer( 449 (mProducer->dequeueBuffer(&slot, &fence, kDefaultWidth, 466 ASSERT_EQ(NO_INIT, mProducer->dequeueBuffer(&slot, &fence, kDefaultWidth,
|
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/ |
H A D | WGraphicBufferProducer.h | 88 Return<void> dequeueBuffer( 95 status_t status = mBase->dequeueBuffer( 104 LOG(ERROR) << "TWGraphicBufferProducer::dequeueBuffer - " 114 LOG(ERROR) << "TWGraphicBufferProducer::dequeueBuffer - "
|
/frameworks/native/libs/nativewindow/ |
H A D | ANativeWindow.cpp | 227 return window->dequeueBuffer(window, buffer, fenceFd);
|
/frameworks/native/libs/gui/ |
H A D | Surface.cpp | 65 ANativeWindow::dequeueBuffer = hook_dequeueBuffer; member in class:android::ANativeWindow 386 return c->dequeueBuffer(buffer, fenceFd); 406 int result = c->dequeueBuffer(&buf, &fenceFd); 473 int Surface::dequeueBuffer(android_native_buffer_t** buffer, int* fenceFd) { function in class:android::Surface 475 ALOGV("Surface::dequeueBuffer"); 506 } // Drop the lock so that we can still touch the Surface while blocking in IGBP::dequeueBuffer 513 status_t result = mGraphicBufferProducer->dequeueBuffer(&buf, &fence, reqWidth, reqHeight, 520 ALOGV("dequeueBuffer: IGraphicBufferProducer::dequeueBuffer" 527 ALOGE("dequeueBuffer [all...] |