/foundation/ace/ace_engine/frameworks/base/thread/ |
D | task_executor.h | 138 bool PostSyncTask(Task&& task, TaskType type) const in PostSyncTask() function 157 bool PostSyncTask(const Task& task, TaskType type) const in PostSyncTask() function 159 return PostSyncTask(Task(task), type); in PostSyncTask() 170 bool PostSyncTask(CancelableTask&& task, TaskType type) const in PostSyncTask() function 190 bool PostSyncTask(const CancelableTask& task, TaskType type) const in PostSyncTask() function 192 return PostSyncTask(CancelableTask(task), type); in PostSyncTask() 313 bool PostSyncTask(Task&& task) const in PostSyncTask() function 315 return taskExecutor_ ? taskExecutor_->PostSyncTask(std::move(task), type_) : false; in PostSyncTask() 325 bool PostSyncTask(const Task& task) const in PostSyncTask() function 327 return taskExecutor_ ? taskExecutor_->PostSyncTask(task, type_) : false; in PostSyncTask() [all …]
|
/foundation/ace/ace_engine/adapter/ohos/entrance/pa_engine/ |
D | backend_delegate_impl.cpp | 131 taskExecutor_->PostSyncTask( in LoadPa() 275 taskExecutor_->PostSyncTask( in FireSyncEvent() 291 taskExecutor_->PostSyncTask( in OnApplicationDestroy() 319 taskExecutor_->PostSyncTask( in Insert() 328 taskExecutor_->PostSyncTask( in Query() 338 taskExecutor_->PostSyncTask( in Update() 347 taskExecutor_->PostSyncTask( in Delete() 356 …taskExecutor_->PostSyncTask([batchInsert = batchInsert_, &ret, uri, values] { ret = batchInsert(ur… in BatchInsert() 364 …taskExecutor_->PostSyncTask([getType = getType_, &ret, uri] { ret = getType(uri); }, TaskExecutor:… in GetType() 371 taskExecutor_->PostSyncTask( in GetFileTypes() [all …]
|
/foundation/ace/ace_engine/frameworks/base/test/unittest/task_executor/ |
D | task_executor_test.cpp | 120 taskExecutor_->PostSyncTask([&uiTask]() { uiTask = UISYNCTASK; }, TaskExecutor::TaskType::UI); in __anon61ae0b120302() 154 taskExecutor_->PostSyncTask( 189 taskExecutor_->PostSyncTask([&ioTask]() { ioTask = IOSYNCTASK; }, TaskExecutor::TaskType::IO); in __anon61ae0b120702() 223 taskExecutor_->PostSyncTask([&jsTask]() { jsTask = JSSYNCTASK; }, TaskExecutor::TaskType::JS); in __anon61ae0b120902() 256 ASSERT_FALSE(taskExecutor_->PostSyncTask([]() {}, TaskExecutor::TaskType::BACKGROUND)); in __anon61ae0b120b02()
|
/foundation/aafwk/standard/frameworks/kits/ability/native/src/form_runtime/ |
D | form_extension_provider_client.cpp | 70 mainHandler->PostSyncTask(acquireProviderInfoFunc); in AcquireProviderFormInfo() 134 mainHandler->PostSyncTask(notifyFormExtensionDeleteFunc); in NotifyFormDelete() 178 mainHandler->PostSyncTask(notifyFormExtensionsDeleteFunc); in NotifyFormsDelete() 224 mainHandler->PostSyncTask(notifyFormExtensionUpdateFunc); in NotifyFormUpdate() 269 mainHandler->PostSyncTask(eventNotifyExtensionFunc); in EventNotify() 316 mainHandler->PostSyncTask(notifyFormExtensionCastTempFormFunc); in NotifyFormCastTempForm() 360 mainHandler->PostSyncTask(fireFormExtensionEventFunc); in FireFormEvent() 404 mainHandler->PostSyncTask(notifyFormExtensionAcquireStateFunc); in AcquireState()
|
/foundation/resourceschedule/background_task_mgr/services/transient_task/src/ |
D | bg_transient_task_mgr.cpp | 198 handler_->PostSyncTask([&]() { in RequestSuspendDelay() 258 handler_->PostSyncTask([&]() { in CancelSuspendDelay() 293 handler_->PostSyncTask([&]() { in ForceCancelSuspendDelay() 378 handler_->PostSyncTask([&]() { in HandleExpiredCallbackDeath() 394 handler_->PostSyncTask([&]() { in HandleSubscriberDeath() 442 handler_->PostSyncTask([&]() { in SubscribeBackgroundTask() 475 handler_->PostSyncTask([&]() { in UnsubscribeBackgroundTask()
|
/foundation/aafwk/standard/common/task_dispatcher/include/task/ |
D | task_handler_libevent_adapter.h | 45 return EventHandler::PostSyncTask(*(runnable.get()), EventQueue::Priority::HIGH); in DispatchSync()
|
/foundation/ace/ace_engine/frameworks/core/components/web/resource/ |
D | web_client_impl.cpp | 37 task->PostSyncTask([&webClientImpl, dialogEventType, ¶m, &jsResult] { in OnJsCommonDialog() 91 task->PostSyncTask([webClient = this, &message, &jsMessage] { in OnConsoleLog() 278 task->PostSyncTask([webClient = this, ¶m, &jsResult] { in OnFileSelectorShow()
|
D | web_javascript_result_callback.cpp | 111 task->PostSyncTask( in GetJavaScriptResult()
|
/foundation/ace/ace_engine/adapter/ohos/capability/clipboard/ |
D | clipboard_impl.cpp | 54 taskExecutor_->PostSyncTask( in GetData()
|
/foundation/resourceschedule/background_task_mgr/services/continuous_task/src/ |
D | bg_continuous_task_mgr.cpp | 93 handler_->PostSyncTask(registerTask); in Init() 451 handler_->PostSyncTask([this, continuousTaskRecord, &result]() mutable { in StartBackgroundRunning() 597 handler_->PostSyncTask([this, callingUid, abilityName, abilityToken, &result]() { in StopBackgroundRunning() 631 handler_->PostSyncTask([this, &subscriber, &result]() { in AddSubscriber() 682 handler_->PostSyncTask([this, &subscriber, &result]() { in RemoveSubscriber() 721 handler_->PostSyncTask([&]() { in ShellDump() 825 handler_->PostSyncTask([this, mapKey, &result]() { in StopContinuousTaskByUser() 843 handler_->PostSyncTask([this, &object]() { this->OnRemoteSubscriberDiedInner(object); }); in OnRemoteSubscriberDied()
|
/foundation/ace/ace_engine/frameworks/core/common/ |
D | form_manager.cpp | 90 pipelineContext->GetTaskExecutor()->PostSyncTask( in Dump()
|
D | ace_engine.cpp | 89 pipelineContext->GetTaskExecutor()->PostSyncTask( in Dump()
|
/foundation/appexecfwk/standard/test/systemtest/common/ems/ems_event_runner_system_test/ |
D | ems_event_runner_system_test.cpp | 698 handler->PostSyncTask(task, EventHandler::Priority::IMMEDIATE); 716 handler->PostSyncTask(task, EventHandler::Priority::LOW); 734 handler->PostSyncTask(task, EventHandler::Priority::HIGH); 752 handler->PostSyncTask(task, EventHandler::Priority::IDLE); 770 handler->PostSyncTask(task, EventHandler::Priority::IDLE); 789 handler->PostSyncTask(task); 807 handler->PostSyncTask(task); 825 handler->PostSyncTask(task); 843 handler->PostSyncTask(task); 861 handler->PostSyncTask(task);
|
/foundation/appexecfwk/standard/libs/test/moduletest/common/event_handler/ |
D | event_handler_send_sync_event_module_test.cpp | 359 bool result = handler->PostSyncTask(myTask, taskName); in __anon9720412e0802() 384 bool result = handler->PostSyncTask(myTask, EventQueue::Priority::HIGH); in __anon9720412e0a02()
|
/foundation/ace/ace_engine/frameworks/bridge/plugin_frontend/ |
D | plugin_frontend_delegate.cpp | 385 taskExecutor_->PostSyncTask( in OnPageBackPress() 448 taskExecutor_->PostSyncTask( in OnConfigurationUpdated() 458 taskExecutor_->PostSyncTask( in OnStartContinuation() 471 taskExecutor_->PostSyncTask( in OnCompleteContinuation() 483 taskExecutor_->PostSyncTask( in OnRemoteTerminated() 496 taskExecutor_->PostSyncTask( in OnSaveData() 511 taskExecutor_->PostSyncTask( in OnRestoreData() 576 taskExecutor_->PostSyncTask( in OnApplicationDestroy() 601 taskExecutor_->PostSyncTask( in OnSaveAbilityState() 661 taskExecutor_->PostSyncTask( in FireSyncEvent() [all …]
|
/foundation/ace/ace_engine/frameworks/core/event/multimodal/ |
D | multimodal_manager.cpp | 120 context->GetTaskExecutor()->PostSyncTask([event, weakScene]() { in OpenChannel()
|
/foundation/ace/ace_engine/frameworks/core/components/ability_component/resource/ |
D | ability_component_resource.cpp | 113 platformTaskExecutor.PostSyncTask([method, param, weakRes, &result] { in CallResRegisterMethod()
|
/foundation/ace/ace_engine/adapter/preview/entrance/ |
D | ace_container.cpp | 201 context->GetTaskExecutor()->PostSyncTask( in InitializeCallback() 239 context->GetTaskExecutor()->PostSyncTask( in InitializeCallback() 252 context->GetTaskExecutor()->PostSyncTask( in InitializeCallback() 265 context->GetTaskExecutor()->PostSyncTask( in InitializeCallback() 375 taskExecutor->PostSyncTask([] { LOGI("Wait UI thread..."); }, TaskExecutor::TaskType::UI); in DestroyContainer() 376 taskExecutor->PostSyncTask([] { LOGI("Wait JS thread..."); }, TaskExecutor::TaskType::JS); in DestroyContainer()
|
/foundation/ace/ace_engine/frameworks/core/components/video/ |
D | video_element.cpp | 261 uiTaskExecutor.PostSyncTask([&videoElement, currentPos] { in RegistMediaPlayerEvent() 270 uiTaskExecutor.PostSyncTask([&videoElement, status] { in RegistMediaPlayerEvent() 280 uiTaskExecutor.PostSyncTask([&videoElement] { in RegistMediaPlayerEvent() 912 uiTaskExecutor.PostSyncTask([&videoElement] { in InitListener() 924 …uiTaskExecutor.PostSyncTask([&videoElement, width, height, isPlaying, duration, currentPos, needFi… in InitListener() 933 uiTaskExecutor.PostSyncTask([&videoElement, isPlaying] { in InitListener() 942 uiTaskExecutor.PostSyncTask([&videoElement, currentPos] { in InitListener() 951 uiTaskExecutor.PostSyncTask([&videoElement] { in InitListener() 1183 uiTaskExecutor.PostSyncTask( in OnPlayerStatus()
|
/foundation/aafwk/standard/services/dataobsmgr/src/ |
D | dataobs_mgr_service.cpp | 163 bool ret = handler_->PostSyncTask(unregisterObserverFunc); in UnregisterObserver()
|
/foundation/appexecfwk/standard/interfaces/innerkits/libeventhandler/include/ |
D | event_handler.h | 608 …inline bool PostSyncTask(const Callback &callback, const std::string &name, Priority priority = Pr… 620 inline bool PostSyncTask(const Callback &callback, Priority priority = Priority::LOW) 622 return PostSyncTask(callback, std::string(), priority);
|
/foundation/ace/ace_engine/frameworks/bridge/declarative_frontend/ |
D | frontend_delegate_declarative.cpp | 423 taskExecutor_->PostSyncTask( in OnPageBackPress() 486 taskExecutor_->PostSyncTask( in OnConfigurationUpdated() 496 taskExecutor_->PostSyncTask( in OnStartContinuation() 509 taskExecutor_->PostSyncTask( in OnCompleteContinuation() 521 taskExecutor_->PostSyncTask( in OnRemoteTerminated() 534 taskExecutor_->PostSyncTask( in OnSaveData() 549 taskExecutor_->PostSyncTask( in OnRestoreData() 615 taskExecutor_->PostSyncTask( in OnApplicationDestroy() 640 taskExecutor_->PostSyncTask( in OnSaveAbilityState() 696 taskExecutor_->PostSyncTask( in FireExternalEvent() [all …]
|
/foundation/ace/ace_engine/frameworks/bridge/js_frontend/ |
D | frontend_delegate_impl.cpp | 379 taskExecutor_->PostSyncTask([weak = AceType::WeakClaim(this), &ret] { in OnStartContinuation() 393 taskExecutor_->PostSyncTask([weak = AceType::WeakClaim(this), code] { in OnCompleteContinuation() 404 taskExecutor_->PostSyncTask([weak = AceType::WeakClaim(this)] { in OnRemoteTerminated() 415 taskExecutor_->PostSyncTask([weak = AceType::WeakClaim(this), &savedData] { in OnSaveData() 431 taskExecutor_->PostSyncTask([weak = AceType::WeakClaim(this), &data, &ret] { in OnRestoreData() 472 taskExecutor_->PostSyncTask( in OnApplicationDestroy() 479 taskExecutor_->PostSyncTask( in OnApplicationUpdateState() 520 taskExecutor_->PostSyncTask( in FireSyncEvent() 537 taskExecutor_->PostSyncTask( in FireExternalEvent() 1085 taskExecutor_->PostSyncTask(task, TaskExecutor::TaskType::UI); in PostSyncTaskToPage()
|
D | js_ace_page.cpp | 61 taskExecutor->PostSyncTask([&domDoc, &pageTransition, &component, &radioGroups]() { in ~JsAcePage() 249 taskExecutor->PostSyncTask([&bridge]() { bridge.Reset(); }, TaskExecutor::TaskType::JS); in RemoveAnimationBridge()
|
/foundation/ace/ace_engine/adapter/ohos/entrance/ |
D | ace_container.cpp | 483 context->GetTaskExecutor()->PostSyncTask( in InitializeCallback() 506 context->GetTaskExecutor()->PostSyncTask( in InitializeCallback() 592 taskExecutor->PostSyncTask([] { LOGI("Wait UI thread..."); }, TaskExecutor::TaskType::UI); in DestroyContainer() 593 taskExecutor->PostSyncTask([] { LOGI("Wait JS thread..."); }, TaskExecutor::TaskType::JS); in DestroyContainer()
|