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
105 // classes, but if they are overridden the ConsumerBase implementation
116 // must call ConsumerBase::freeBufferLocked.
128 // the derived class's implementation must call ConsumerBase::abandonLocked.
133 // dumpLocked dumps the current state of the ConsumerBase object to the
141 // should call ConsumerBase::dumpLocked.
152 // call ConsumerBase::acquireBufferLocked.
162 // ConsumerBase::releaseBufferLocked.e
181 // ConsumerBase maintains about a BufferQueue buffer slot.
213 // mName is a string used to identify the ConsumerBase in log messages.
222 // The ConsumerBase has-a BufferQueue and is responsible for creating this object
227 // variables of ConsumerBase objects. It must be locked whenever the