Lines Matching refs:mProducer
30 explicit ProxyBQP(const sp<IGraphicBufferProducer>& producer) : mProducer(producer) {} in ProxyBQP()
34 return mProducer->requestBuffer(slot, buf); in requestBuffer()
37 return mProducer->setMaxDequeuedBufferCount(maxDequeuedBuffers); in setMaxDequeuedBufferCount()
39 status_t setAsyncMode(bool async) override { return mProducer->setAsyncMode(async); } in setAsyncMode()
43 return mProducer->dequeueBuffer(slot, fence, w, h, format, usage, outBufferAge, in dequeueBuffer()
46 status_t detachBuffer(int slot) override { return mProducer->detachBuffer(slot); } in detachBuffer()
48 return mProducer->detachNextBuffer(outBuffer, outFence); in detachNextBuffer()
51 return mProducer->attachBuffer(outSlot, buffer); in attachBuffer()
55 return mProducer->queueBuffer(slot, input, output); in queueBuffer()
58 return mProducer->cancelBuffer(slot, fence); in cancelBuffer()
60 int query(int what, int* value) override { return mProducer->query(what, value); } in query()
63 return mProducer->connect(listener, api, producerControlledByApp, output); in connect()
66 return mProducer->disconnect(api, mode); in disconnect()
69 return mProducer->setSidebandStream(stream); in setSidebandStream()
73 mProducer->allocateBuffers(width, height, format, usage); in allocateBuffers()
75 status_t allowAllocation(bool allow) override { return mProducer->allowAllocation(allow); } in allowAllocation()
77 return mProducer->setGenerationNumber(generationNumber); in setGenerationNumber()
79 String8 getConsumerName() const override { return mProducer->getConsumerName(); } in getConsumerName()
81 return mProducer->setSharedBufferMode(sharedBufferMode); in setSharedBufferMode()
84 return mProducer->setAutoRefresh(autoRefresh); in setAutoRefresh()
87 return mProducer->setDequeueTimeout(timeout); in setDequeueTimeout()
91 return mProducer->getLastQueuedBuffer(outBuffer, outFence, outTransformMatrix); in getLastQueuedBuffer()
94 status_t getUniqueId(uint64_t* outId) const override { return mProducer->getUniqueId(outId); } in getUniqueId()
96 return mProducer->getConsumerUsage(outUsage); in getConsumerUsage()
100 sp<IGraphicBufferProducer> mProducer; member in android::test::ProxyBQP
116 mProducer->dequeueBuffer(buf, fence, width, height, format, usage, outBufferAge, in dequeueBuffer()