Lines Matching defs:ConsumerBase
34 // ConsumerBase is a base class for BufferQueue consumer end-points. It
37 class ConsumerBase : public virtual RefBase,
52 virtual ~ConsumerBase();
54 // abandon frees all the buffers and puts the ConsumerBase into the
55 // 'abandoned' state. Once put in this state the ConsumerBase can never
60 // from the perspective of the the ConsumerBase, if there are additional
65 // set the name of the ConsumerBase that will be used to identify it in
80 ConsumerBase(const ConsumerBase&);
81 void operator=(const ConsumerBase&);
84 // ConsumerBase constructs a new ConsumerBase object to consume image
88 ConsumerBase(const sp<IGraphicBufferConsumer>& consumer, bool controlledByApp = false);
91 // derived class. It is used to clean up the buffers so that ConsumerBase
98 // if they are overridden the ConsumerBase implementation must be called
103 // calls are used to notify the ConsumerBase of asynchronous events in the
106 // the ConsumerBase implementation must be called from the derived class.
107 // The ConsumerBase version of onSidebandStreamChanged does nothing and can
119 // must call ConsumerBase::freeBufferLocked.
131 // the derived class's implementation must call ConsumerBase::abandonLocked.
136 // dumpLocked dumps the current state of the ConsumerBase object to the
144 // should call ConsumerBase::dumpLocked.
155 // call ConsumerBase::acquireBufferLocked.
165 // ConsumerBase::releaseBufferLocked.e
184 // ConsumerBase maintains about a BufferQueue buffer slot.
216 // mName is a string used to identify the ConsumerBase in log messages.
225 // The ConsumerBase has-a BufferQueue and is responsible for creating this object
230 // variables of ConsumerBase objects. It must be locked whenever the