/frameworks/native/libs/gui/ |
D | ConsumerBase.cpp | 100 mSlots[slotIndex].mFence = Fence::NO_FENCE; in freeBufferLocked() 363 mSlots[item->mSlot].mFence = item->mFence; in acquireBufferLocked() 387 if (!mSlots[slot].mFence.get()) { in addReleaseFenceLocked() 388 mSlots[slot].mFence = fence; in addReleaseFenceLocked() 395 auto currentStatus = mSlots[slot].mFence->getStatus(); in addReleaseFenceLocked() 404 mSlots[slot].mFence = fence; in addReleaseFenceLocked() 414 fenceName, mSlots[slot].mFence, fence); in addReleaseFenceLocked() 419 mSlots[slot].mFence = fence; in addReleaseFenceLocked() 422 mSlots[slot].mFence = mergedFence; in addReleaseFenceLocked() 431 mSlots[slot].mFence = fence; in addReleaseFenceLocked() [all …]
|
D | BufferItem.cpp | 43 mFence(nullptr), in BufferItem() 98 if (mFence != nullptr) { in getFlattenedSize() 99 size += mFence->getFlattenedSize(); in getFlattenedSize() 113 if (mFence != nullptr) { in getFdCount() 114 count += mFence->getFdCount(); in getFdCount() 146 if (mFence != nullptr) { in flatten() 147 status_t err = mFence->flatten(buffer, size, fds, count); in flatten() 211 mFence = new Fence(); in unflatten() 212 status_t err = mFence->unflatten(buffer, size, fds, count); in unflatten() 216 mFenceTime = std::make_shared<FenceTime>(mFence); in unflatten()
|
D | CpuConsumer.cpp | 96 int fenceFd = item.mFence.get() ? item.mFence->dup() : -1; in lockBufferItem() 120 int fenceFd = item.mFence.get() ? item.mFence->dup() : -1; in lockBufferItem()
|
D | BufferQueueProducer.cpp | 474 mSlots[found].mFence = Fence::NO_FENCE; in dequeueBuffer() 488 if (CC_UNLIKELY(mSlots[found].mFence == nullptr)) { in dequeueBuffer() 500 Fence::NO_FENCE : mSlots[found].mFence; in dequeueBuffer() 502 mSlots[found].mFence = Fence::NO_FENCE; in dequeueBuffer() 681 *outFence = mSlots[found].mFence; in detachNextBuffer() 753 mSlots[*outSlot].mFence = Fence::NO_FENCE; in attachBuffer() 863 mSlots[slot].mFence = acquireFence; in queueBuffer() 886 item.mFence = acquireFence; in queueBuffer() 1082 mSlots[slot].mFence = fence; in cancelBuffer() 1429 mSlots[*slot].mFence = Fence::NO_FENCE; in allocateBuffers()
|
D | BufferQueueConsumer.cpp | 214 outBuffer->mFence = Fence::NO_FENCE; in acquireBuffer() 253 mSlots[slot].mFence = Fence::NO_FENCE; in acquireBuffer() 386 mSlots[*outSlot].mFence = Fence::NO_FENCE; in attachBuffer() 447 mSlots[slot].mFence = releaseFence; in releaseBuffer()
|
D | BufferItemConsumer.cpp | 75 err = item->mFence->waitForever("BufferItemConsumer::acquireBuffer"); in acquireBuffer()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GeofenceState.java | 35 public final Geofence mFence; field in GeofenceState 51 mFence = fence; in GeofenceState() 72 boolean inside = mDistanceToCenter <= Math.max(mFence.getRadius(), location.getAccuracy()); in processLocation() 95 return Math.abs(mFence.getRadius() - mDistanceToCenter); in getDistanceToBoundary() 112 return String.format("%s d=%.0f %s", mFence.toString(), mDistanceToCenter, state); in toString()
|
D | GeofenceManager.java | 166 if (geofence.equals(w.mFence) && intent.equals(w.mIntent)) { in addFence() 193 if (fence.equals(state.mFence)) { in removeFence() 455 pw.append(state.mFence.toString()); in dump()
|
/frameworks/av/media/libstagefright/ |
D | FrameRenderTracker.cpp | 84 renderInfo->mFence = new Fence(::dup(fenceFd)); in updateInfoForDequeuedBuffer() 122 } else if (it->mFence != NULL) { in checkFencesAndGetRenderedFrames() 124 nsecs_t signalTime = it->mFence->getSignalTime(); in checkFencesAndGetRenderedFrames() 131 it->mFence.clear(); in checkFencesAndGetRenderedFrames() 140 if (drop || (it->mFence == NULL && it == mRenderQueue.begin())) { in checkFencesAndGetRenderedFrames() 178 if (it->mFence == NULL) { in dumpRenderQueue() 185 it->mFence->isValid() ? "YES" : "NO"); in dumpRenderQueue()
|
D | MediaSync.cpp | 353 returnBufferToInput_l(bufferItem->mGraphicBuffer, bufferItem->mFence); in flush() 563 bufferItem->mGraphicBuffer, bufferItem->mFence); in onDrainVideo_l() 648 returnBufferToInput_l(bufferItem.mGraphicBuffer, bufferItem.mFence); in onFrameAvailableFromInput() 667 bufferItem.mFence); in renderOneBufferItem_l() 681 returnBufferToInput_l(bufferItem.mGraphicBuffer, bufferItem.mFence); in renderOneBufferItem_l()
|
/frameworks/native/libs/ui/ |
D | FenceTime.cpp | 39 mFence(fence), in FenceTime() 47 mFence(std::move(fence)), in FenceTime() 54 mFence(nullptr), in FenceTime() 89 mFence.clear(); in applyTrustedSnapshot() 116 if (!mFence.get()) { in getSignalTime() 121 fence = mFence; in getSignalTime() 139 mFence.clear(); in getSignalTime() 165 return Snapshot(mFence); in getSnapshot() 173 mFence(fence), in FenceTime() 183 mFence.clear(); in signalForTest()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | FrameRenderTracker.h | 66 mFence(fence) { in RenderedFrameInfo() 75 mFence(NULL) { in RenderedFrameInfo() 83 sp<Fence> mFence; member
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
D | Hwc2TestBuffer.cpp | 68 mCallback(item.mFence->dup(), mCallbackArgs); in onFrameAvailable() 261 if (mFence >= 0) in ~Hwc2TestFenceGenerator() 262 close(mFence); in ~Hwc2TestFenceGenerator() 263 mFence = -1; in ~Hwc2TestFenceGenerator() 274 if (mFence >= 0) { in get() 275 return dup(mFence); in get() 304 return dup(mFence); in get() 310 mFence = fence; in set() 324 int32_t mFence = -1; member in Hwc2TestFenceGenerator
|
/frameworks/native/services/surfaceflinger/tests/ |
D | BufferGenerator.cpp | 50 mCallback(item.mGraphicBuffer, item.mFence->dup()); in onFrameAvailable() 361 *outFence = new Fence(mFence); in get() 363 close(mFence); in get() 366 mFence = -1; in get() 376 generator->mFence = fence; in setBuffer()
|
D | BufferGenerator.h | 51 int32_t mFence = -1; variable
|
/frameworks/native/libs/gui/include/gui/ |
D | BufferSlot.h | 183 mFence(Fence::NO_FENCE), in BufferSlot() 224 sp<Fence> mFence; member
|
D | BufferItem.h | 60 sp<Fence> mFence; variable
|
D | ConsumerBase.h | 228 sp<Fence> mFence; member
|
/frameworks/base/libs/hwui/surfacetexture/ |
D | ImageConsumer.cpp | 221 if (item.mFence->isValid()) { in dequeueImage() 225 err = renderState.getRenderThread().eglManager().fenceWait(item.mFence); in dequeueImage() 228 item.mFence, renderState.getRenderThread().getGrContext()); in dequeueImage() 288 st.mCurrentFence = item.mFence; in dequeueImage()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | FramebufferSurface.cpp | 137 mCurrentFence = item.mFence; in nextBuffer() 139 outFence = item.mFence; in nextBuffer()
|
/frameworks/av/services/camera/libcameraservice/gui/ |
D | RingBufferConsumer.cpp | 109 status_t err = pinnedBuffer->getBufferItem().mFence->waitForever( in pinSelectedBuffer() 233 item.mGraphicBuffer, item.mFence); in releaseOldestBufferLocked() 337 item.mGraphicBuffer, item.mFence); in unpinBuffer()
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | FenceTime.h | 134 sp<Fence> mFence{Fence::NO_FENCE};
|
/frameworks/av/media/libstagefright/filters/ |
D | GraphicBufferListener.cpp | 114 err = item.mFence->waitForever("GraphicBufferListener::getBufferItem"); in getBufferItem()
|
/frameworks/native/libs/ui/include/ui/ |
D | FenceTime.h | 134 sp<Fence> mFence{Fence::NO_FENCE};
|
/frameworks/native/libs/vr/libbufferhubqueue/tests/ |
D | buffer_hub_queue_producer-test.cpp | 39 mTransform, mFence); in build() 73 this->mFence = fence; in setFence() 84 sp<Fence> mFence{Fence::NO_FENCE}; member
|