/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 | 132 if (geofence.equals(w.mFence) && intent.equals(w.mIntent)) { in addFence() 159 if (fence.equals(state.mFence)) { in removeFence() 420 pw.append(state.mFence.toString()); in dump()
|
/frameworks/native/libs/gui/ |
D | ConsumerBase.cpp | 98 mSlots[slotIndex].mFence = Fence::NO_FENCE; in freeBufferLocked() 272 mSlots[item->mSlot].mFence = item->mFence; in acquireBufferLocked() 296 if (!mSlots[slot].mFence.get()) { in addReleaseFenceLocked() 297 mSlots[slot].mFence = fence; in addReleaseFenceLocked() 301 mSlots[slot].mFence, fence); in addReleaseFenceLocked() 306 mSlots[slot].mFence = fence; in addReleaseFenceLocked() 309 mSlots[slot].mFence = mergedFence; in addReleaseFenceLocked() 332 display, eglFence, mSlots[slot].mFence); in releaseBufferLocked() 337 mSlots[slot].mFence = Fence::NO_FENCE; in releaseBufferLocked()
|
D | BufferItem.cpp | 28 mFence(NULL), in BufferItem() 78 if (mFence != 0) { in getFlattenedSize() 79 size += mFence->getFlattenedSize(); in getFlattenedSize() 92 if (mFence != 0) { in getFdCount() 93 count += mFence->getFdCount(); in getFdCount() 125 if (mFence != 0) { in flatten() 126 status_t err = mFence->flatten(buffer, size, fds, count); in flatten() 182 mFence = new Fence(); in unflatten() 183 status_t err = mFence->unflatten(buffer, size, fds, count); in unflatten()
|
D | CpuConsumer.cpp | 121 if (b.mFence.get()) { in lockNextBuffer() 126 b.mFence->dup()); in lockNextBuffer() 147 if (b.mFence.get()) { in lockNextBuffer() 152 b.mFence->dup()); in lockNextBuffer()
|
D | BufferQueueProducer.cpp | 455 mSlots[found].mFence = Fence::NO_FENCE; in dequeueBuffer() 470 if (CC_UNLIKELY(mSlots[found].mFence == NULL)) { in dequeueBuffer() 482 Fence::NO_FENCE : mSlots[found].mFence; in dequeueBuffer() 484 mSlots[found].mFence = Fence::NO_FENCE; in dequeueBuffer() 649 *outFence = mSlots[found].mFence; in detachNextBuffer() 715 mSlots[*outSlot].mFence = Fence::NO_FENCE; in attachBuffer() 817 mSlots[slot].mFence = fence; in queueBuffer() 836 item.mFence = fence; in queueBuffer() 993 mSlots[slot].mFence = fence; in cancelBuffer() 1295 mSlots[*slot].mFence = Fence::NO_FENCE; in allocateBuffers()
|
D | BufferQueueConsumer.cpp | 207 outBuffer->mFence = Fence::NO_FENCE; in acquireBuffer() 245 mSlots[slot].mFence = Fence::NO_FENCE; in acquireBuffer() 376 mSlots[*outSlot].mFence = Fence::NO_FENCE; in attachBuffer() 437 mSlots[slot].mFence = releaseFence; in releaseBuffer()
|
D | BufferItemConsumer.cpp | 77 err = item->mFence->waitForever("BufferItemConsumer::acquireBuffer"); in acquireBuffer()
|
D | StreamSplitter.cpp | 147 bufferItem.mTransform, bufferItem.mFence); in onFrameAvailable()
|
D | BufferQueueCore.cpp | 215 mSlots[slot].mFence = Fence::NO_FENCE; in clearBufferSlotLocked()
|
/frameworks/av/media/libstagefright/ |
D | FrameRenderTracker.cpp | 84 renderInfo->mFence = new Fence(::dup(fenceFd)); in updateInfoForDequeuedBuffer() 120 } else if (it->mFence != NULL) { in checkFencesAndGetRenderedFrames() 122 nsecs_t signalTime = it->mFence->getSignalTime(); in checkFencesAndGetRenderedFrames() 129 it->mFence.clear(); in checkFencesAndGetRenderedFrames() 138 if (drop || (it->mFence == NULL && it == mRenderQueue.begin())) { in checkFencesAndGetRenderedFrames() 176 if (it->mFence == NULL) { in dumpRenderQueue() 183 it->mFence->isValid() ? "YES" : "NO"); in dumpRenderQueue()
|
D | MediaSync.cpp | 350 returnBufferToInput_l(bufferItem->mGraphicBuffer, bufferItem->mFence); in flush() 576 bufferItem->mGraphicBuffer, bufferItem->mFence); in onDrainVideo_l() 661 returnBufferToInput_l(bufferItem.mGraphicBuffer, bufferItem.mFence); in onFrameAvailableFromInput() 680 bufferItem.mFence); in renderOneBufferItem_l() 694 returnBufferToInput_l(bufferItem.mGraphicBuffer, bufferItem.mFence); in renderOneBufferItem_l()
|
D | SurfaceMediaSource.cpp | 295 err = item.mFence->waitForever("SurfaceMediaSource::read"); in read()
|
/frameworks/av/include/media/stagefright/ |
D | FrameRenderTracker.h | 66 mFence(fence) { in Info() 75 mFence(NULL) { in Info() 83 sp<Fence> mFence; member
|
/frameworks/native/include/gui/ |
D | BufferSlot.h | 183 mFence(Fence::NO_FENCE), in BufferSlot() 224 sp<Fence> mFence; member
|
D | BufferItem.h | 58 sp<Fence> mFence; variable
|
D | ConsumerBase.h | 205 sp<Fence> mFence; member
|
/frameworks/av/media/libstagefright/omx/ |
D | GraphicBufferSource.cpp | 86 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, bi.mFence); in onFrameAvailable() 491 item.mGraphicBuffer, item.mFence); in suspend() 648 releaseBuffer(item.mSlot, item.mFrameNumber, item.mGraphicBuffer, item.mFence); in fillCodecBuffer_l() 693 item.mFence = mLatestBufferFence; in repeatLatestBuffer_l() 739 mLatestBufferFence = item.mFence; in setLatestBuffer_l() 852 item.mFence->isValid() ? item.mFence->dup() : -1); in submitBuffer_l() 975 item.mGraphicBuffer, item.mFence); in onFrameAvailable()
|
/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/services/surfaceflinger/DisplayHardware/ |
D | FramebufferSurface.cpp | 170 mCurrentFence = item.mFence; in nextBuffer() 172 outFence = item.mFence; in nextBuffer()
|
D | HWC2On1Adapter.h | 156 FencedBuffer() : mBuffer(nullptr), mFence(Fence::NO_FENCE) {} in FencedBuffer() 159 void setFence(int fenceFd) { mFence = new Fence(fenceFd); } in setFence() 162 int getFence() const { return mFence->dup(); } in getFence() 166 sp<Fence> mFence; variable
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3ZslStream.cpp | 173 fenceFd = bufferItem->getBufferItem().mFence->dup(); in getInputBufferLocked() 251 bufferItem->getBufferItem().mFence = releaseFence; in returnBufferCheckedLocked()
|
D | Camera3InputStream.cpp | 78 fenceFd = bufferItem.mFence->dup(); in getInputBufferLocked()
|
/frameworks/rs/ |
D | rsGrallocConsumer.cpp | 102 if (b.mFence.get()) { in lockNextBuffer() 103 err = b.mFence->waitForever("GrallocConsumer::lockNextBuffer"); in lockNextBuffer()
|
/frameworks/av/media/libstagefright/filters/ |
D | GraphicBufferListener.cpp | 113 err = item.mFence->waitForever("GraphicBufferListener::getBufferItem"); in getBufferItem()
|