Home
last modified time | relevance | path

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

/base/customization/enterprise_device_management/services/edm_plugin/src/utils/
Dinstaller_callback.cpp33 auto future = resultCodeSignal_.get_future(); in GetResultCode() local
34 future.wait(); in GetResultCode()
35 return future.get(); in GetResultCode()
40 auto future = resultMsgSignal_.get_future(); in GetResultMsg() local
41 future.wait(); in GetResultMsg()
42 return future.get(); in GetResultMsg()
/base/powermgr/power_manager/utils/ffrt/src/
Dffrt_utils.cpp51 ffrt::future<void> future = ffrt::async(task); in SubmitTimeoutTask() local
52 auto status = future.wait_for(std::chrono::milliseconds(timeoutMs)); in SubmitTimeoutTask()
/base/msdp/device_status/services/delegate_task/src/
Ddelegate_tasks.cpp104 Future future = promise.get_future(); in PostSyncTask() local
110 auto res = future.wait_for(span); in PostSyncTask()
119 return future.get(); in PostSyncTask()
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
Dget_hardware_info.cpp159 std::vector<future<uint64_t>> results; in GetHardwareUsage()
164 auto future = std::async(std::launch::async, CalcHardware, groupPaths); in GetHardwareUsage() local
165 results.emplace_back(std::move(future)); in GetHardwareUsage()
/base/useriam/user_auth_framework/frameworks/native/executors/include/async_command/
Dcustom_command.h42 std::future<void> future_;
/base/msdp/device_status/frameworks/native/interaction/test/unittest/src/
Dinteraction_manager_test.cpp427 std::future<bool> futureFlag = promiseFlag.get_future();
451 std::future<bool> futureFlag = promiseFlag.get_future();
542 std::future<bool> futureFlag = promiseFlag.get_future();
573 std::future<bool> futureFlag = promiseFlag.get_future();
613 std::future<bool> futureFlag = promiseFlag.get_future();
659 std::future<bool> futureFlag = promiseFlag.get_future();
696 std::future<bool> futureFlag = promiseFlag.get_future();
731 std::future<bool> futureFlag = promiseFlag.get_future();
762 std::future<bool> futureFlag = promiseFlag.get_future();
798 std::future<bool> futureFlag = promiseFlag.get_future();
[all …]
Dinteraction_drag_drawing_test.cpp144 std::future<bool> futureFlag = promiseFlag.get_future();
184 std::future<bool> futureFlag = promiseFlag.get_future();
224 std::future<bool> futureFlag = promiseFlag.get_future();
264 std::future<bool> futureFlag = promiseFlag.get_future();
304 std::future<bool> futureFlag = promiseFlag.get_future();
340 std::future<bool> futureFlag = promiseFlag.get_future();
371 std::future<bool> futureFlag = promiseFlag.get_future();
/base/msdp/device_status/services/delegate_task/include/
Ddelegate_tasks.h41 using Future = std::future<int32_t>;
/base/global/system_resources/
DREADME.md15 …ril, Greek, and Arabic language systems at present. More languages will be supported in the future.
/base/powermgr/power_manager/test/apitest/inner_api/shutdown/
Dasync_shutdown_callback_test.cpp104 future<void> fut = callbackTask.get_future(); in WaitingCallback()
/base/hiviewdfx/hiview/base/include/
Devent_loop.h115 …std::future<bool> AddEventForResult(std::shared_ptr<EventHandler> handler, std::shared_ptr<Event> …
/base/security/dlp_permission_service/services/dlp_permission/sa/callback/dlp_sandbox_change_callback/
Ddlp_sandbox_change_callback_manager.cpp155 std::future<void> fut = callbackTask.get_future(); in ExecuteCallbackAsync()
/base/security/access_token/services/privacymanager/src/active/
Dactive_status_callback_manager.cpp153 std::future<void> fut = callbackTask.get_future(); in ExecuteCallbackAsync()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/callback/
Dcallback_manager.cpp160 std::future<void> fut = callbackTask.get_future(); in ExecuteCallbackAsync()
/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/
Dmemory_info.h78 std::future<GroupMap> fut_;
/base/powermgr/power_manager/services/native/src/shutdown/
Dshutdown_controller.cpp141 future<void> fut = callbackTask.get_future(); in Prepare()
/base/hiviewdfx/hiview/base/
Devent_loop.cpp42 std::future<bool> GetFalseFuture() in GetFalseFuture()
183 std::future<bool> EventLoop::AddEventForResult(std::shared_ptr<EventHandler> handler, std::shared_p… in AddEventForResult()
/base/hiviewdfx/hiview/core/
Dhiview_platform.cpp632 std::future<bool> ret; in PostSyncEventToTarget()