/frameworks/base/libs/hwui/ |
D | Fence.h | 46 mFence = eglCreateSyncKHR(mDisplay, EGL_SYNC_FENCE_KHR, NULL); in Fence() 48 mFence = EGL_NO_SYNC_KHR; in Fence() 57 if (mFence != EGL_NO_SYNC_KHR) { in ~Fence() 58 eglDestroySyncKHR(mDisplay, mFence); in ~Fence() 70 EGLint waitStatus = eglClientWaitSyncKHR(mDisplay, mFence, 80 EGLSyncKHR mFence; variable 101 mFence.wait(mTimeout); in ~AutoFence() 106 Fence mFence; variable
|
/frameworks/native/libs/gui/ |
D | BufferItem.cpp | 42 bufferItem.mFence = mFence; in operator IGraphicBufferConsumer::BufferItem() 76 if (mFence != 0) { in getFlattenedSize() 77 c += mFence->getFlattenedSize(); in getFlattenedSize() 88 if (mFence != 0) { in getFdCount() 89 c += mFence->getFdCount(); in getFdCount() 115 if (mFence != 0) { in flatten() 116 status_t err = mFence->flatten(buffer, size, fds, count); in flatten() 158 mFence = new Fence(); in unflatten() 159 status_t err = mFence->unflatten(buffer, size, fds, count); in unflatten()
|
D | ConsumerBase.cpp | 97 mSlots[slotIndex].mFence = Fence::NO_FENCE; in freeBufferLocked() 194 mSlots[item->mBuf].mFence = item->mFence; in acquireBufferLocked() 218 if (!mSlots[slot].mFence.get()) { in addReleaseFenceLocked() 219 mSlots[slot].mFence = fence; in addReleaseFenceLocked() 223 mSlots[slot].mFence, fence); in addReleaseFenceLocked() 228 mSlots[slot].mFence = fence; in addReleaseFenceLocked() 231 mSlots[slot].mFence = mergedFence; in addReleaseFenceLocked() 250 display, eglFence, mSlots[slot].mFence); in releaseBufferLocked() 255 mSlots[slot].mFence = Fence::NO_FENCE; in releaseBufferLocked()
|
D | IGraphicBufferConsumer.cpp | 70 if (mFence != 0) { in getFlattenedSize() 71 c += mFence->getFlattenedSize(); in getFlattenedSize() 82 if (mFence != 0) { in getFdCount() 83 c += mFence->getFdCount(); in getFdCount() 119 if (mFence != 0) { in flatten() 120 status_t err = mFence->flatten(buffer, size, fds, count); in flatten() 162 mFence = new Fence(); in unflatten() 163 status_t err = mFence->unflatten(buffer, size, fds, count); in unflatten()
|
D | BufferQueueProducer.cpp | 317 mSlots[found].mFence = Fence::NO_FENCE; in dequeueBuffer() 322 if (CC_UNLIKELY(mSlots[found].mFence == NULL)) { in dequeueBuffer() 330 *outFence = mSlots[found].mFence; in dequeueBuffer() 332 mSlots[found].mFence = Fence::NO_FENCE; in dequeueBuffer() 455 *outFence = mSlots[found].mFence; in detachNextBuffer() 501 mSlots[*outSlot].mFence = Fence::NO_FENCE; in attachBuffer() 595 mSlots[slot].mFence = fence; in queueBuffer() 612 item.mFence = fence; in queueBuffer() 685 mSlots[slot].mFence = fence; in cancelBuffer() 963 mSlots[slot].mFence = Fence::NO_FENCE; in allocateBuffers()
|
D | CpuConsumer.cpp | 99 if (b.mFence.get()) { in lockNextBuffer() 106 b.mFence->dup()); in lockNextBuffer() 119 b.mFence->dup()); in lockNextBuffer()
|
D | BufferQueueConsumer.cpp | 157 mSlots[slot].mFence = Fence::NO_FENCE; in acquireBuffer() 254 mSlots[*outSlot].mFence = Fence::NO_FENCE; in attachBuffer() 312 mSlots[slot].mFence = releaseFence; in releaseBuffer()
|
D | BufferItemConsumer.cpp | 73 err = item->mFence->waitForever("BufferItemConsumer::acquireBuffer"); in acquireBuffer()
|
D | BufferQueueCore.cpp | 205 mSlots[slot].mFence = Fence::NO_FENCE; in freeBufferLocked()
|
D | StreamSplitter.cpp | 146 bufferItem.mFence); in onFrameAvailable()
|
D | GLConsumer.cpp | 438 mCurrentFence = item.mFence; in updateAndReleaseLocked()
|
/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/include/gui/ |
D | BufferSlot.h | 124 sp<Fence> mFence; member
|
D | BufferItem.h | 57 sp<Fence> mFence; variable
|
D | ConsumerBase.h | 194 sp<Fence> mFence; member
|
D | IGraphicBufferConsumer.h | 65 sp<Fence> mFence; variable
|
/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() 339 item.mGraphicBuffer, item.mFence); in unpinBuffer()
|
/frameworks/rs/ |
D | rsGrallocConsumer.cpp | 81 if (b.mFence.get()) { in lockNextBuffer() 82 err = b.mFence->waitForever("GrallocConsumer::lockNextBuffer"); in lockNextBuffer()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3ZslStream.cpp | 172 fenceFd = bufferItem->getBufferItem().mFence->dup(); in getInputBufferLocked() 250 bufferItem->getBufferItem().mFence = releaseFence; in returnBufferCheckedLocked()
|
D | Camera3InputStream.cpp | 77 fenceFd = bufferItem.mFence->dup(); in getInputBufferLocked()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | FramebufferSurface.cpp | 119 outFence = item.mFence; in nextBuffer()
|
D | VirtualDisplaySurface.cpp | 446 mFbFence = mSlots[item.mBuf].mFence; in queueBuffer()
|
/frameworks/av/media/libstagefright/omx/ |
D | GraphicBufferSource.cpp | 377 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, item.mFence); in suspend() 427 err = item.mFence->waitForever("GraphicBufferSource::fillCodecBuffer_l"); in fillCodecBuffer_l() 779 EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, item.mFence); in onFrameAvailable()
|
/frameworks/av/media/libstagefright/ |
D | SurfaceMediaSource.cpp | 303 err = item.mFence->waitForever("SurfaceMediaSource::read"); in read()
|