Home
last modified time | relevance | path

Searched refs:mBufferState (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/jni/tvinput/
DBufferProducerThread.cpp27 mBufferState(RELEASED), in BufferProducerThread()
61 if (mBufferState == CAPTURING) { in setSurfaceLocked()
64 while (mBufferState == CAPTURING) { in setSurfaceLocked()
72 mBufferState = RELEASED; in setSurfaceLocked()
83 if (mBufferState != CAPTURING) { in onCaptured()
84 ALOGW("mBufferState != CAPTURING : instead %d", mBufferState); in onCaptured()
87 mBufferState = CAPTURED; in onCaptured()
90 mBufferState = RELEASED; in onCaptured()
116 while (mBufferState == CAPTURING) { in threadLoop()
123 if (mBufferState == CAPTURED && anw != NULL) { in threadLoop()
[all …]
DBufferProducerThread.h47 } mBufferState; variable
/frameworks/native/libs/gui/
DBufferQueueConsumer.cpp93 if (mSlots[s].mBufferState.isAcquired()) { in acquireBuffer()
180 mSlots[front->mSlot].mBufferState.freeQueued(); in acquireBuffer()
186 mSlots[front->mSlot].mBufferState.isFree()) { in acquireBuffer()
187 mSlots[front->mSlot].mBufferState.mShared = false; in acquireBuffer()
191 if (!mSlots[front->mSlot].mBufferState.isShared()) { in acquireBuffer()
279 mSlots[slot].mBufferState.acquireNotInQueue(); in acquireBuffer()
281 mSlots[slot].mBufferState.acquire(); in acquireBuffer()
338 } else if (!mSlots[slot].mBufferState.isAcquired()) { in detachBuffer()
340 "(state = %s)", slot, mSlots[slot].mBufferState.string()); in detachBuffer()
347 mSlots[slot].mBufferState.detachConsumer(); in detachBuffer()
[all …]
DBufferQueueCore.cpp195 (mSlots[s].mBufferState.isAcquired()) ? ">" : " ", s, in dumpState()
197 outResult->appendFormat("state=%-8s %p frame=%" PRIu64, mSlots[s].mBufferState.string(), in dumpState()
204 mSlots[s].mBufferState.string(), mSlots[s].mFrameNumber); in dumpState()
210 outResult->appendFormat("state=%-8s %p frame=%" PRIu64, mSlots[s].mBufferState.string(), in dumpState()
219 mSlots[s].mBufferState.string()); in dumpState()
259 mSlots[slot].mBufferState.reset(); in clearBufferSlotLocked()
405 if (!mSlots[slot].mBufferState.isFree()) { in validateConsistencyLocked()
427 if (!mSlots[slot].mBufferState.isFree()) { in validateConsistencyLocked()
450 if (!mSlots[slot].mBufferState.isFree()) { in validateConsistencyLocked()
473 if (mSlots[slot].mBufferState.isFree() && in validateConsistencyLocked()
[all …]
DBufferQueueProducer.cpp112 } else if (!mSlots[slot].mBufferState.isDequeued()) { in requestBuffer()
114 "(state = %s)", slot, mSlots[slot].mBufferState.string()); in requestBuffer()
156 if (mSlots[s].mBufferState.isDequeued()) { in setMaxDequeuedBufferCount()
299 if (mSlots[s].mBufferState.isDequeued()) { in waitForFreeSlotThenRelock()
302 if (mSlots[s].mBufferState.isAcquired()) { in waitForFreeSlotThenRelock()
517 mSlots[found].mBufferState.dequeue(); in dequeueBuffer()
578 mSlots[found].mBufferState.mShared = true; in dequeueBuffer()
718 } else if (!mSlots[slot].mBufferState.isDequeued()) { in detachBuffer()
723 "(state = %s)", slot, mSlots[slot].mBufferState.string()); in detachBuffer()
737 mSlots[slot].mBufferState.detachProducer(); in detachBuffer()
[all …]
/frameworks/native/libs/gui/include/gui/
DBufferSlot.h181 mBufferState(), in BufferSlot()
198 BufferState mBufferState; member