Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DBufferHubProducer.cpp59 } else if (!buffers_[slot].mBufferState.isDequeued()) { in requestBuffer()
61 buffers_[slot].mBufferState.string()); in requestBuffer()
98 if (buf.mBufferState.isDequeued()) { in setMaxDequeuedBufferCount()
204 LOG_ALWAYS_FATAL_IF((!buffers_[slot].mBufferState.isFree() && in dequeueBuffer()
205 !buffers_[slot].mBufferState.isQueued()), in dequeueBuffer()
207 buffers_[slot].mBufferState.string()); in dequeueBuffer()
209 buffers_[slot].mBufferState.freeQueued(); in dequeueBuffer()
210 buffers_[slot].mBufferState.dequeue(); in dequeueBuffer()
243 } else if (!buffers_[slot].mBufferState.isDequeued()) { in DetachBufferLocked()
245 buffers_[slot].mBufferState.string()); in DetachBufferLocked()
[all …]
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()
337 } else if (!mSlots[slot].mBufferState.isAcquired()) { in detachBuffer()
339 "(state = %s)", slot, mSlots[slot].mBufferState.string()); in detachBuffer()
343 mSlots[slot].mBufferState.detachConsumer(); in detachBuffer()
[all …]
DBufferQueueCore.cpp197 (mSlots[s].mBufferState.isAcquired()) ? ">" : " ", s, in dumpState()
199 outResult->appendFormat("state=%-8s %p frame=%" PRIu64, mSlots[s].mBufferState.string(), in dumpState()
206 mSlots[s].mBufferState.string(), mSlots[s].mFrameNumber); in dumpState()
212 outResult->appendFormat("state=%-8s %p frame=%" PRIu64, mSlots[s].mBufferState.string(), in dumpState()
221 mSlots[s].mBufferState.string()); in dumpState()
261 mSlots[slot].mBufferState.reset(); in clearBufferSlotLocked()
407 if (!mSlots[slot].mBufferState.isFree()) { in validateConsistencyLocked()
429 if (!mSlots[slot].mBufferState.isFree()) { in validateConsistencyLocked()
452 if (!mSlots[slot].mBufferState.isFree()) { in validateConsistencyLocked()
475 if (mSlots[slot].mBufferState.isFree() && in validateConsistencyLocked()
[all …]
DBufferQueueProducer.cpp109 } else if (!mSlots[slot].mBufferState.isDequeued()) { in requestBuffer()
111 "(state = %s)", slot, mSlots[slot].mBufferState.string()); in requestBuffer()
145 if (mSlots[s].mBufferState.isDequeued()) { in setMaxDequeuedBufferCount()
287 if (mSlots[s].mBufferState.isDequeued()) { in waitForFreeSlotThenRelock()
290 if (mSlots[s].mBufferState.isAcquired()) { in waitForFreeSlotThenRelock()
491 mSlots[found].mBufferState.dequeue(); in dequeueBuffer()
536 mSlots[found].mBufferState.mShared = true; in dequeueBuffer()
647 } else if (!mSlots[slot].mBufferState.isDequeued()) { in detachBuffer()
649 "(state = %s)", slot, mSlots[slot].mBufferState.string()); in detachBuffer()
662 mSlots[slot].mBufferState.detachProducer(); in detachBuffer()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvInputHal.cpp114 } mBufferState; member in android::BufferProducerThread
129 mBufferState(RELEASED), in BufferProducerThread()
163 if (mBufferState == CAPTURING) { in setSurfaceLocked()
166 while (mBufferState == CAPTURING) { in setSurfaceLocked()
174 mBufferState = RELEASED; in setSurfaceLocked()
185 if (mBufferState != CAPTURING) { in onCaptured()
186 ALOGW("mBufferState != CAPTURING : instead %d", mBufferState); in onCaptured()
189 mBufferState = CAPTURED; in onCaptured()
192 mBufferState = RELEASED; in onCaptured()
218 while (mBufferState == CAPTURING) { in threadLoop()
[all …]
/frameworks/native/libs/gui/include/gui/
DBufferSlot.h179 mBufferState(), in BufferSlot()
196 BufferState mBufferState; member