Lines Matching defs:ConsumerBase

38 // ConsumerBase is a base class for BufferQueue consumer end-points. It
41 class ConsumerBase : public virtual RefBase,
50 virtual ~ConsumerBase();
52 // abandon frees all the buffers and puts the ConsumerBase into the
53 // 'abandoned' state. Once put in this state the ConsumerBase can never
58 // from the perspective of the the ConsumerBase, if there are additional
63 // Returns true if the ConsumerBase is in the 'abandoned' state
66 // set the name of the ConsumerBase that will be used to identify it in
100 ConsumerBase(const ConsumerBase&);
101 void operator=(const ConsumerBase&);
104 // ConsumerBase constructs a new ConsumerBase object to consume image
108 explicit ConsumerBase(const sp<IGraphicBufferConsumer>& consumer, bool controlledByApp = false);
111 // derived class. It is used to clean up the buffers so that ConsumerBase
118 // if they are overridden the ConsumerBase implementation must be called
123 // calls are used to notify the ConsumerBase of asynchronous events in the
126 // classes, but if they are overridden the ConsumerBase implementation must
127 // be called from the derived class. The ConsumerBase version of
141 // must call ConsumerBase::freeBufferLocked.
153 // the derived class's implementation must call ConsumerBase::abandonLocked.
158 // dumpLocked dumps the current state of the ConsumerBase object to the
166 // should call ConsumerBase::dumpLocked.
177 // call ConsumerBase::acquireBufferLocked.
187 // ConsumerBase::releaseBufferLocked.
206 // ConsumerBase maintains about a BufferQueue buffer slot.
238 // mName is a string used to identify the ConsumerBase in log messages.
249 // The ConsumerBase has-a BufferQueue and is responsible for creating this object
258 // variables of ConsumerBase objects. It must be locked whenever the