/foundation/aafwk/standard/services/appmgr/src/ |
D | ams_mgr_scheduler.cpp | 72 amsHandler_->PostTask(loadAbilityFunc, TASK_LOAD_ABILITY); in LoadAbility() 82 amsHandler_->PostTask(updateAbilityStateFunc, TASK_UPDATE_ABILITY_STATE); in UpdateAbilityState() 92 amsHandler_->PostTask(updateExtensionStateFunc, TASK_UPDATE_EXTENSION_STATE); in UpdateExtensionState() 102 amsHandler_->PostTask(terminateAbilityFunc, TASK_TERMINATE_ABILITY); in TerminateAbility() 112 amsHandler_->PostTask(registerAppStateCallbackFunc, TASK_REGISTER_APP_STATE_CALLBACK); in RegisterAppStateCallback() 128 amsHandler_->PostTask(abilityBehaviorAnalysisFunc, TASK_ABILITY_BEHAVIOR_ANALYSIS); in AbilityBehaviorAnalysis() 143 amsHandler_->PostTask(killProcessByAbilityTokenFunc, TASK_KILL_PROCESS_BY_ABILITYTOKEN); in KillProcessByAbilityToken() 159 amsHandler_->PostTask(killProcessesByUserIdFunc, TASK_KILL_PROCESSES_BY_USERID); in KillProcessesByUserId() 183 amsHandler_->PostTask(task); in AbilityAttachTimeOut() 193 amsHandler_->PostTask(task); in PrepareTerminate() [all …]
|
D | app_mgr_service.cpp | 176 handler_->PostTask(attachApplicationFunc, TASK_ATTACH_APPLICATION); in AttachApplication() 189 handler_->PostTask(applicationForegroundedFunc, TASK_APPLICATION_FOREGROUNDED); in ApplicationForegrounded() 202 handler_->PostTask(applicationBackgroundedFunc, TASK_APPLICATION_BACKGROUNDED); in ApplicationBackgrounded() 215 handler_->PostTask(applicationTerminatedFunc, TASK_APPLICATION_TERMINATED); in ApplicationTerminated() 225 handler_->PostTask(abilityCleanedFunc, TASK_ABILITY_CLEANED); in AbilityCleaned() 251 handler_->PostTask(addAppRecipientFunc, TASK_ADD_APP_DEATH_RECIPIENT); in AddAppDeathRecipient() 268 handler_->PostTask(startupResidentProcess, TASK_STARTUP_RESIDENT_PROCESS); in StartupResidentProcess() 295 handler_->PostTask(clearUpApplicationDataFunc, TASK_CLEAR_UP_APPLICATION_DATA); in ClearUpApplicationData() 354 handler_->PostTask(addAbilityStageDone, TASK_ADD_ABILITY_STAGE_DONE); in AddAbilityStageDone() 395 handler_->PostTask(startUserTestProcessFunc, TASK_START_USER_TEST_PROCESS); in StartUserTestProcess() [all …]
|
/foundation/appexecfwk/standard/libs/libeventhandler/test/unittest/ |
D | lib_event_handler_checker_test.cpp | 105 handler->PostTask(fs); 106 handler->PostTask(f); 157 handler->PostTask(fs); 158 handler->PostTask(f); 208 handler->PostTask(fs); 209 handler->PostTask(f, "eventHandlerCheckTest");
|
D | lib_event_handler_event_runner_test.cpp | 48 if (handler->PostTask(f)) { in WaitUntilTaskCalled() 170 if (handler->PostTask(f)) { 241 handler->PostTask(mainTask, DELAY_TIME); 267 if (handler->PostTask(f)) { 314 handler->PostTask(task); 343 handler->PostTask(f); 368 handler->PostTask(task, "task1"); 369 handler->PostTask(task);
|
/foundation/appexecfwk/standard/test/systemtest/common/ems/ems_event_runner_system_test/ |
D | ems_event_runner_system_test.cpp | 184 if (handler->PostTask(f)) { in WaitUntilTaskCalled() 243 handler->PostTask(task); 261 handler->PostTask(task); 279 handler->PostTask(task); 297 handler->PostTask(task); 315 handler->PostTask(task); 334 handler->PostTask(task, EventHandler::Priority::HIGH); 352 handler->PostTask(task, EventHandler::Priority::LOW); 370 handler->PostTask(task, EventHandler::Priority::IMMEDIATE); 388 handler->PostTask(task, EventHandler::Priority::IDLE); [all …]
|
/foundation/ace/ace_engine/adapter/ohos/capability/clipboard/ |
D | clipboard_impl.cpp | 32 taskExecutor_->PostTask( in SetData() 45 taskExecutor_->PostTask([data]() { g_clipboard = data; }, TaskExecutor::TaskType::UI); in SetData() 76 … taskExecutor_->PostTask([callback, result]() { callback(result); }, TaskExecutor::TaskType::UI); in GetData() 80 taskExecutor_->PostTask( in GetData()
|
/foundation/multimedia/camera_lite/interfaces/kits/ |
D | event_handler.h | 37 auto task = new PostTask<F>(f); in Post() 57 struct PostTask : public EventObj { struct 58 PostTask(const F &f) : f_(f) {} in PostTask() function
|
/foundation/resourceschedule/frame_aware_sched/interfaces/innerkits/frameintf/ |
D | frame_msg_intf.cpp | 38 threadHandler_->PostTask([] { in Init() 70 threadHandler_->PostTask([appName, processName, pid, reason] { in ReportAppInfo() 82 threadHandler_->PostTask([pid, isFocus] { in ReportWindowFocus() 94 threadHandler_->PostTask([pid, tid, state] { in ReportProcessInfo()
|
/foundation/ace/ace_engine/frameworks/core/components/web/resource/ |
D | web_delegate.cpp | 201 platformTaskExecutor.PostTask([weak = WeakClaim(this)] { in Stop() 263 context->GetTaskExecutor()->PostTask( in LoadUrl() 285 context->GetTaskExecutor()->PostTask( in Backward() 306 context->GetTaskExecutor()->PostTask( in Forward() 327 context->GetTaskExecutor()->PostTask( in ClearHistory() 388 context->GetTaskExecutor()->PostTask( in ExecuteTypeScript() 404 context->GetTaskExecutor()->PostTask( in ExecuteTypeScript() 423 context->GetTaskExecutor()->PostTask( in LoadDataWithBaseUrl() 446 context->GetTaskExecutor()->PostTask( in LoadDataWithRichText() 465 context->GetTaskExecutor()->PostTask( in Refresh() [all …]
|
/foundation/aafwk/standard/services/formmgr/src/ |
D | form_task_mgr.cpp | 48 eventHandler_->PostTask(acquireProviderFormInfoFunc, FORM_TASK_DELAY_TIME); in PostAcquireTask() 64 eventHandler_->PostTask(notifyFormDeleteFunc, FORM_TASK_DELAY_TIME); in PostDeleteTask() 83 eventHandler_->PostTask(notifyFormUpdateFunc, FORM_TASK_DELAY_TIME); in PostRefreshTask() 102 eventHandler_->PostTask(notifyCastTempFunc, FORM_TASK_DELAY_TIME); in PostCastTempTask() 122 eventHandler_->PostTask(acquireTaskToHostFunc, FORM_TASK_DELAY_TIME); in PostAcquireTaskToHost() 146 eventHandler_->PostTask(updateTaskToHostFunc, FORM_TASK_DELAY_TIME); in PostUpdateTaskToHost() 168 eventHandler_->PostTask(postTaskFunc, FORM_TASK_DELAY_TIME); in PostHostDiedTask() 189 eventHandler_->PostTask(eventNotifyFunc, FORM_TASK_DELAY_TIME); in PostEventNotifyTask() 206 eventHandler_->PostTask(batchDeleteFunc, FORM_TASK_DELAY_TIME); in PostProviderBatchDeleteTask() 224 eventHandler_->PostTask(formEventFunc, FORM_TASK_DELAY_TIME); in PostFormEventTask() [all …]
|
D | form_bundle_event_callback.cpp | 55 eventHandler_->PostTask(task); in OnReceiveEvent() 66 eventHandler_->PostTask(task); in OnReceiveEvent() 75 eventHandler_->PostTask(task); in OnReceiveEvent()
|
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/common/ |
D | adapter_state_machine.cpp | 67 stateMachine.GetDispatch().PostTask(std::bind( in AdapterTurningOnState() 71 stateMachine.GetDispatch().PostTask(std::bind( in AdapterTurningOnState() 118 adapterStateMachine_.GetDispatch().PostTask( in Dispatch() 125 adapterStateMachine_.GetDispatch().PostTask( in Dispatch() 157 stateMachine.GetDispatch().PostTask(std::bind( in AdapterTurningOffState() 161 stateMachine.GetDispatch().PostTask(std::bind( in AdapterTurningOffState() 206 adapterStateMachine_.GetDispatch().PostTask( in Dispatch()
|
/foundation/ace/ace_engine/adapter/ohos/entrance/pa_engine/ |
D | backend_delegate_impl.cpp | 82 …taskExecutor_->PostTask([dispatcherCallback = dispatcherCallback_, dispatcher] { dispatcherCallbac… in SetJsMessageDispatcher() 93 taskExecutor_->PostTask(task, TaskExecutor::TaskType::JS); in PostJsTask() 141 taskExecutor_->PostTask( in LoadPa() 157 taskExecutor_->PostTask( in TransferJsResponseData() 172 taskExecutor_->PostTask( in TransferJsPluginGetError() 186 taskExecutor_->PostTask( in TransferJsEventData() 200 taskExecutor_->PostTask( in LoadPluginJsCode() 214 taskExecutor_->PostTask( in LoadPluginJsByteCode() 248 taskExecutor_->PostTask( in FireAsyncEvent() 298 taskExecutor_->PostTask( in OnApplicationCommand() [all …]
|
/foundation/aafwk/standard/services/abilitymgr/src/ |
D | mission_listener_controller.cpp | 113 handler_->PostTask(task); in NotifyMissionCreated() 131 handler_->PostTask(task); in NotifyMissionDestroyed() 155 handler_->PostTask(task); in HandleUnInstallApp() 175 handler_->PostTask(task); in NotifyMissionSnapshotChanged() 194 handler_->PostTask(task); in NotifyMissionMovedToFront() 215 handler_->PostTask(task); in NotifyMissionIconChanged()
|
/foundation/aafwk/aafwk_lite/frameworks/ability_lite/src/ |
D | ability_scheduler.cpp | 147 eventHandler_.PostTask(task); in PerformAppInit() 156 eventHandler_.PostTask(task); in PerformTransactAbilityState() 165 eventHandler_.PostTask(task); in PerformConnectAbility() 174 eventHandler_.PostTask(task); in PerformDisconnectAbility() 182 eventHandler_.PostTask(task); in PerformAppExit() 198 eventHandler_.PostTask(task); in PerformDumpAbility()
|
/foundation/resourceschedule/resource_schedule_service/cgroup_sched/framework/sched_controller/ |
D | app_state_observer.cpp | 43 cgHander->PostTask([cgHander, uid, bundleName, state] { in OnForegroundApplicationChanged() 70 …cgHander->PostTask([cgHander, uid, pid, bundleName, abilityName, token, abilityState, abilityType]… in OnAbilityStateChanged() 100 …cgHander->PostTask([cgHander, uid, pid, bundleName, abilityName, token, abilityState, abilityType]… in OnExtensionStateChanged() 126 cgHander->PostTask([cgHander, uid, pid, bundleName] { in OnProcessCreated() 150 cgHander->PostTask([cgHander, uid, pid, bundleName] { in OnProcessDied() 175 cgHander->PostTask([cgHander, uid, bundleName, state] { in OnApplicationStateChanged()
|
D | window_state_observer.cpp | 36 cgHander->PostTask([cgHander, windowId, token, windowType, displayId, pid, uid] { in OnFocused() 53 cgHander->PostTask([cgHander, windowId, token, windowType, displayId, pid, uid] { in OnUnfocused() 74 cgHander->PostTask([cgHander, windowId, isVisible, pid, uid] { in OnWindowVisibilityChanged()
|
/foundation/ace/ace_engine/frameworks/core/components/font/ |
D | flutter_font_loader.cpp | 47 context->GetTaskExecutor()->PostTask([weak = AceType::WeakClaim(this), weakContext] { in LoadFromNetwork() 57 context->GetTaskExecutor()->PostTask([fontData, weak] { in LoadFromNetwork() 84 context->GetTaskExecutor()->PostTask([weak = AceType::WeakClaim(this), weakContext] { in LoadFromAsset() 107 context->GetTaskExecutor()->PostTask([assetData, weak] { in LoadFromAsset()
|
D | rosen_font_loader.cpp | 47 context->GetTaskExecutor()->PostTask( in LoadFromNetwork() 58 context->GetTaskExecutor()->PostTask( in LoadFromNetwork() 88 context->GetTaskExecutor()->PostTask( in LoadFromAsset() 112 context->GetTaskExecutor()->PostTask( in LoadFromAsset()
|
/foundation/ace/ace_engine/frameworks/base/test/unittest/task_executor/ |
D | task_executor_test.cpp | 89 platform_->PostTask([&promiseInit, flutterTaskExecutor]() { in InitTaskExecutor() 137 ASSERT_FALSE(taskExecutor_->PostTask(nullptr, TaskExecutor::TaskType::UI)); 172 ASSERT_FALSE(taskExecutor_->PostTask(nullptr, TaskExecutor::TaskType::PLATFORM)); 206 ASSERT_FALSE(taskExecutor_->PostTask(nullptr, TaskExecutor::TaskType::IO)); 240 ASSERT_FALSE(taskExecutor_->PostTask(nullptr, TaskExecutor::TaskType::JS)); 264 …taskExecutor_->PostTask([this, &taskPromise]() { this->GetString(BACKGROUNDTASK, std::move(taskPro… in __anon61ae0b120c02() 272 ASSERT_FALSE(taskExecutor_->PostTask(nullptr, TaskExecutor::TaskType::BACKGROUND));
|
/foundation/ace/ace_engine/frameworks/core/components/camera/ |
D | camera_element.cpp | 95 platformTaskExecutor.PostTask([camera = camera_]() {}); in ReleasePlatformResource() 106 platformTaskExecutor.PostTask([texture = texture_]() {}); in ReleasePlatformResource() 112 gpuTaskExecutor.PostTask([weak, platformTaskExecutor]() { in ReleasePlatformResource() 120 platformTaskExecutor.PostTask([texture]() {}); in ReleasePlatformResource() 370 context->GetTaskExecutor()->PostTask( in CloseRecorder() 419 uiTaskExecutor.PostTask([weak, errorcode, errormsg] { in CreateTexture() 549 context->GetTaskExecutor()->PostTask( in CreatePlatformResource() 575 uiTaskExecutor.PostTask([weak, params] { in SetMethodCall() 585 uiTaskExecutor.PostTask([weak] { in SetMethodCall() 596 uiTaskExecutor.PostTask([weak, params] { in SetMethodCall() [all …]
|
/foundation/ace/ace_engine/frameworks/base/thread/ |
D | task_executor.h | 54 bool PostTask(Task&& task, TaskType type) const in PostTask() function 66 bool PostTask(const Task& task, TaskType type) const in PostTask() function 264 bool PostTask(Task&& task) const in PostTask() function 266 return taskExecutor_ ? taskExecutor_->PostTask(std::move(task), type_) : false; in PostTask() 275 bool PostTask(const Task& task) const in PostTask() function 277 return taskExecutor_ ? taskExecutor_->PostTask(task, type_) : false; in PostTask()
|
/foundation/ace/ace_engine/frameworks/bridge/plugin_frontend/ |
D | plugin_frontend_delegate.cpp | 150 taskExecutor_->PostTask( in ChangeLocale() 267 taskExecutor_->PostTask( in OnJSCallback() 279 …taskExecutor_->PostTask([dispatcherCallback = dispatcherCallback_, dispatcher] { dispatcherCallbac… in SetJsMessageDispatcher() 288 taskExecutor_->PostTask( in TransferComponentResponseData() 310 taskExecutor_->PostTask( in TransferJsResponseData() 323 taskExecutor_->PostTask( in TransferJsResponseDataPreview() 336 taskExecutor_->PostTask( in TransferJsPluginGetError() 348 taskExecutor_->PostTask( in TransferJsEventData() 359 taskExecutor_->PostTask( in LoadPluginJsCode() 375 taskExecutor_->PostTask( in LoadPluginJsByteCode() [all …]
|
/foundation/ace/ace_engine/frameworks/core/image/ |
D | image_provider.cpp | 69 taskExecutor->PostTask( in FetchImageObject() 73 …taskExecutor->PostTask([successCallback, imageInfo, imageObj]() { successCallback(imageInfo, image… in FetchImageObject() 90 BackgroundTaskExecutor::GetInstance().PostTask(cancelableTask); in FetchImageObject() 191 taskExecutor->PostTask( in GetSVGImageDOMAsyncFromSrc() 198 taskExecutor->PostTask([failedCallback] { failedCallback(); }, TaskExecutor::TaskType::UI); in GetSVGImageDOMAsyncFromSrc() 204 BackgroundTaskExecutor::GetInstance().PostTask(cancelableTask); in GetSVGImageDOMAsyncFromSrc() 231 taskExecutor->PostTask( in GetSVGImageDOMAsyncFromData() 237 taskExecutor->PostTask([failedCallback] { failedCallback(); }, TaskExecutor::TaskType::UI); in GetSVGImageDOMAsyncFromData() 243 BackgroundTaskExecutor::GetInstance().PostTask(cancelableTask); in GetSVGImageDOMAsyncFromData() 297 renderTaskHolder->ioTaskRunner->PostTask(std::move(task)); in UploadImageToGPUForRender() [all …]
|
/foundation/aafwk/standard/frameworks/kits/ability/native/src/continuation/distributed/ |
D | reverse_continuation_scheduler_replica.cpp | 39 bool ret = mainHandler_->PostTask(task); in PassPrimary() 57 bool ret = mainHandler_->PostTask(task); in ReverseContinuation() 76 bool ret = mainHandler_->PostTask(task); in NotifyReverseResult()
|