Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DBufferQueueConsumer.cpp68 if (mSlots[s].mBufferState.isAcquired()) { in acquireBuffer()
154 mSlots[front->mSlot].mBufferState.freeQueued(); in acquireBuffer()
160 mSlots[front->mSlot].mBufferState.isFree()) { in acquireBuffer()
161 mSlots[front->mSlot].mBufferState.mShared = false; in acquireBuffer()
165 if (!mSlots[front->mSlot].mBufferState.isShared()) { in acquireBuffer()
247 mSlots[slot].mBufferState.acquireNotInQueue(); in acquireBuffer()
249 mSlots[slot].mBufferState.acquire(); in acquireBuffer()
304 } else if (!mSlots[slot].mBufferState.isAcquired()) { in detachBuffer()
306 "(state = %s)", slot, mSlots[slot].mBufferState.string()); in detachBuffer()
310 mSlots[slot].mBufferState.detachConsumer(); in detachBuffer()
[all …]
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()
294 } else if (!buffers_[slot].mBufferState.isDequeued()) { in queueBuffer()
296 buffers_[slot].mBufferState.string()); in queueBuffer()
[all …]
DBufferQueueCore.cpp144 (mSlots[s].mBufferState.isAcquired()) ? ">" : " ", s, in dumpState()
146 outResult->appendFormat("state=%-8s %p frame=%" PRIu64, mSlots[s].mBufferState.string(), in dumpState()
153 mSlots[s].mBufferState.string(), mSlots[s].mFrameNumber); in dumpState()
159 outResult->appendFormat("state=%-8s %p frame=%" PRIu64, mSlots[s].mBufferState.string(), in dumpState()
168 mSlots[s].mBufferState.string()); in dumpState()
208 mSlots[slot].mBufferState.reset(); in clearBufferSlotLocked()
348 if (!mSlots[slot].mBufferState.isFree()) { in validateConsistencyLocked()
370 if (!mSlots[slot].mBufferState.isFree()) { in validateConsistencyLocked()
393 if (!mSlots[slot].mBufferState.isFree()) { in validateConsistencyLocked()
416 if (mSlots[slot].mBufferState.isFree() && in validateConsistencyLocked()
[all …]
DBufferQueueProducer.cpp84 } else if (!mSlots[slot].mBufferState.isDequeued()) { in requestBuffer()
86 "(state = %s)", slot, mSlots[slot].mBufferState.string()); in requestBuffer()
120 if (mSlots[s].mBufferState.isDequeued()) { in setMaxDequeuedBufferCount()
262 if (mSlots[s].mBufferState.isDequeued()) { in waitForFreeSlotThenRelock()
265 if (mSlots[s].mBufferState.isAcquired()) { in waitForFreeSlotThenRelock()
451 mSlots[found].mBufferState.dequeue(); in dequeueBuffer()
496 mSlots[found].mBufferState.mShared = true; in dequeueBuffer()
597 } else if (!mSlots[slot].mBufferState.isDequeued()) { in detachBuffer()
599 "(state = %s)", slot, mSlots[slot].mBufferState.string()); in detachBuffer()
607 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