Home
last modified time | relevance | path

Searched refs:callbackTask (Results 1 – 5 of 5) sorted by relevance

/base/powermgr/power_manager/test/apitest/inner_api/shutdown/
Dasync_shutdown_callback_test.cpp103 packaged_task<void()> callbackTask(callbackStart); in WaitingCallback() local
104 future<void> fut = callbackTask.get_future(); in WaitingCallback()
105 make_unique<thread>(std::move(callbackTask))->detach(); in WaitingCallback()
/base/security/dlp_permission_service/services/dlp_permission/sa/callback/dlp_sandbox_change_callback/
Ddlp_sandbox_change_callback_manager.cpp154 std::packaged_task<void()> callbackTask(callbackStart); in ExecuteCallbackAsync() local
155 std::future<void> fut = callbackTask.get_future(); in ExecuteCallbackAsync()
156 std::make_unique<std::thread>(std::move(callbackTask))->detach(); in ExecuteCallbackAsync()
/base/security/access_token/services/privacymanager/src/active/
Dactive_status_callback_manager.cpp152 std::packaged_task<void()> callbackTask(callbackFunc); in ExecuteCallbackAsync() local
153 std::future<void> fut = callbackTask.get_future(); in ExecuteCallbackAsync()
154 std::make_unique<std::thread>(std::move(callbackTask))->detach(); in ExecuteCallbackAsync()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/callback/
Dcallback_manager.cpp159 std::packaged_task<void()> callbackTask(callbackStart); in ExecuteCallbackAsync() local
160 std::future<void> fut = callbackTask.get_future(); in ExecuteCallbackAsync()
161 std::make_unique<std::thread>(std::move(callbackTask))->detach(); in ExecuteCallbackAsync()
/base/powermgr/power_manager/services/native/src/shutdown/
Dshutdown_controller.cpp140 packaged_task<void()> callbackTask(callbackStart); in Prepare() local
141 future<void> fut = callbackTask.get_future(); in Prepare()
142 make_unique<thread>(std::move(callbackTask))->detach(); in Prepare()