Home
last modified time | relevance | path

Searched refs:taskExecutor (Results 1 – 25 of 223) sorted by relevance

123456789

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/form/resource/
H A Dform_callback_client.h36 CHECK_NULL_VOID(taskExecutor); in ProcessFormUpdate()
37 taskExecutor->PostTask( in ProcessFormUpdate()
53 CHECK_NULL_VOID(taskExecutor); in ProcessFormUninstall()
54 taskExecutor->PostTask( in ProcessFormUninstall()
70 CHECK_NULL_VOID(taskExecutor); in OnDeathReceived()
71 taskExecutor->PostTask( in OnDeathReceived()
87 CHECK_NULL_VOID(taskExecutor); in OnError()
88 taskExecutor->PostTask( in OnError()
114 CHECK_NULL_VOID(taskExecutor); in ProcessRecycleForm()
115 taskExecutor->PostTask( in ProcessRecycleForm()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_window.cpp40 : rsWindow_(window), taskExecutor_(taskExecutor), id_(id) in RosenWindow()
44 auto taskExecutor = weakTask.Upgrade(); in RosenWindow() local
83 [taskExecutor, id](const std::function<void()>& task, uint32_t delay) { in RosenWindow()
85 CHECK_NULL_VOID(taskExecutor); in RosenWindow()
86 taskExecutor->PostDelayedTask( in RosenWindow()
132 auto taskExecutor = taskExecutor_.Upgrade(); in RequestFrame() local
142 if (taskExecutor) { in RequestFrame()
154 if (taskExecutor) { in RequestFrame()
155 taskExecutor->PostDelayedTask( in RequestFrame()
268 auto taskExecutor = taskExecutor_.Upgrade(); in OnVsync() local
[all …]
H A Dform_render_window.cpp37 FormRenderWindow::FormRenderWindow(RefPtr<TaskExecutor> taskExecutor, int32_t id) in FormRenderWindow() argument
38 : taskExecutor_(taskExecutor), id_(id) in FormRenderWindow()
57 auto taskExecutor = weakTask.Upgrade(); in FormRenderWindow() local
58 CHECK_NULL_VOID(taskExecutor); in FormRenderWindow()
74 auto uiTaskRunner = SingleTaskExecutor::Make(taskExecutor, TaskExecutor::TaskType::JS); in FormRenderWindow()
80taskExecutor->PostTask(onVsync, TaskExecutor::TaskType::UI, "ArkUIFormRenderWindowVsync", Priority… in FormRenderWindow()
96 …rsUIDirector_->SetUITaskRunner([taskExecutor, id = id_](const std::function<void()>& task, uint32_… in FormRenderWindow()
98 CHECK_NULL_VOID(taskExecutor); in FormRenderWindow()
99 taskExecutor->PostDelayedTask( in FormRenderWindow()
H A Drender_surface_impl.cpp143 auto taskExecutor = Container::CurrentTaskExecutor(); in SetExtSurfaceBounds() local
144 CHECK_NULL_VOID(taskExecutor); in SetExtSurfaceBounds()
145 taskExecutor->PostTask( in SetExtSurfaceBounds()
162 auto taskExecutor = Container::CurrentTaskExecutor(); in SetIsFullScreen() local
163 CHECK_NULL_VOID(taskExecutor); in SetIsFullScreen()
164 taskExecutor->PostTask( in SetIsFullScreen()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/
H A Dwatch_dog.cpp167 taskExecutor_ = taskExecutor; in SetTaskExecutor()
178 auto taskExecutor = taskExecutor_.Upgrade(); in DefusingBomb() local
179 CHECK_NULL_VOID(taskExecutor); in DefusingBomb()
180 taskExecutor->PostTask( in DefusingBomb()
306 auto taskExecutor = taskExecutor_.Upgrade(); in IsThreadStuck() local
307 CHECK_NULL_RETURN(taskExecutor, false); in IsThreadStuck()
347 if (taskExecutor) { in RawReport()
355 taskExecutor->PostTask( in RawReport()
362 tid = taskExecutor->GetTid(type_); in RawReport()
382 if (taskExecutor) { in PostCheckTask()
[all …]
H A Dwatch_dog_mingw.cpp131 taskExecutor_ = taskExecutor; in SetTaskExecutor()
142 auto taskExecutor = taskExecutor_.Upgrade(); in DefusingBomb() local
143 if (taskExecutor) { in DefusingBomb()
144 taskExecutor->PostTask( in DefusingBomb()
312 auto taskExecutor = taskExecutor_.Upgrade(); in RawReport() local
313 if (taskExecutor) { in RawReport()
314 tid = taskExecutor->GetTid(type_); in RawReport()
332 auto taskExecutor = taskExecutor_.Upgrade(); in PostCheckTask() local
333 if (taskExecutor) { in PostCheckTask()
335 taskExecutor->PostTask( in PostCheckTask()
[all …]
H A Dupdate_config_manager.h57 auto taskExecutor = container->GetTaskExecutor(); variable
58 CHECK_NULL_VOID(taskExecutor);
59 taskExecutor->PostTask(std::move(task), type, taskName);
96 auto taskExecutor = container->GetTaskExecutor(); in PostUpdateConfigTaskLocked() local
97 CHECK_NULL_VOID(taskExecutor); in PostUpdateConfigTaskLocked()
98 taskExecutor->PostTask(currentTask_.updateTask, type, taskName); in PostUpdateConfigTaskLocked()
H A Dthread_checker.cpp25 auto taskExecutor = Container::CurrentTaskExecutor(); in CheckThread() local
26 if (taskExecutor) { in CheckThread()
27 return taskExecutor->WillRunOnCurrentThread(threadType); in CheckThread()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/common/environment/
H A Dmock_environment.h27 explicit MockEnvironmentImpl(const RefPtr<TaskExecutor>& taskExecutor);
33 …ntImpl::MockEnvironmentImpl(const RefPtr<TaskExecutor>& taskExecutor) : Environment(taskExecutor) … in MockEnvironmentImpl() argument
45 RefPtr<Environment> GetEnvironment(const RefPtr<TaskExecutor>& taskExecutor) const override;
50 …vironment> MockEnvironmentProxyImpl::GetEnvironment(const RefPtr<TaskExecutor>& taskExecutor) const in GetEnvironment() argument
52 return AceType::MakeRefPtr<MockEnvironmentImpl>(taskExecutor); in GetEnvironment()
H A Denvironment_test.cpp69 RefPtr<TaskExecutor> taskExecutor; variable
70 RefPtr<Environment> environment = EnvironmentProxy::GetInstance()->GetEnvironment(taskExecutor);
87 RefPtr<TaskExecutor> taskExecutor; variable
88 RefPtr<Environment> environment = EnvironmentProxy::GetInstance()->GetEnvironment(taskExecutor);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/
H A Dcard_frontend_delegate_declarative.cpp42 auto taskExecutor = GetTaskExecutor(); in RunCard() local
43 CHECK_NULL_RETURN(taskExecutor, UIContentErrorCode::NULL_POINTER); in RunCard()
45 taskExecutor->PostTask( in RunCard()
66 auto taskExecutor = GetTaskExecutor(); in FireCardAction() local
67 CHECK_NULL_VOID(taskExecutor); in FireCardAction()
68 taskExecutor->PostTask( in FireCardAction()
H A Dform_frontend_delegate_declarative.cpp43 auto taskExecutor = GetTaskExecutor(); in RunCard() local
44 CHECK_NULL_RETURN(taskExecutor, UIContentErrorCode::NULL_POINTER); in RunCard()
53 taskExecutor->PostTask( in RunCard()
70 auto taskExecutor = GetTaskExecutor(); in FireCardAction() local
71 CHECK_NULL_VOID(taskExecutor); in FireCardAction()
72 taskExecutor->PostTask( in FireCardAction()
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/resource/
H A Dshared_image_manager.cpp52 auto taskExecutor = taskExecutor_.Upgrade(); in PostDelayedTaskToClearImageData() local
53 CHECK_NULL_VOID(taskExecutor); in PostDelayedTaskToClearImageData()
58 auto taskExecutor = wp.Upgrade(); in PostDelayedTaskToClearImageData() local
59 CHECK_NULL_VOID(taskExecutor); in PostDelayedTaskToClearImageData()
60 taskExecutor->PostTask( in PostDelayedTaskToClearImageData()
63 taskExecutor->PostDelayedTask( in PostDelayedTaskToClearImageData()
98 auto taskExecutor = taskExecutor_.Upgrade(); in AddSharedImage() local
99 CHECK_NULL_VOID(taskExecutor); in AddSharedImage()
100 taskExecutor->PostTask( in AddSharedImage()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dui_content_impl.cpp849 taskExecutor->PostTask( in SubscribeEventsPassThroughMode()
862 taskExecutor->PostTask( in UnSubscribeEventsPassThroughMode()
2487 taskExecutor->PostTask( in UpdateConfiguration()
2801 taskExecutor->PostTask( in HideWindowTitleButton()
2820 taskExecutor->PostTask( in UpdateTitleInTargetPos()
2836 taskExecutor->PostTask( in NotifyRotationAnimationEnd()
3201 taskExecutor->PostTask( in GetResourcePaths()
3217 taskExecutor->PostTask( in SetResourcePaths()
3254 taskExecutor->PostTask( in SetIsFocusActive()
3318 taskExecutor->PostTask( in CloseModalUIExtension()
[all …]
H A Dace_ability.cpp594 CHECK_NULL_VOID(taskExecutor); in OnConfigurationUpdated()
595 taskExecutor->PostTask( in OnConfigurationUpdated()
702 CHECK_NULL_VOID(taskExecutor); in OnSizeChange()
703 taskExecutor->PostTask( in OnSizeChange()
721 CHECK_NULL_VOID(taskExecutor); in OnModeChange()
723 taskExecutor->PostTask( in OnModeChange()
745 taskExecutor->PostTask( in OnSizeChange()
762 taskExecutor->PostSyncTask( in Dump()
840 taskExecutor->PostSyncTask( in SetBackgroundColor()
857 taskExecutor->PostSyncTask( in GetBackgroundColor()
[all …]
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/dynamic_component/
H A Ddynamic_component_renderer_impl.cpp277 CHECK_NULL_VOID(taskExecutor); in AttachRenderContext()
278 taskExecutor->PostSyncTask( in AttachRenderContext()
319 CHECK_NULL_VOID(taskExecutor); in TransferPointerEvent()
320 taskExecutor->PostTask( in TransferPointerEvent()
336 taskExecutor->PostSyncTask( in TransferKeyEvent()
353 CHECK_NULL_VOID(taskExecutor); in TransferFocusState()
355 taskExecutor->PostTask( in TransferFocusState()
373 CHECK_NULL_VOID(taskExecutor); in TransferFocusActiveEvent()
375 taskExecutor->PostTask( in TransferFocusActiveEvent()
458 CHECK_NULL_VOID(taskExecutor); in DestroyContent()
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/common/clipboard/
H A Dclipboard_test.cpp65 RefPtr<TaskExecutor> taskExecutor; variable
66 RefPtr<Clipboard> clipboard = ClipboardProxy::GetInstance()->GetClipboard(taskExecutor);
88 RefPtr<TaskExecutor> taskExecutor; variable
89 RefPtr<Clipboard> clipboard = ClipboardProxy::GetInstance()->GetClipboard(taskExecutor);
H A Dmock_clip_board.h30 explicit MockClipboardImpl(const RefPtr<TaskExecutor>& taskExecutor);
66 …boardImpl::MockClipboardImpl(const RefPtr<TaskExecutor>& taskExecutor) : Clipboard(taskExecutor) {} in MockClipboardImpl() argument
73 RefPtr<Clipboard> GetClipboard(const RefPtr<TaskExecutor>& taskExecutor) const override in GetClipboard() argument
75 return AceType::MakeRefPtr<MockClipboardImpl>(taskExecutor); in GetClipboard()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/capability/clipboard/
H A Dclipboard_impl.cpp419 CHECK_NULL_VOID(taskExecutor); in GetDataAsync()
422 taskExecutor->PostTask( in GetDataAsync()
429 taskExecutor->PostTask( in GetDataAsync()
441 taskExecutor->PostTask( in GetDataAsync()
447 taskExecutor->PostTask( in GetDataAsync()
589 CHECK_NULL_VOID(taskExecutor); in GetSpanStringDataHelper()
604 taskExecutor->PostTask( in GetSpanStringDataHelper()
684 taskExecutor->PostTask( in GetPixelMapDataAsync()
692 taskExecutor->PostTask( in GetPixelMapDataAsync()
699 taskExecutor->PostTask( in GetPixelMapDataAsync()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/
H A Dsecurity_session_wrapper_impl.cpp141 taskExecutor->PostTask( in InitAllCallback()
160 taskExecutor->PostTask( in InitAllCallback()
179 taskExecutor->PostTask( in InitAllCallback()
197 taskExecutor->PostTask( in InitAllCallback()
213 taskExecutor->PostTask( in InitAllCallback()
228 taskExecutor = taskExecutor_, callSessionId]() { in InitAllCallback()
229 taskExecutor->PostTask( in InitAllCallback()
244 taskExecutor = taskExecutor_, callSessionId]() { in InitAllCallback()
245 taskExecutor->PostTask( in InitAllCallback()
261 taskExecutor->PostTask( in InitAllCallback()
[all …]
H A Dsession_wrapper_impl.cpp144 taskExecutor->PostTask( in InitAllCallback()
157 taskExecutor->PostTask( in InitAllCallback()
171 taskExecutor->PostTask( in InitAllCallback()
186 taskExecutor->PostTask( in InitAllCallback()
200 taskExecutor->PostTask( in InitAllCallback()
209 taskExecutor->PostTask( in InitAllCallback()
218 taskExecutor->PostTask( in InitAllCallback()
227 taskExecutor->PostTask( in InitAllCallback()
236 taskExecutor->PostSyncTask( in InitAllCallback()
253 [weak = hostPattern_, taskExecutor = taskExecutor_, callSessionId](uint32_t eventId) { in InitAllCallback()
[all …]
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dace_ability.cpp142 CHECK_NULL_VOID(taskExecutor); in SetIgnoreViewSafeArea()
143 taskExecutor->PostSyncTask( in SetIgnoreViewSafeArea()
172 CHECK_NULL_VOID(taskExecutor); in OnAvoidAreaChanged()
183 taskExecutor->PostTask( in OnAvoidAreaChanged()
341 CHECK_NULL_VOID(taskExecutor); in InitEnv()
572 CHECK_NULL_RETURN(taskExecutor, ""); in GetJSONTree()
573 taskExecutor->PostSyncTask( in GetJSONTree()
586 CHECK_NULL_RETURN(taskExecutor, ""); in GetDefaultJSONTree()
587 taskExecutor->PostSyncTask( in GetDefaultJSONTree()
610 if (!taskExecutor) { in OperateComponent()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/
H A Dimage_provider.cpp88 taskExecutor->PostTask( in ProccessLoadingResult()
98 taskExecutor->PostTask( in ProccessLoadingResult()
141 taskExecutor->PostTask( in ProccessUploadResult()
172 if (!taskExecutor) { in FetchImageObject()
306 if (!taskExecutor) { in GetSVGImageDOMAsyncFromSrc()
326 taskExecutor->PostTask( in GetSVGImageDOMAsyncFromSrc()
334 taskExecutor->PostTask( in GetSVGImageDOMAsyncFromSrc()
364 if (!taskExecutor) {
377 taskExecutor->PostTask(
384 taskExecutor->PostTask(
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/navigation/
H A Dbar_style_test_ng.cpp189 auto taskExecutor = context->GetTaskExecutor(); variable
190 ASSERT_NE(taskExecutor, nullptr);
235 auto taskExecutor = context->GetTaskExecutor(); variable
236 ASSERT_NE(taskExecutor, nullptr);
281 auto taskExecutor = context->GetTaskExecutor(); variable
282 ASSERT_NE(taskExecutor, nullptr);
327 auto taskExecutor = context->GetTaskExecutor(); variable
328 ASSERT_NE(taskExecutor, nullptr);
373 auto taskExecutor = context->GetTaskExecutor(); variable
374 ASSERT_NE(taskExecutor, nullptr);
[all …]
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/plugincomponent/
H A Djs_plugin_callback.cpp142 auto taskExecutor = container->GetTaskExecutor(); in SendRequestEventResult() local
143 if (!taskExecutor) { in SendRequestEventResult()
146 taskExecutor->PostTask( in SendRequestEventResult()
249 auto taskExecutor = container->GetTaskExecutor(); in OnPushEvent() local
250 if (!taskExecutor) { in OnPushEvent()
254 taskExecutor->PostTask( in OnPushEvent()
314 auto taskExecutor = container->GetTaskExecutor(); in OnRequestEvent() local
315 if (!taskExecutor) { in OnRequestEvent()
320 taskExecutor->PostTask( in OnRequestEvent()
395 if (!taskExecutor) { in OnRequestCallBack()
[all …]

123456789