Home
last modified time | relevance | path

Searched refs:mFence (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/location/
DGeofenceState.java35 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()
DGeofenceManager.java132 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/
DConsumerBase.cpp98 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()
DBufferItem.cpp28 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()
DCpuConsumer.cpp121 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()
DBufferQueueProducer.cpp455 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()
DBufferQueueConsumer.cpp207 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()
DBufferItemConsumer.cpp77 err = item->mFence->waitForever("BufferItemConsumer::acquireBuffer"); in acquireBuffer()
DStreamSplitter.cpp147 bufferItem.mTransform, bufferItem.mFence); in onFrameAvailable()
DBufferQueueCore.cpp215 mSlots[slot].mFence = Fence::NO_FENCE; in clearBufferSlotLocked()
/frameworks/av/media/libstagefright/
DFrameRenderTracker.cpp84 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()
DMediaSync.cpp350 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()
DSurfaceMediaSource.cpp295 err = item.mFence->waitForever("SurfaceMediaSource::read"); in read()
/frameworks/av/include/media/stagefright/
DFrameRenderTracker.h66 mFence(fence) { in Info()
75 mFence(NULL) { in Info()
83 sp<Fence> mFence; member
/frameworks/native/include/gui/
DBufferSlot.h183 mFence(Fence::NO_FENCE), in BufferSlot()
224 sp<Fence> mFence; member
DBufferItem.h58 sp<Fence> mFence; variable
DConsumerBase.h205 sp<Fence> mFence; member
/frameworks/av/media/libstagefright/omx/
DGraphicBufferSource.cpp86 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/
DRingBufferConsumer.cpp109 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/
DFramebufferSurface.cpp170 mCurrentFence = item.mFence; in nextBuffer()
172 outFence = item.mFence; in nextBuffer()
DHWC2On1Adapter.h156 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/
DCamera3ZslStream.cpp173 fenceFd = bufferItem->getBufferItem().mFence->dup(); in getInputBufferLocked()
251 bufferItem->getBufferItem().mFence = releaseFence; in returnBufferCheckedLocked()
DCamera3InputStream.cpp78 fenceFd = bufferItem.mFence->dup(); in getInputBufferLocked()
/frameworks/rs/
DrsGrallocConsumer.cpp102 if (b.mFence.get()) { in lockNextBuffer()
103 err = b.mFence->waitForever("GrallocConsumer::lockNextBuffer"); in lockNextBuffer()
/frameworks/av/media/libstagefright/filters/
DGraphicBufferListener.cpp113 err = item.mFence->waitForever("GraphicBufferListener::getBufferItem"); in getBufferItem()

12