/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/offscreen_render/ |
H A D | rs_offscreen_render_thread.cpp | 43 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 D | accessibility_settings.cpp | 79 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 D | form_callback_client.h | 37 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 D | rs_background_thread.cpp | 45 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 D | boot_picture_player_test.cpp | 92 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 D | window_inner_manager.cpp | 57 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 D | event_handler.h | 37 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 D | ffrt_handler.h | 30 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 D | hgm_task_handle_thread_test.cpp | 56 * @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 D | ability_scheduler.cpp | 138 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 D | clipboard_impl.cpp | 46 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 D | app_state_observer.cpp | 33 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 D | hgm_task_handle_thread.cpp | 45 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 D | adapter_state_machine.cpp | 68 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 D | hgm_one_shot_timer.cpp | 74 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 D | clipboard_impl.cpp | 95 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 D | mock_background_task_executor.cpp | 29 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 D | camera_element.cpp | 92 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 D | rs_upload_resource_thread.cpp | 41 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 D | sleep_state.cpp | 67 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 D | plugin_frontend_delegate.cpp | 135 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 D | ace_container.cpp | 131 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 D | idle_time.cpp | 92 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 D | image_utils.cpp | 20 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 D | task_scheduler.cpp | 53 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()
|