Home
last modified time | relevance | path

Searched refs:future (Results 1 – 25 of 215) sorted by relevance

123456789

/hardware/interfaces/contexthub/common/vts/
DVtsHalContexthubUtilsCommon.h46 bool waitForCallback(std::future<ReturnType> future, ReturnType* result,
51 EXPECT_TRUE(future.valid());
52 if (result != nullptr && future.valid()) {
53 std::future_status status = future.wait_until(expiration);
57 *result = future.get();
/hardware/interfaces/biometrics/fingerprint/aidl/default/include/
DFakeFingerprintEngine.h47 const std::future<void>& cancel);
49 const std::future<void>& cancel);
50 virtual void detectInteractionImpl(ISessionCallback* cb, const std::future<void>& cancel);
91 virtual void updateContext(WorkMode mode, ISessionCallback* cb, std::future<void>& cancel,
95 const std::future<void>& cancel);
96 bool onAuthenticateFingerDown(ISessionCallback* cb, int64_t, const std::future<void>& cancel);
97 bool onDetectInteractFingerDown(ISessionCallback* cb, const std::future<void>& cancel);
102 std::future<void> mCancel;
114 void waitForFingerDown(ISessionCallback* cb, const std::future<void>& cancel);
/hardware/interfaces/biometrics/common/thread/tests/
DWorkerThreadTest.cpp35 auto future = promise.get_future(); in TEST() local
42 future.wait(); in TEST()
50 auto future = promise.get_future(); in TEST() local
61 future.wait(); in TEST()
/hardware/google/aemu/base/include/aemu/base/threads/
DWorkerThread.h97 std::future<void> completeFuture = enqueueImpl(Command()); in waitQueuedItems()
106 std::future<void> enqueue(Item&& item) { in enqueue()
122 std::future<void> enqueueImpl(Command command) { in enqueueImpl()
130 std::future<void> res = command.mCompletedPromise.get_future(); in enqueueImpl()
/hardware/google/gfxstream/guest/mesa/src/util/
Dcnd_monotonic.h117 const uint64_t future = (abs_time->tv_sec * 1000) + (abs_time->tv_nsec / 1000000); in u_cnd_monotonic_timedwait() local
119 const DWORD timeout = (future > now) ? (DWORD)(future - now) : 0; in u_cnd_monotonic_timedwait()
/hardware/interfaces/biometrics/face/aidl/default/
DFakeFaceEngine.h51 const std::future<void>& cancel);
53 const std::future<void>& cancel);
54 void detectInteractionImpl(ISessionCallback* cb, const std::future<void>& cancel);
/hardware/interfaces/biometrics/fingerprint/aidl/default/
DFakeFingerprintEngine.cpp55 const std::future<void>& cancel) { in enrollImpl()
67 updateContext(WorkMode::kEnroll, cb, const_cast<std::future<void>&>(cancel), 0, hat); in enrollImpl()
71 const std::future<void>& cancel) { in authenticateImpl()
76 updateContext(WorkMode::kAuthenticate, cb, const_cast<std::future<void>&>(cancel), operationId, in authenticateImpl()
81 const std::future<void>& cancel) { in detectInteractionImpl()
93 updateContext(WorkMode::kDetectInteract, cb, const_cast<std::future<void>&>(cancel), 0, in detectInteractionImpl()
98 std::future<void>& cancel, int64_t operationId, in updateContext()
132 const std::future<void>& cancel) { in onEnrollFingerDown()
198 const std::future<void>& cancel) { in onAuthenticateFingerDown()
275 const std::future<void>& cancel) { in onDetectInteractFingerDown()
[all …]
/hardware/google/gfxstream/host/compressedTextureFormats/
DAstcCpuDecompressorImpl.cpp172 std::future<astcenc_error> decompress(astcenc_context* context, uint32_t threadIndex, in decompress()
229 std::array<std::future<astcenc_error>, kNumThreads> futures; in decompress()
251 for (auto& future : futures) { in decompress() local
252 astcenc_error status = future.get(); in decompress()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_QNX_screen_surface/
DplatformCreateSurface_screen.adoc36 * pname:flags is reserved for future use.
53 [open,refpage='VkScreenSurfaceCreateFlagsQNX',desc='Reserved for future use',type='flags']
58 but is currently reserved for future use.
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_FUCHSIA_imagepipe_surface/
DplatformCreateSurface_imagepipe.adoc38 * pname:flags is reserved for future use.
55 [open,refpage='VkImagePipeSurfaceCreateFlagsFUCHSIA',desc='Reserved for future use',type='flags']
60 mask, but is currently reserved for future use.
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_EXT_metal_surface/
DplatformCreateSurface_metal.adoc38 * pname:flags is reserved for future use.
56 [open,refpage='VkMetalSurfaceCreateFlagsEXT',desc='Reserved for future use',type='flags']
61 is currently reserved for future use.
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_EXT_directfb_surface/
DplatformCreateSurface_directfb.adoc38 * pname:flags is reserved for future use.
56 [open,refpage='VkDirectFBSurfaceCreateFlagsEXT',desc='Reserved for future use',type='flags']
61 but is currently reserved for future use.
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_MVK_ios_surface/
DplatformCreateSurface_ios.adoc49 * pname:flags is reserved for future use.
67 [open,refpage='VkIOSSurfaceCreateFlagsMVK',desc='Reserved for future use',type='flags']
72 is currently reserved for future use.
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_MVK_macos_surface/
DplatformCreateSurface_macos.adoc49 * pname:flags is reserved for future use.
68 [open,refpage='VkMacOSSurfaceCreateFlagsMVK',desc='Reserved for future use',type='flags']
73 is currently reserved for future use.
/hardware/interfaces/neuralnetworks/1.3/
Dtypes.t146 * Failure because a deadline could not be met for a task, but future
152 * Failure because a deadline could not be met for a task, and future
159 * Failure because of a resource limitation within the driver, but future
165 * Failure because of a resource limitation within the driver, and future
/hardware/interfaces/contexthub/1.0/vts/functional/
DVtsHalContexthubV1_0TargetTest.cpp165 std::future<TransactionResult>&& future) { in checkFailureSyncOrAsync() argument
170 if (!waitForCallback(std::forward<std::future<TransactionResult>>(future), &asyncResult)) { in checkFailureSyncOrAsync()
/hardware/interfaces/uwb/aidl/vts/
DVtsHalUwbTargetTest.cpp102 std::future<void> open_cb_future{open_cb_promise.get_future()}; in getAnyChipAndOpen()
134 std::future<void> open_cb_future{open_cb_promise.get_future()}; in TEST_P()
150 std::future<void> open_cb_future{open_cb_promise.get_future()}; in TEST_P()
152 std::future<void> close_cb_future{close_cb_promise.get_future()}; in TEST_P()
/hardware/interfaces/gnss/aidl/default/
DGnssNavigationMessageInterface.cpp123 for (auto& future : mFutures) { in waitForStoppingThreads() local
125 future.wait(); in waitForStoppingThreads()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_EXT_headless_surface/
Dheadless.adoc56 * pname:flags is reserved for future use.
66 [open,refpage='VkHeadlessSurfaceCreateFlagsEXT',desc='Reserved for future use',type='flags']
71 but is currently reserved for future use.
/hardware/interfaces/biometrics/common/util/include/util/
DCancellationSignal.h37 bool shouldCancel(const std::future<void>& cancellationFuture);
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_GGP_stream_descriptor_surface/
DplatformCreateSurface_streamdescriptor.adoc39 * pname:flags is reserved for future use.
68 [open,refpage='VkStreamDescriptorSurfaceCreateFlagsGGP',desc='Reserved for future use',type='flags']
73 a mask, but is currently reserved for future use.
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_KHR_win32_surface/
DplatformCreateSurface_win32.adoc38 * pname:flags is reserved for future use.
78 [open,refpage='VkWin32SurfaceCreateFlagsKHR',desc='Reserved for future use',type='flags']
83 is currently reserved for future use.
/hardware/interfaces/biometrics/common/util/
DCancellationSignal.cpp32 bool shouldCancel(const std::future<void>& f) { in shouldCancel()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_NN_vi_surface/
DplatformCreateSurface_vi.adoc56 * pname:flags is reserved for future use.
69 [open,refpage='VkViSurfaceCreateFlagsNN',desc='Reserved for future use',type='flags']
74 currently reserved for future use.
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_KHR_android_surface/
DplatformCreateSurface_android.adoc64 * pname:flags is reserved for future use.
87 [open,refpage='VkAndroidSurfaceCreateFlagsKHR',desc='Reserved for future use',type='flags']
92 but is currently reserved for future use.

123456789