Lines Matching refs:igbProducer

126         auto igbProducer = adapter.getIGraphicBufferProducer();  in setUpProducer()  local
127 ASSERT_NE(nullptr, igbProducer.get()); in setUpProducer()
128 ASSERT_EQ(NO_ERROR, igbProducer->setMaxDequeuedBufferCount(2)); in setUpProducer()
131 igbProducer->connect(new DummyProducerListener, NATIVE_WINDOW_API_CPU, false, in setUpProducer()
134 producer = igbProducer; in setUpProducer()
244 sp<IGraphicBufferProducer> igbProducer; in TEST_F() local
245 setUpProducer(adapter, igbProducer); in TEST_F()
250 auto ret = igbProducer->dequeueBuffer(&slot, &fence, mDisplayWidth, mDisplayHeight, in TEST_F()
254 ASSERT_EQ(OK, igbProducer->requestBuffer(slot, &buf)); in TEST_F()
262 igbProducer->queueBuffer(slot, input, &qbOutput); in TEST_F()
275 sp<IGraphicBufferProducer> igbProducer; in TEST_F() local
276 setUpProducer(adapter, igbProducer); in TEST_F()
281 auto ret = igbProducer->dequeueBuffer(&slot, &fence, mDisplayWidth, mDisplayHeight, in TEST_F()
285 ASSERT_EQ(OK, igbProducer->requestBuffer(slot, &buf)); in TEST_F()
298 igbProducer->queueBuffer(slot, input, &qbOutput); in TEST_F()
316 sp<IGraphicBufferProducer> igbProducer; in TEST_F() local
317 setUpProducer(adapter, igbProducer); in TEST_F()
324 auto ret = igbProducer->dequeueBuffer(&slot, &fence, mDisplayWidth, mDisplayHeight, in TEST_F()
328 ASSERT_EQ(OK, igbProducer->requestBuffer(slot, &buf)); in TEST_F()
332 igbProducer->cancelBuffer(allocated[i].first, allocated[i].second); in TEST_F()
339 auto ret = igbProducer->dequeueBuffer(&slot, &fence, mDisplayWidth, mDisplayHeight, in TEST_F()
348 igbProducer->queueBuffer(slot, input, &qbOutput); in TEST_F()
359 sp<IGraphicBufferProducer> igbProducer; in TEST_F() local
360 setUpProducer(adapter, igbProducer); in TEST_F()
364 auto ret = igbProducer->dequeueBuffer(&slot, &fence, mDisplayWidth, mDisplayHeight, in TEST_F()
368 ASSERT_EQ(OK, igbProducer->requestBuffer(slot, &buf)); in TEST_F()
381 igbProducer->queueBuffer(slot, input, &qbOutput); in TEST_F()
416 sp<IGraphicBufferProducer> igbProducer; in TEST_F() local
417 setUpProducer(adapter, igbProducer); in TEST_F()
421 auto ret = igbProducer->dequeueBuffer(&slot, &fence, bufferSideLength, bufferSideLength, in TEST_F()
425 ASSERT_EQ(OK, igbProducer->requestBuffer(slot, &buf)); in TEST_F()
442 igbProducer->queueBuffer(slot, input, &qbOutput); in TEST_F()
466 sp<IGraphicBufferProducer> igbProducer; in test() local
467 setUpProducer(adapter, igbProducer); in test()
475 auto ret = igbProducer->dequeueBuffer(&slot, &fence, bufWidth, bufHeight, in test()
479 ASSERT_EQ(OK, igbProducer->requestBuffer(slot, &buf)); in test()
488 igbProducer->queueBuffer(slot, input, &qbOutput); in test()
654 void setUpAndQueueBuffer(const sp<IGraphicBufferProducer>& igbProducer, in setUpAndQueueBuffer() argument
661 auto ret = igbProducer->dequeueBuffer(&slot, &fence, mDisplayWidth, mDisplayHeight, in setUpAndQueueBuffer()
665 ASSERT_EQ(OK, igbProducer->requestBuffer(slot, &buf)); in setUpAndQueueBuffer()
675 igbProducer->queueBuffer(slot, input, qbOutput); in setUpAndQueueBuffer()
681 sp<IGraphicBufferProducer> igbProducer; in TEST_F() local
683 setUpProducer(adapter, igbProducer); in TEST_F()
688 setUpAndQueueBuffer(igbProducer, &requestedPresentTimeA, &postedTimeA, &qbOutput, true); in TEST_F()
703 setUpAndQueueBuffer(igbProducer, &requestedPresentTimeB, &postedTimeB, &qbOutput, true); in TEST_F()