Home
last modified time | relevance | path

Searched refs:taskFunc (Results 1 - 10 of 10) sorted by relevance

/foundation/ability/form_fwk/services/src/
H A Dform_bundle_event_callback.cpp72 std::function<void()> taskFunc = [bundleName, userId]() { in OnReceiveEvent() local
80 FormTaskMgr::GetInstance().PostTask(taskFunc, delayMs); in OnReceiveEvent()
85 std::function<void()> taskFunc = [bundleName, userId]() { in OnReceiveEvent() local
91 FormTaskMgr::GetInstance().PostTask(taskFunc, 0); in OnReceiveEvent()
95 std::function<void()> taskFunc = [bundleName]() { in OnReceiveEvent() local
98 FormTaskMgr::GetInstance().PostTask(taskFunc, 0); in OnReceiveEvent()
/foundation/window/window_manager/window_scene/test/unittest/
H A Dtask_scheduler_test.cpp72 auto taskFunc = [&resultValue]() { in HWTEST_F() local
76 taskScheduler->PostAsyncTask(taskFunc); in HWTEST_F()
82 taskScheduler->PostAsyncTask(taskFunc, name, delayTime); in HWTEST_F()
92 auto taskFunc = [&taskTid]() { in HWTEST_F() local
99 taskScheduler->AddExportTask(funcName, taskFunc); in HWTEST_F()
111 auto taskFunc = [&taskTid]() { in HWTEST_F() local
119 taskScheduler->AddExportTask(funcName, taskFunc); in HWTEST_F()
141 auto taskFunc = [&executed]() { in HWTEST_F() local
149 taskScheduler->exportFuncMap_["taskFunc"] = taskFunc; in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/
H A Drender_custom_paint.cpp52 pool_->SetPushToRenderNodeFunc([weak = AceType::WeakClaim(this)](const TaskFunc& taskFunc) { in Update()
55 client->PushTask(taskFunc); in Update()
/foundation/distributedhardware/device_manager/utils/src/timer/
H A Ddm_timer.cpp55 auto taskFunc = [callback, name] () { callback(name); }; in StartTimer() local
56 ffrt::task_handle handle = queue_->submit_h(taskFunc, ffrt::task_attr().delay(timeOut * MICROSECOND_TO_SECOND)); in StartTimer()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/task/
H A Dtask_executor.cpp97 auto taskFunc = [task]() { in TriggerTask() local
102 DHContext::GetInstance().GetEventHandler()->PostTask(taskFunc, task->GetId()); in TriggerTask()
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/
H A Drender_xcomponent.cpp231 pool_->SetPushToRenderNodeFunc([weak = AceType::WeakClaim(this)](const TaskFunction& taskFunc) { in Update()
234 client->PushTask(taskFunc); in Update()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcamera/
H A Ddistributed_camera_source_service.cpp368 auto taskFunc = [this]() { in StartHicollieThread() local
379 OHOS::HiviewDFX::Watchdog::GetInstance().RunPeriodicalTask(CAMERA_HICOLLIE, taskFunc, in StartHicollieThread()
/foundation/distributedhardware/distributed_audio/services/audiomanager/managersource/src/
H A Ddaudio_source_manager.cpp475 auto taskFunc = [this]() { in ListenAudioDev() local
487 OHOS::HiviewDFX::Watchdog::GetInstance().RunPeriodicalTask("SourceService", taskFunc, in ListenAudioDev()
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/2.0/src/
H A Ddscreen.cpp59 auto taskFunc = [this]() { in DScreen() local
67 OHOS::HiviewDFX::Watchdog::GetInstance().RunPeriodicalTask("dscreenwatchdog", taskFunc, WATCHDOG_INTERVAL_TIME_MS, in DScreen()
/foundation/multimodalinput/input/service/module_loader/src/
H A Dmmi_service.cpp940 [[ maybe_unused ]] auto taskFunc = [this]() { in OnStart() local

Completed in 12 milliseconds