Searched refs:mFence (Results 1 - 25 of 41) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/location/
H A DGeofenceState.java35 public final Geofence mFence; field in class:GeofenceState
51 mFence = fence;
72 boolean inside = mDistanceToCenter <= Math.max(mFence.getRadius(), location.getAccuracy());
95 return Math.abs(mFence.getRadius() - mDistanceToCenter);
112 return String.format("%s d=%.0f %s", mFence.toString(), mDistanceToCenter, state);
H A DGeofenceManager.java164 if (geofence.equals(w.mFence) && intent.equals(w.mIntent)) {
191 if (fence.equals(state.mFence)) {
452 pw.append(state.mFence.toString());
/frameworks/av/media/libstagefright/
H A DFrameRenderTracker.cpp84 renderInfo->mFence = new Fence(::dup(fenceFd));
120 } else if (it->mFence != NULL) {
122 nsecs_t signalTime = it->mFence->getSignalTime();
129 it->mFence.clear();
138 if (drop || (it->mFence == NULL && it == mRenderQueue.begin())) {
176 if (it->mFence == NULL) {
183 it->mFence->isValid() ? "YES" : "NO");
H A DMediaSync.cpp350 returnBufferToInput_l(bufferItem->mGraphicBuffer, bufferItem->mFence);
560 bufferItem->mGraphicBuffer, bufferItem->mFence);
645 returnBufferToInput_l(bufferItem.mGraphicBuffer, bufferItem.mFence);
664 bufferItem.mFence);
678 returnBufferToInput_l(bufferItem.mGraphicBuffer, bufferItem.mFence);
/frameworks/native/libs/gui/
H A DConsumerBase.cpp100 mSlots[slotIndex].mFence = Fence::NO_FENCE;
309 mSlots[item->mSlot].mFence = item->mFence;
333 if (!mSlots[slot].mFence.get()) {
334 mSlots[slot].mFence = fence;
338 auto status = mSlots[slot].mFence->getStatus();
346 mSlots[slot].mFence = fence;
351 fenceName, mSlots[slot].mFence, fence);
356 mSlots[slot].mFence = fence;
359 mSlots[slot].mFence
[all...]
H A DBufferItem.cpp43 mFence(NULL),
96 if (mFence != 0) {
97 size += mFence->getFlattenedSize();
110 if (mFence != 0) {
111 count += mFence->getFdCount();
143 if (mFence != 0) {
144 status_t err = mFence->flatten(buffer, size, fds, count);
203 mFence = new Fence();
204 status_t err = mFence->unflatten(buffer, size, fds, count);
208 mFenceTime = std::make_shared<FenceTime>(mFence);
[all...]
H A DCpuConsumer.cpp123 if (b.mFence.get()) {
128 b.mFence->dup());
149 if (b.mFence.get()) {
154 b.mFence->dup());
H A DBufferItemConsumer.cpp83 err = item->mFence->waitForever("BufferItemConsumer::acquireBuffer");
H A DBufferQueueProducer.cpp463 mSlots[found].mFence = Fence::NO_FENCE;
478 if (CC_UNLIKELY(mSlots[found].mFence == NULL)) {
490 Fence::NO_FENCE : mSlots[found].mFence;
492 mSlots[found].mFence = Fence::NO_FENCE;
668 *outFence = mSlots[found].mFence;
740 mSlots[*outSlot].mFence = Fence::NO_FENCE;
849 mSlots[slot].mFence = acquireFence;
871 item.mFence = acquireFence;
1059 mSlots[slot].mFence = fence;
1397 mSlots[*slot].mFence
[all...]
H A DBufferQueueConsumer.cpp207 outBuffer->mFence = Fence::NO_FENCE;
246 mSlots[slot].mFence = Fence::NO_FENCE;
379 mSlots[*outSlot].mFence = Fence::NO_FENCE;
440 mSlots[slot].mFence = releaseFence;
/frameworks/av/include/media/stagefright/
H A DFrameRenderTracker.h38 // 1. queued frame: mMediaTime and mGraphicBuffer are set for the frame. mFence is the
40 // Key characteristics: mFence is not NULL and mIndex is negative.
42 // 2. dequeued frame: mFence is updated with the dequeue fence (write fence). mIndex is set.
43 // Key characteristics: mFence is not NULL and mIndex is non-negative. mRenderTime is still
46 // 3. rendered frame or frame: mFence is cleared, mRenderTimeNs is set.
47 // Key characteristics: mFence is NULL.
66 mFence(fence) {
75 mFence(NULL) {
83 sp<Fence> mFence; member in struct:android::RenderedFrameInfo
/frameworks/av/media/libstagefright/foundation/include/
H A DFrameRenderTracker.h38 // 1. queued frame: mMediaTime and mGraphicBuffer are set for the frame. mFence is the
40 // Key characteristics: mFence is not NULL and mIndex is negative.
42 // 2. dequeued frame: mFence is updated with the dequeue fence (write fence). mIndex is set.
43 // Key characteristics: mFence is not NULL and mIndex is non-negative. mRenderTime is still
46 // 3. rendered frame or frame: mFence is cleared, mRenderTimeNs is set.
47 // Key characteristics: mFence is NULL.
66 mFence(fence) {
75 mFence(NULL) {
83 sp<Fence> mFence; member in struct:android::RenderedFrameInfo
/frameworks/av/media/libstagefright/include/
H A DFrameRenderTracker.h38 // 1. queued frame: mMediaTime and mGraphicBuffer are set for the frame. mFence is the
40 // Key characteristics: mFence is not NULL and mIndex is negative.
42 // 2. dequeued frame: mFence is updated with the dequeue fence (write fence). mIndex is set.
43 // Key characteristics: mFence is not NULL and mIndex is non-negative. mRenderTime is still
46 // 3. rendered frame or frame: mFence is cleared, mRenderTimeNs is set.
47 // Key characteristics: mFence is NULL.
66 mFence(fence) {
75 mFence(NULL) {
83 sp<Fence> mFence; member in struct:android::RenderedFrameInfo
/frameworks/native/include/gui/
H A DBufferSlot.h183 mFence(Fence::NO_FENCE),
212 // mFence, below.)
215 // mFence is a fence which will signal when work initiated by the
223 // buffer, and mFence is set to NO_FENCE.
224 sp<Fence> mFence; member in struct:android::BufferSlot
H A DBufferItem.h57 // mFence is a fence that will signal when the buffer is idle.
58 sp<Fence> mFence; member in class:android::BufferItem
60 // The std::shared_ptr<FenceTime> wrapper around mFence.
H A DConsumerBase.h212 // mFence is a fence which will signal when the buffer associated with
216 sp<Fence> mFence; member in struct:android::ConsumerBase::Slot
/frameworks/native/libs/ui/
H A DFenceTime.cpp51 mFence(fence),
59 mFence(std::move(fence)),
66 mFence(nullptr),
101 mFence.clear();
128 if (!mFence.get()) {
130 // reference to mFence.
133 fence = mFence;
151 mFence.clear();
177 return Snapshot(mFence);
185 mFence(fenc
[all...]
/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2TestBuffer.cpp65 mCallback(item.mFence->dup(), mCallbackArgs);
258 if (mFence >= 0)
259 close(mFence);
260 mFence = -1;
271 if (mFence >= 0) {
272 return dup(mFence);
301 return dup(mFence);
307 mFence = fence;
321 int32_t mFence = -1; member in class:Hwc2TestFenceGenerator
/frameworks/av/services/camera/libcameraservice/gui/
H A DRingBufferConsumer.cpp109 status_t err = pinnedBuffer->getBufferItem().mFence->waitForever(
233 item.mGraphicBuffer, item.mFence);
337 item.mGraphicBuffer, item.mFence);
/frameworks/av/media/libstagefright/filters/
H A DGraphicBufferListener.cpp114 err = item.mFence->waitForever("GraphicBufferListener::getBufferItem");
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DFramebufferSurface.cpp175 mCurrentFence = item.mFence;
177 outFence = item.mFence;
/frameworks/av/media/libstagefright/codec2/include/
H A DC2Buffer.h517 C2Fence fence() const { return mFence; }
520 C2Fence mFence; member in class:android::C2ConstLinearBlock
997 C2Fence fence() const { return mFence; }
1000 C2Fence mFence;
/frameworks/native/include/ui/
H A DFenceTime.h134 // mMutex guards mFence and mSignalTime.
138 sp<Fence> mFence{Fence::NO_FENCE};
/frameworks/native/libs/vr/libbufferhubqueue/tests/
H A Dbuffer_hub_queue_producer-test.cpp37 mTransform, mFence);
71 this->mFence = fence;
82 sp<Fence> mFence{Fence::NO_FENCE};
/frameworks/native/libs/gui/tests/
H A DSurface_test.cpp625 : mFence(new Fence),
626 mFenceTime(fenceMap.createFenceTimeForTest(mFence)) {}
627 sp<Fence> mFence { nullptr };
642 mGpuCompositionDone.mFence, kGpuCompositionDoneTime);
643 mFenceMap.signalAllForTest(mPresent.mFence, kPresentTime);
675 mAcquireConsumer.mFence, kConsumerAcquireTime);
677 mAcquireProducer.mFence, kProducerAcquireTime);
687 mFenceMap.signalAllForTest(mRelease.mFence, kReleaseTime);

Completed in 1148 milliseconds

12