Home | History | Annotate | Download | only in gui

Lines Matching refs:ConsumerBase

19 #define LOG_TAG "ConsumerBase"
34 #include <gui/ConsumerBase.h>
42 // Macros for including the ConsumerBase name in log messages
57 ConsumerBase::ConsumerBase(const sp<IGraphicBufferConsumer>& bufferQueue, bool controlledByApp) :
72 CB_LOGE("ConsumerBase: error connecting to BufferQueue: %s (%d)",
79 ConsumerBase::~ConsumerBase() {
80 CB_LOGV("~ConsumerBase");
84 // be done by ConsumerBase::onLastStrongRef(), but it's possible for a
86 // ConsumerBase::onLastStrongRef().
87 LOG_ALWAYS_FATAL_IF(!mAbandoned, "[%s] ~ConsumerBase was called, but the "
91 void ConsumerBase::onLastStrongRef(const void* id __attribute__((unused))) {
95 void ConsumerBase::freeBufferLocked(int slotIndex) {
102 void ConsumerBase::onFrameAvailable(const BufferItem& item) {
117 void ConsumerBase::onFrameReplaced(const BufferItem &item) {
132 void ConsumerBase::onBuffersReleased() {
151 void ConsumerBase::onSidebandStreamChanged() {
154 void ConsumerBase::abandon() {
164 void ConsumerBase::abandonLocked() {
167 CB_LOGE("abandonLocked: ConsumerBase is abandoned!");
178 bool ConsumerBase::isAbandoned() {
183 void ConsumerBase::setFrameAvailableListener(
190 status_t ConsumerBase::detachBuffer(int slot) {
195 CB_LOGE("detachBuffer: ConsumerBase is abandoned!");
210 status_t ConsumerBase::setDefaultBufferSize(uint32_t width, uint32_t height) {
213 CB_LOGE("setDefaultBufferSize: ConsumerBase is abandoned!");
219 status_t ConsumerBase::setDefaultBufferFormat(PixelFormat defaultFormat) {
222 CB_LOGE("setDefaultBufferFormat: ConsumerBase is abandoned!");
228 status_t ConsumerBase::setDefaultBufferDataSpace(
232 CB_LOGE("setDefaultBufferDataSpace: ConsumerBase is abandoned!");
238 status_t ConsumerBase::getOccupancyHistory(bool forceFlush,
242 CB_LOGE("getOccupancyHistory: ConsumerBase is abandoned!");
248 status_t ConsumerBase::discardFreeBuffers() {
251 CB_LOGE("discardFreeBuffers: ConsumerBase is abandoned!");
257 void ConsumerBase::dump(String8& result) const {
261 void ConsumerBase::dump(String8& result, const char* prefix) const {
266 void ConsumerBase::dumpLocked(String8& result, const char* prefix) const {
274 status_t ConsumerBase::acquireBufferLocked(BufferItem *item,
277 CB_LOGE("acquireBufferLocked: ConsumerBase is abandoned!");
299 status_t ConsumerBase::addReleaseFence(int slot,
305 status_t ConsumerBase::addReleaseFenceLocked(int slot,
334 status_t ConsumerBase::releaseBufferLocked(
338 CB_LOGE("releaseBufferLocked: ConsumerBase is abandoned!");
361 bool ConsumerBase::stillTracking(int slot,