Home
last modified time | relevance | path

Searched refs:PostSyncTask (Results 1 – 25 of 40) sorted by relevance

12

/foundation/ace/ace_engine/frameworks/base/thread/
Dtask_executor.h138 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/
Dbackend_delegate_impl.cpp131 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/
Dtask_executor_test.cpp120 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/
Dform_extension_provider_client.cpp70 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/
Dbg_transient_task_mgr.cpp198 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/
Dtask_handler_libevent_adapter.h45 return EventHandler::PostSyncTask(*(runnable.get()), EventQueue::Priority::HIGH); in DispatchSync()
/foundation/ace/ace_engine/frameworks/core/components/web/resource/
Dweb_client_impl.cpp37 task->PostSyncTask([&webClientImpl, dialogEventType, &param, &jsResult] { in OnJsCommonDialog()
91 task->PostSyncTask([webClient = this, &message, &jsMessage] { in OnConsoleLog()
278 task->PostSyncTask([webClient = this, &param, &jsResult] { in OnFileSelectorShow()
Dweb_javascript_result_callback.cpp111 task->PostSyncTask( in GetJavaScriptResult()
/foundation/ace/ace_engine/adapter/ohos/capability/clipboard/
Dclipboard_impl.cpp54 taskExecutor_->PostSyncTask( in GetData()
/foundation/resourceschedule/background_task_mgr/services/continuous_task/src/
Dbg_continuous_task_mgr.cpp93 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/
Dform_manager.cpp90 pipelineContext->GetTaskExecutor()->PostSyncTask( in Dump()
Dace_engine.cpp89 pipelineContext->GetTaskExecutor()->PostSyncTask( in Dump()
/foundation/appexecfwk/standard/test/systemtest/common/ems/ems_event_runner_system_test/
Dems_event_runner_system_test.cpp698 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/
Devent_handler_send_sync_event_module_test.cpp359 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/
Dplugin_frontend_delegate.cpp385 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/
Dmultimodal_manager.cpp120 context->GetTaskExecutor()->PostSyncTask([event, weakScene]() { in OpenChannel()
/foundation/ace/ace_engine/frameworks/core/components/ability_component/resource/
Dability_component_resource.cpp113 platformTaskExecutor.PostSyncTask([method, param, weakRes, &result] { in CallResRegisterMethod()
/foundation/ace/ace_engine/adapter/preview/entrance/
Dace_container.cpp201 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/
Dvideo_element.cpp261 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/
Ddataobs_mgr_service.cpp163 bool ret = handler_->PostSyncTask(unregisterObserverFunc); in UnregisterObserver()
/foundation/appexecfwk/standard/interfaces/innerkits/libeventhandler/include/
Devent_handler.h608 …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/
Dfrontend_delegate_declarative.cpp423 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/
Dfrontend_delegate_impl.cpp379 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()
Djs_ace_page.cpp61 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/
Dace_container.cpp483 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()

12