Home
last modified time | relevance | path

Searched defs:fence (Results 1 – 25 of 154) sorted by relevance

1234567

/frameworks/av/media/codec2/tests/vndk/
DC2FenceTest.cpp102 void C2FenceTest::validateNullFence(const C2Fence &fence) { in validateNullFence()
128 C2Fence fence = _C2FenceFactory::CreateSyncFence(-1, false /* validate */); in TEST_F() local
139 C2Fence fence = _C2FenceFactory::CreateSyncFence(fd, false /* validate */); in TEST_F() local
143 void C2FenceTest::validateSingleFdFence(const C2Fence &fence, int fd) { in validateSingleFdFence()
182 C2Fence fence = _C2FenceFactory::CreateUnorderedMultiSyncFence( in TEST_F() local
197 C2Fence fence = _C2FenceFactory::CreateUnorderedMultiSyncFence( in TEST_F() local
212 C2Fence fence = _C2FenceFactory::CreateUnorderedMultiSyncFence( in TEST_F() local
227 C2Fence fence = _C2FenceFactory::CreateUnorderedMultiSyncFence( in TEST_F() local
252 C2Fence fence = _C2FenceFactory::CreateFromNativeHandle(handle, true /* takeOwnership */); in TEST_F() local
259 const C2Fence &fence, int fd1, int fd2, int mergeFd) { in validateTwoFdUnorderedFence()
[all …]
/frameworks/native/libs/ui/
DFenceTime.cpp36 FenceTime::FenceTime(const sp<Fence>& fence) in FenceTime()
44 FenceTime::FenceTime(sp<Fence>&& fence) in FenceTime()
111 sp<Fence> fence; in wait() local
139 sp<Fence> fence; in getSignalTime() local
198 FenceTime::FenceTime(const sp<Fence>& fence, bool forceValidForTest) in FenceTime()
290 void FenceTimeline::push(const std::shared_ptr<FenceTime>& fence) { in push()
312 std::shared_ptr<FenceTime> fence = mQueue.front().lock(); in updateSignalTimes() local
334 const sp<Fence>& fence) { in createFenceTimeForTest()
344 const sp<Fence>& fence, nsecs_t signalTime) { in signalAllForTest()
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp82 sp<Fence> fence; in testBufferItem() local
143 sp<Fence> fence; in TEST_F() local
192 sp<Fence> fence; in TEST_F() local
242 sp<Fence> fence; in TEST_F() local
278 sp<Fence> fence; in TEST_F() local
343 sp<Fence> fence; in TEST_F() local
392 sp<Fence> fence; in TEST_F() local
451 sp<Fence> fence; in TEST_F() local
499 sp<Fence> fence; in TEST_F() local
535 sp<Fence> fence; in TEST_F() local
[all …]
DStreamSplitter_test.cpp67 sp<Fence> fence; in TEST_F() local
139 sp<Fence> fence; in TEST_F() local
204 sp<Fence> fence; in TEST_F() local
DIGraphicBufferProducer_test.cpp217 sp<Fence> fence; member
231 void setupDequeueRequestBuffer(int *slot, sp<Fence> *fence, in setupDequeueRequestBuffer()
915 sp<Fence> fence; in TEST_P() local
924 sp<Fence> fence; in TEST_P() local
935 sp<Fence> fence; in TEST_P() local
957 sp<Fence> fence; in TEST_P() local
970 sp<Fence> fence; in TEST_P() local
987 sp<Fence> fence; in TEST_P() local
1000 sp<Fence> fence; in TEST_P() local
1016 sp<Fence> fence; in TEST_P() local
DBLASTBufferQueue_test.cpp323 sp<Fence> fence; in queueBuffer() local
405 sp<Fence> fence; in TEST_F() local
437 sp<Fence> fence; in TEST_F() local
481 sp<Fence> fence; in TEST_F() local
496 sp<Fence> fence; in TEST_F() local
522 sp<Fence> fence; in TEST_F() local
569 sp<Fence> fence; in TEST_F() local
619 sp<Fence> fence; in TEST_F() local
676 sp<Fence> fence; in TEST_F() local
735 sp<Fence> fence; in TEST_F() local
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/
DTexturePool.h44 std::shared_ptr<renderengine::ExternalTexture> texture, const sp<Fence>& fence) in AutoTexture()
51 void setReadyFence(const sp<Fence>& fence) { mFence = fence; } in setReadyFence()
95 sp<Fence> fence; member
/frameworks/base/core/java/com/android/internal/util/
DGcUtils.java39 final CountDownLatch fence = new CountDownLatch(1); in runGcAndFinalizersSync() local
57 private static void createFinalizationObserver(CountDownLatch fence) { in createFinalizationObserver()
/frameworks/native/services/surfaceflinger/Scheduler/tests/
DFrameTargeterTest.cpp181 const auto fence = frame.end(); in TEST_F() local
200 const auto fence = frame.end(); in TEST_F() local
221 const auto fence = frame.end(); in TEST_F() local
248 const auto fence = frame.end(); in TEST_F() local
273 const auto fence = frame.end(); in TEST_F() local
306 const auto fence = frame.end(); in TEST_F() local
336 const auto fence = frame.end(); in TEST_F() local
362 const auto fence = frame.end(); in TEST_F() local
395 auto fence = frame.end(); in TEST_F() local
481 const auto fence = frame.end(); in TEST_F() local
[all …]
/frameworks/native/libs/ui/tests/
DMockFence_test.cpp36 sp<Fence> fence = getFenceForTesting(); in TEST_F() local
46 sp<Fence> fence = getFenceForTesting(); in TEST_F() local
/frameworks/native/libs/gui/
DFenceMonitor.cpp33 void FenceMonitor::queueFence(const sp<Fence>& fence) { in queueFence()
61 sp<Fence> fence; in threadLoop() local
/frameworks/base/core/jni/
Dandroid_hardware_SyncFence.cpp37 static void destroyFence(Fence* fence) { in destroyFence()
46 Fence* fence = new Fence(fd); in SyncFence_create() local
60 Fence* fence = fromJlong<Fence>(jPtr); in SyncFence_wait() local
/frameworks/av/media/codec2/vndk/
DC2Fence.cpp364 SyncFenceImpl(const sp<Fence> &fence) : in SyncFenceImpl()
411 sp<Fence> fence = sp<Fence>::make(fd); in CreateFromNativeHandle() local
466 std::vector<int> ExtractFdsFromCodec2SyncFence(const C2Fence& fence) { in ExtractFdsFromCodec2SyncFence()
506 sp<Fence> fence = sp<Fence>::make(fenceFd); in CreateUnorderedMultiSyncFence() local
587 sp<Fence> fence = sp<Fence>::make(fenceFd); in CreateMultiSyncFence() local
783 native_handle_t* _C2FenceFactory::CreateNativeHandle(const C2Fence& fence) { in CreateNativeHandle()
/frameworks/av/media/libmedia/omx/1.0/
DWOmxBufferSource.cpp54 hidl_handle fence; in onInputBufferEmptied() local
95 uint32_t buffer, hidl_handle const& fence) { in onInputBufferEmptied()
/frameworks/av/media/codec2/tests/aidl/
DGraphicsTracker_test.cpp329 sp<Fence> fence; in TEST_F() local
369 sp<Fence> fence; in TEST_F() local
477 sp<Fence> fence; in TEST_F() local
531 sp<Fence> fence; in TEST_F() local
636 sp<Fence> fence; in TEST_F() local
676 sp<Fence> fence; in TEST_F() local
707 sp<Fence> fence; in TEST_F() local
774 sp<Fence> fence; in TEST_F() local
/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncReactorTest.cpp63 sp<Fence> fence = sp<Fence>::make(); in generateInvalidFence() local
68 sp<Fence> fence = sp<Fence>::make(dup(fileno(tmpfile()))); in generatePendingFence() local
72 void signalFenceWithTime(std::shared_ptr<android::FenceTime> const& fence, nsecs_t time) { in signalFenceWithTime()
78 sp<Fence> fence = sp<Fence>::make(dup(fileno(tmpfile()))); in generateSignalledFenceWithTime() local
169 for (auto const& fence : fences) { in TEST_F() local
293 auto fence = generatePendingFence(); in TEST_F() local
DTransactionSurfaceFrameTest.cpp87 sp<Fence> fence(sp<Fence>::make()); in PresentedSurfaceFrameForBufferTransaction() local
188 sp<Fence> fence(sp<Fence>::make()); in BufferlessSurfaceFramePromotedToBufferSurfaceFrame() local
220 sp<Fence> fence(sp<Fence>::make()); in BufferlessSurfaceFrameNotCreatedIfBufferSufaceFrameExists() local
263 sp<Fence> fence(sp<Fence>::make()); in MultipleSurfaceFramesPresentedTogether() local
451 sp<Fence> fence(sp<Fence>::make()); in MultipleCommitsBeforeLatch() local
/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub-test.cpp86 LocalHandle fence; in TEST_F() local
215 LocalHandle fence; in TEST_F() local
521 LocalHandle fence; in TEST_F() local
580 LocalHandle fence; in TEST_F() local
606 LocalHandle fence; in TEST_F() local
619 LocalHandle fence; in TEST_F() local
722 LocalHandle fence; in TEST_F() local
/frameworks/av/media/codec2/hal/common/
DBufferTypes.cpp39 const C2Fence& fence) { in CreateLinearBuffer()
69 const C2Fence& fence) { in CreateGraphicBuffer()
/frameworks/native/services/surfaceflinger/Scheduler/src/
DFrameTargeter.cpp55 const auto fence = presentFenceForPastVsync(minFramePeriod); in wouldPresentEarly() local
167 bool FrameTargeter::isFencePending(const FenceTimePtr& fence, int graceTimeMs) { in isFencePending()
/frameworks/av/media/codec2/vndk/platform/
DC2IgbaBuffer.cpp191 C2Fence fence; in fetchGraphicBlock() local
206 std::shared_ptr<C2GraphicBlock> *block, C2Fence *fence) { in fetchGraphicBlock()
221 C2Fence *fence) { in _fetchGraphicBlock()
/frameworks/av/media/module/aidlpersistentsurface/aidl/android/media/
DIAidlBufferSource.aidl62 void onInputBufferEmptied(int bufferID, in @nullable ParcelFileDescriptor fence); in onInputBufferEmptied()
/frameworks/av/services/camera/virtualcamera/
DVirtualCameraRenderThread.cc320 sp<Fence> fence) in CaptureRequestBuffer()
638 sp<Fence> fence = reqBuffer.getFence(); in flushCaptureRequest() local
712 const RequestSettings& requestSettings, sp<Fence> fence) { in renderIntoBlobStreamBuffer()
788 int streamId, int bufferId, sp<Fence> fence) { in renderIntoImageStreamBuffer()
820 EglFrameBuffer& framebuffer, sp<Fence> fence, std::optional<Rect> viewport) { in renderIntoEglFramebuffer()
/frameworks/native/libs/gui/include/gui/
DIGraphicBufferProducer.h375 sp<Fence> fence; member
742 sp<Fence> fence = Fence::NO_FENCE; member
804 sp<Fence> fence; member
/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp643 void EglManager::fence() { in fence() function in android::uirenderer::renderthread::EglManager
644 EGLSyncKHR fence = eglCreateSyncKHR(mEglDisplay, EGL_SYNC_FENCE_KHR, NULL); in fence() local
670 static status_t waitForeverOnFence(int fence, const char* logname) { in waitForeverOnFence()
684 status_t EglManager::fenceWait(int fence) { in fenceWait()

1234567