Home
last modified time | relevance | path

Searched refs:syncFd (Results 1 – 12 of 12) sorted by relevance

/hardware/google/gfxstream/guest/platform/linux/
DLinuxSync.cpp28 int LinuxSyncHelper::wait(int syncFd, int timeoutMilliseconds) { in wait() argument
30 return sync_wait(syncFd, timeoutMilliseconds); in wait()
32 (void)syncFd; in wait()
38 int LinuxSyncHelper::dup(int syncFd) { return ::dup(syncFd); } in dup() argument
40 int LinuxSyncHelper::close(int syncFd) { return ::close(syncFd); } in close() argument
DLinuxSync.h25 int wait(int syncFd, int timeoutMilliseconds) override;
27 int dup(int syncFd) override;
29 int close(int syncFd) override;
/hardware/google/gfxstream/guest/platform/rutabaga/
DRutabagaVirtGpuSyncHelper.cpp32 int RutabagaVirtGpuSyncHelper::wait(int syncFd, int timeoutMilliseconds) { in wait() argument
33 return mEmulation->WaitOnEmulatedFence(syncFd, timeoutMilliseconds); in wait()
36 int RutabagaVirtGpuSyncHelper::dup(int syncFd) { in dup() argument
38 return syncFd; in dup()
DRutabagaVirtGpuSyncHelper.h30 int wait(int syncFd, int timeoutMilliseconds) override;
32 int dup(int syncFd) override;
/hardware/google/gfxstream/guest/platform/stub/
DStubSync.h25 int wait(int syncFd, int timeoutMilliseconds) override;
27 int dup(int syncFd) override;
29 int close(int syncFd) override;
/hardware/google/gfxstream/guest/platform/include/
DSync.h27 virtual int wait(int syncFd, int timeoutMilliseconds) = 0;
29 virtual int dup(int syncFd) = 0;
31 virtual int close(int syncFd) = 0;
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DGeneratedTestHarness.h84 void waitForSyncFence(int syncFd);
DGeneratedTestHarness.cpp269 void waitForSyncFence(int syncFd) { in waitForSyncFence() argument
271 ASSERT_GT(syncFd, 0); in waitForSyncFence()
272 int r = sync_wait(syncFd, kInfiniteTimeout); in waitForSyncFence()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DGeneratedTestHarness.h87 void waitForSyncFence(int syncFd);
DGeneratedTestHarness.cpp285 void waitForSyncFence(int syncFd) { in waitForSyncFence() argument
286 ASSERT_GT(syncFd, 0); in waitForSyncFence()
289 int r = sync_wait(syncFd, kInfiniteTimeout); in waitForSyncFence()
/hardware/google/gfxstream/guest/vulkan_enc/
DResourceTracker.cpp1131 if (semInfo.syncFd.value_or(-1) >= 0) { in unregister_VkSemaphore()
1134 syncHelper->close(semInfo.syncFd.value()); in unregister_VkSemaphore()
1172 if (fenceInfo.syncFd >= 0) { in unregister_VkFence()
1175 syncHelper->close(fenceInfo.syncFd); in unregister_VkFence()
4489 bool syncFd = pExternalFenceInfo->handleType & VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT; in on_vkGetPhysicalDeviceExternalFenceProperties() local
4491 if (!syncFd) { in on_vkGetPhysicalDeviceExternalFenceProperties()
4584 if (info.syncFd >= 0) { in on_vkResetFences()
4586 goldfish_sync_signal(info.syncFd); in on_vkResetFences()
4589 syncHelper->close(info.syncFd); in on_vkResetFences()
4590 info.syncFd = -1; in on_vkResetFences()
[all …]
DResourceTracker.h812 std::optional<int> syncFd = {}; member
838 int syncFd = -1; member