Home
last modified time | relevance | path

Searched refs:PostTask (Results 1 - 25 of 672) sorted by relevance

12345678910>>...27

/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/offscreen_render/
H A Drs_offscreen_render_thread.cpp43 PostTask([this]() { in RSOffscreenRenderThread()
61 PostTask([this]() { in RSOffscreenRenderThread()
68 void RSOffscreenRenderThread::PostTask(const std::function<void()>& task) in PostTask() function in OHOS::Rosen::RSOffscreenRenderThread
71 handler_->PostTask(task, AppExecFwk::EventQueue::Priority::IMMEDIATE); in PostTask()
106 PostTask([this]() { in CleanGrResource()
/foundation/barrierfree/accessibility/services/aams/src/
H A Daccessibility_settings.cpp79 handler_->PostTask([this, &syncPromise, state]() { in SetShortKeyState()
121 handler_->PostTask([this, &syncPromise, time]() { in SetMouseAutoClick()
150 handler_->PostTask([this, &syncPromise, &name]() { in SetShortkeyTarget()
178 handler_->PostTask([this, &syncPromise, &name]() { in SetShortkeyMultiTarget()
303 handler_->PostTask([this, &syncPromise, filter]() { in SetDaltonizationColorFilter()
328 handler_->PostTask([this, &syncPromise, time]() { in SetContentTimeout()
359 handler_->PostTask([this, &syncPromise, discount]() { in SetBrightnessDiscount()
388 handler_->PostTask([this, &syncPromise, balance]() { in SetAudioBalance()
417 handler_->PostTask([this, &syncPromise, time]() { in SetClickResponseTime()
447 handler_->PostTask([thi in SetIgnoreRepeatClickState()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/form/resource/
H A Dform_callback_client.h37 taskExecutor->PostTask(
54 taskExecutor->PostTask(
71 taskExecutor->PostTask(
88 taskExecutor->PostTask(
115 taskExecutor->PostTask(
133 taskExecutor->PostTask(
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/
H A Drs_background_thread.cpp45 PostTask([this]() { in RSBackgroundThread()
52 void RSBackgroundThread::PostTask(const std::function<void()>& task) in PostTask() function in OHOS::Rosen::RSBackgroundThread
55 handler_->PostTask(task, AppExecFwk::EventQueue::Priority::IMMEDIATE); in PostTask()
91 PostTask([this]() { in InitRenderContext()
97 RSBackgroundThread::Instance().PostTask(task); in InitRenderContext()
147 PostTask([this]() { in CleanGrResource()
/foundation/graphic/graphic_2d/frameworks/bootanimation/test/unittest/
H A Dboot_picture_player_test.cpp92 handler->PostTask([&] { in HWTEST_F()
101 handler->PostTask([&] { in HWTEST_F()
109 handler->PostTask([&] { in HWTEST_F()
148 handler->PostTask([&] { in HWTEST_F()
158 handler->PostTask([&] { in HWTEST_F()
176 handler->PostTask([&] { in HWTEST_F()
183 handler->PostTask([&] { in HWTEST_F()
190 handler->PostTask([&] { in HWTEST_F()
197 handler->PostTask([&] { in HWTEST_F()
/foundation/window/window_manager/wmserver/src/
H A Dwindow_inner_manager.cpp57 eventHandler_->PostTask([]() { MemoryGuard cacheGuard; }, "wms:Init:cacheGuard", in Init()
111 PostTask(task, "CreateInnerWindow"); in CreateInnerWindow()
123 PostTask(task, "DestroyInnerWindow"); in DestroyInnerWindow()
135 PostTask(task, "UpdateInnerWindow"); in UpdateInnerWindow()
157 PostTask(task, "MinimizeAbility"); in MinimizeAbility()
179 PostTask(task, "TerminateAbility"); in TerminateAbility()
201 PostTask(task, "CloseAbility"); in CloseAbility()
222 PostTask(task, "CompleteFirstFrameDrawing"); in CompleteFirstFrameDrawing()
247 PostTask(task, "UpdateMissionSnapShot"); in UpdateMissionSnapShot()
250 void WindowInnerManager::PostTask(InnerTas function in OHOS::Rosen::WindowInnerManager
[all...]
/foundation/multimedia/camera_lite/interfaces/kits/
H A Devent_handler.h37 auto task = new PostTask<F>(f); in Post()
57 struct PostTask : public EventObj { struct in OHOS::Media::EventHandler
58 explicit PostTask(const F &f) : f_(f) {} in PostTask() function
/foundation/systemabilitymgr/samgr/services/samgr/native/include/
H A Dffrt_handler.h30 bool PostTask(std::function<void()> func);
31 bool PostTask(std::function<void()> func, uint64_t delayTime);
32 bool PostTask(std::function<void()> func, const std::string& name, uint64_t delayTime);
/foundation/graphic/graphic_2d/rosen/test/hyper_graphic_manager/unittest/
H A Dhgm_task_handle_thread_test.cpp56 * @tc.desc: Test PostTask
63 HgmTaskHandleThread::Instance().PostTask(func); in HWTEST_F()
65 HgmTaskHandleThread::Instance().PostTask(func, delayTime); in HWTEST_F()
70 * @tc.desc: Test PostTask
78 instance.PostTask([&count](){ count++; }, 0); in HWTEST_F()
85 * @tc.desc: Test PostTask
94 instance.PostTask([&count](){ count++; }, 1000); in HWTEST_F()
/foundation/ability/ability_lite/frameworks/ability_lite/src/
H A Dability_scheduler.cpp138 eventHandler_.PostTask(task); in PerformAppInit()
147 eventHandler_.PostTask(task); in PerformTransactAbilityState()
156 eventHandler_.PostTask(task); in PerformConnectAbility()
165 eventHandler_.PostTask(task); in PerformDisconnectAbility()
173 eventHandler_.PostTask(task); in PerformAppExit()
186 eventHandler_.PostTask(task); in PerformDumpAbility()
/foundation/arkui/ace_engine/adapter/preview/entrance/clipboard/
H A Dclipboard_impl.cpp46 taskExecutor_->PostTask( in SetData()
61 taskExecutor_->PostTask( in GetData()
76 taskExecutor_->PostTask( in HasData()
97 taskExecutor_->PostTask([callbackSetClipboardPixmapData = callbackSetClipboardPixmapData_, in SetPixelMapData()
107 taskExecutor_->PostTask([callbackGetClipboardPixmapData = callbackGetClipboardPixmapData_, in GetPixelMapData()
/foundation/resourceschedule/device_standby/services/core/src/
H A Dapp_state_observer.cpp33 handler_->PostTask([uid, bundleName]() { in OnProcessDied()
37 handler_->PostTask([uid = processData.uid, pid = processData.pid, bundleName = processData.bundleName]() { in OnProcessDied()
55 handler_->PostTask([uid = processData.uid, pid = processData.pid, bundleName = processData.bundleName]() { in OnProcessCreated()
72 handler_->PostTask([uid, bundleName]() { in OnApplicationStateChanged()
90 handler_->PostTask([pid, bundleName]() { in OnForegroundApplicationChanged()
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/frame_rate_manager/
H A Dhgm_task_handle_thread.cpp45 void HgmTaskHandleThread::PostTask(const std::function<void()>& task, int64_t delayTime) in PostTask() function in OHOS::Rosen::HgmTaskHandleThread
48 handler_->PostTask(task, delayTime, AppExecFwk::EventQueue::Priority::IMMEDIATE); in PostTask()
63 handler_->PostTask(task, eventId, delayTime); in PostEvent()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/
H A Dadapter_state_machine.cpp68 stateMachine.GetDispatch().PostTask(std::bind( in AdapterTurningOnState()
72 stateMachine.GetDispatch().PostTask(std::bind( in AdapterTurningOnState()
119 adapterStateMachine_.GetDispatch().PostTask( in Dispatch()
126 adapterStateMachine_.GetDispatch().PostTask( in Dispatch()
158 stateMachine.GetDispatch().PostTask(std::bind( in AdapterTurningOffState()
162 stateMachine.GetDispatch().PostTask(std::bind( in AdapterTurningOffState()
207 adapterStateMachine_.GetDispatch().PostTask( in Dispatch()
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/utils/
H A Dhgm_one_shot_timer.cpp74 handler_->PostTask([this] () { Loop(); }); in Start()
105 HgmTaskHandleThread::Instance().PostTask(resetCallback_); in Loop()
130 HgmTaskHandleThread::Instance().PostTask(expiredCallback_); in Loop()
190 handler_->PostTask(startCallback_); in Start()
192 handler_->PostTask([this] () { Loop(); }, name_, interval_.count()); in Start()
217 handler_->PostTask([this] () { Loop(); }, name_, delay.count()); in Loop()
223 handler_->PostTask(expiredCallback_); in Loop()
/foundation/arkui/ace_engine/adapter/ohos/capability/clipboard/
H A Dclipboard_impl.cpp95 taskExecutor_->PostTask( in SetData()
105 taskExecutor_->PostTask( in SetData()
115 taskExecutor_->PostTask( in SetPixelMapData()
129 taskExecutor_->PostTask( in SetPixelMapData()
152 taskExecutor_->PostTask( in GetData()
175 taskExecutor_->PostTask([callback, taskExecutor = WeakClaim(RawPtr(taskExecutor_)), in GetPixelMapData()
326 taskExecutor_->PostTask( in SetData()
415 taskExecutor_->PostTask( in GetDataAsync()
422 taskExecutor->PostTask( in GetDataAsync()
429 taskExecutor->PostTask( in GetDataAsync()
[all...]
/foundation/arkui/ace_engine/test/mock/base/
H A Dmock_background_task_executor.cpp29 bool BackgroundTaskExecutor::PostTask(Task&& task, BgTaskPriority priority) in PostTask() function in OHOS::Ace::BackgroundTaskExecutor
38 bool BackgroundTaskExecutor::PostTask(const Task& task, BgTaskPriority priority) in PostTask() function in OHOS::Ace::BackgroundTaskExecutor
/foundation/arkui/ace_engine/frameworks/core/components/camera/
H A Dcamera_element.cpp92 platformTaskExecutor.PostTask([camera = camera_]() {}, "ArkUICameraResourceRelease"); in ReleasePlatformResource()
103 platformTaskExecutor.PostTask([texture = texture_]() {}, "ArkUICameraTextureReleaseCheck"); in ReleasePlatformResource()
109 gpuTaskExecutor.PostTask([weak, platformTaskExecutor]() { in ReleasePlatformResource()
117 platformTaskExecutor.PostTask([texture]() {}, "ArkUICameraTextureReleaseCheck"); in ReleasePlatformResource()
367 context->GetTaskExecutor()->PostTask( in CloseRecorder()
421 uiTaskExecutor.PostTask([weak, errorcode, errormsg] { in CreateTexture()
556 context->GetTaskExecutor()->PostTask( in CreatePlatformResource()
582 uiTaskExecutor.PostTask([weak, params] { in SetMethodCall()
592 uiTaskExecutor.PostTask([weak] { in SetMethodCall()
603 uiTaskExecutor.PostTask([wea in SetMethodCall()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/parallel_render/resource/
H A Drs_upload_resource_thread.cpp41 void RSUploadResourceThread::PostTask(const std::function<void()>& task) in PostTask() function in OHOS::Rosen::RSUploadResourceThread
44 handler_->PostTask(task, AppExecFwk::EventQueue::Priority::IMMEDIATE); in PostTask()
55 void RSUploadResourceThread::PostTask(const std::function<void()>& task, const std::string& name) in PostTask() function in OHOS::Rosen::RSUploadResourceThread
109 PostTask([this]() { in InitRenderContext()
201 PostTask([proxyArr = std::move(arrPtr)]() { in ReleaseNotUsedPinnedViews()
/foundation/resourceschedule/device_standby/plugins/standby_state/src/
H A Dsleep_state.cpp67 handler_->PostTask([sleepState = shared_from_this()]() { in StartPeriodlyMotionDetection()
112 handler_->PostTask([sleepState = shared_from_this()]() { in BeginState()
126 handler_->PostTask([sleepState = shared_from_this(), stateManagerPtr, retryTimeOut]() { in TryToEnterNextPhase()
177 handler_->PostTask([sleepState = shared_from_this()]() { in SetPhaseTransitOrRepeatedTask()
195 handler_->PostTask([sleepState = shared_from_this()]() { in ShellDump()
/foundation/arkui/ace_engine/frameworks/bridge/plugin_frontend/
H A Dplugin_frontend_delegate.cpp135 taskExecutor_->PostTask( in ChangeLocale()
252 taskExecutor_->PostTask( in OnJSCallback()
264 taskExecutor_->PostTask([dispatcherCallback = dispatcherCallback_, dispatcher] { dispatcherCallback(dispatcher); }, in SetJsMessageDispatcher()
273 taskExecutor_->PostTask( in TransferComponentResponseData()
295 taskExecutor_->PostTask( in TransferJsResponseData()
308 taskExecutor_->PostTask( in TransferJsResponseDataPreview()
321 taskExecutor_->PostTask( in TransferJsPluginGetError()
333 taskExecutor_->PostTask( in TransferJsEventData()
344 taskExecutor_->PostTask( in LoadPluginJsCode()
360 taskExecutor_->PostTask( in LoadPluginJsByteCode()
[all...]
/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dace_container.cpp131 taskExecutor_->PostTask( in Destroy()
144 taskExecutor_->PostTask( in Destroy()
224 taskExecutor_->PostTask([frontend = frontend_]() { frontend->RunNativeEngineLoop(); }, TaskExecutor::TaskType::JS, in RunNativeEngineLoop()
228 taskExecutor_->PostTask([this]() { RunNativeEngineLoop(); }, in RunNativeEngineLoop()
256 taskExecutor_->PostTask( in SetHspBufferTrackerCallback()
275 taskExecutor_->PostTask( in SetMockModuleListToJsEngine()
323 context->GetTaskExecutor()->PostTask( in InitializeCallback()
351 context->GetTaskExecutor()->PostTask( in InitializeCallback()
365 context->GetTaskExecutor()->PostTask( in InitializeCallback()
417 context->GetTaskExecutor()->PostTask( in InitializeCallback()
[all...]
/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Didle_time.cpp92 PostTask(); in EventTask()
95 void IdleTime::PostTask() in PostTask() function in OHOS::AppExecFwk::IdleTime
114 eventHandler_->PostTask(task, "IdleTime:PostTask", 0, EventQueue::Priority::IDLE); in PostTask()
120 PostTask(); in Start()
/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/
H A Dimage_utils.cpp20 void ImageUtils::PostTask( in PostTask() function in OHOS::Ace::NG::ImageUtils
28 taskExecutor->PostTask( in PostTask()
68 ImageUtils::PostTask(std::move(task), TaskExecutor::TaskType::UI, name.c_str(), priorityType); in PostToUI()
77 ImageUtils::PostTask(std::move(task), TaskExecutor::TaskType::BACKGROUND, name.c_str(), priorityType); in PostToBg()
/foundation/window/window_manager/window_scene/common/src/
H A Dtask_scheduler.cpp53 handler_->PostTask(std::move(localTask), "wms:" + name, delayTime, AppExecFwk::EventQueue::Priority::IMMEDIATE); in PostAsyncTask()
73 void TaskScheduler::PostTask(Task&& task, const std::string& name, int64_t delayTime) in PostTask() function in OHOS::Rosen::TaskScheduler
87 handler_->PostTask(std::move(localTask), "wms:" + name, delayTime, AppExecFwk::EventQueue::Priority::IMMEDIATE); in PostTask()
124 exportHandler->PostTask(task, "wms:exportTask"); in ExecuteExportTask()

Completed in 14 milliseconds

12345678910>>...27