Home
last modified time | relevance | path

Searched refs:mainHandler (Results 1 - 15 of 15) sorted by relevance

/foundation/ability/ability_runtime/frameworks/native/ability/native/form_runtime/
H A Dform_extension_provider_client.cpp58 std::shared_ptr<EventHandler> mainHandler = std::make_shared<EventHandler>(EventRunner::GetMainEventRunner()); in AcquireProviderFormInfo() local
63 mainHandler->PostSyncTask(acquireProviderInfoFunc, "FormExtensionProviderClient::AcquireProviderFormInfo"); in AcquireProviderFormInfo()
130 std::shared_ptr<EventHandler> mainHandler = std::make_shared<EventHandler>(EventRunner::GetMainEventRunner()); in NotifyFormDelete() local
135 mainHandler->PostSyncTask(notifyFormExtensionDeleteFunc, "FormExtensionProviderClient::NotifyFormDelete"); in NotifyFormDelete()
172 std::shared_ptr<EventHandler> mainHandler = std::make_shared<EventHandler>(EventRunner::GetMainEventRunner()); in NotifyFormsDelete() local
177 mainHandler->PostSyncTask(notifyFormExtensionsDeleteFunc, "FormExtensionProviderClient::NotifyFormsDelete"); in NotifyFormsDelete()
209 std::shared_ptr<EventHandler> mainHandler = std::make_shared<EventHandler>(EventRunner::GetMainEventRunner()); in NotifyFormUpdate() local
214 mainHandler->PostSyncTask(notifyFormExtensionUpdateFunc, "FormExtensionProviderClient::NotifyFormUpdate"); in NotifyFormUpdate()
246 std::shared_ptr<EventHandler> mainHandler = std::make_shared<EventHandler>(EventRunner::GetMainEventRunner()); in EventNotify() local
251 mainHandler in EventNotify()
285 std::shared_ptr<EventHandler> mainHandler = std::make_shared<EventHandler>(EventRunner::GetMainEventRunner()); NotifyFormCastTempForm() local
321 std::shared_ptr<EventHandler> mainHandler = std::make_shared<EventHandler>(EventRunner::GetMainEventRunner()); FireFormEvent() local
358 std::shared_ptr<EventHandler> mainHandler = std::make_shared<EventHandler>(EventRunner::GetMainEventRunner()); AcquireState() local
462 std::shared_ptr<EventHandler> mainHandler = std::make_shared<EventHandler>(EventRunner::GetMainEventRunner()); AcquireShareFormData() local
503 std::shared_ptr<EventHandler> mainHandler = std::make_shared<EventHandler>(EventRunner::GetMainEventRunner()); AcquireFormData() local
[all...]
/foundation/ability/ability_runtime/frameworks/native/ability/native/continuation/distributed/
H A Dreverse_continuation_scheduler_primary.cpp24 const std::shared_ptr<AbilityHandler> &mainHandler) in ReverseContinuationSchedulerPrimary()
25 : continuationHandler_(continuationHandler), mainHandler_(mainHandler) in ReverseContinuationSchedulerPrimary()
22 ReverseContinuationSchedulerPrimary( const std::weak_ptr<IReverseContinuationSchedulerPrimaryHandler> &continuationHandler, const std::shared_ptr<AbilityHandler> &mainHandler) ReverseContinuationSchedulerPrimary() argument
H A Dreverse_continuation_scheduler_replica.cpp22 const std::shared_ptr<AbilityHandler> &mainHandler, in ReverseContinuationSchedulerReplica()
25 mainHandler_ = mainHandler; in ReverseContinuationSchedulerReplica()
21 ReverseContinuationSchedulerReplica( const std::shared_ptr<AbilityHandler> &mainHandler, const std::weak_ptr<IReverseContinuationSchedulerReplicaHandler> &replicaHandler) ReverseContinuationSchedulerReplica() argument
H A Dreverse_continuation_scheduler_primary_stage.cpp25 const std::shared_ptr<AbilityHandler> &mainHandler) in ReverseContinuationSchedulerPrimaryStage()
26 : continuationHandler_(continuationHandler), mainHandler_(mainHandler) in ReverseContinuationSchedulerPrimaryStage()
23 ReverseContinuationSchedulerPrimaryStage( const std::weak_ptr<IReverseContinuationSchedulerPrimaryHandler> &continuationHandler, const std::shared_ptr<AbilityHandler> &mainHandler) ReverseContinuationSchedulerPrimaryStage() argument
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/
H A Didle_time_test.cpp36 std::shared_ptr<EventHandler> mainHandler = std::make_shared<EventHandler>(EventRunner::GetMainEventRunner()); in IdleTimeTest() local
37 idleTime_ = std::make_shared<IdleTime>(mainHandler, callback); in IdleTimeTest()
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/continuation/distributed/
H A Dreverse_continuation_scheduler_primary.h29 const std::shared_ptr<AbilityHandler> &mainHandler);
H A Dreverse_continuation_scheduler_primary_stage.h30 const std::shared_ptr<AbilityHandler> &mainHandler);
H A Dreverse_continuation_scheduler_replica.h29 ReverseContinuationSchedulerReplica(const std::shared_ptr<AbilityHandler> &mainHandler,
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/dfr/
H A Dwatchdog.h39 * @param mainHandler The handler of main thread.
41 void Init(const std::shared_ptr<EventHandler> mainHandler);
/foundation/ability/ability_runtime/frameworks/native/appkit/dfr/
H A Dappfreeze_inner.cpp91 auto mainHandler = appMainHandler_.lock(); in GetMainHandlerDump() local
92 if (mainHandler == nullptr) { in GetMainHandlerDump()
93 msgContent += "mainHandler is destructed!"; in GetMainHandlerDump()
96 msgContent += "mainHandler dump is:\n"; in GetMainHandlerDump()
97 mainHandler->Dump(handlerDumper); in GetMainHandlerDump()
H A Dwatchdog.cpp55 void Watchdog::Init(const std::shared_ptr<EventHandler> mainHandler) in Init() argument
58 Watchdog::appMainHandler_ = mainHandler; in Init()
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/recovery/
H A Dapp_recovery.h39 bool InitApplicationInfo(const std::shared_ptr<AppExecFwk::EventHandler>& mainHandler,
/foundation/ability/form_fwk/services/form_render_service/src/
H A Dform_render_impl.cpp359 auto mainHandler = std::make_shared<AppExecFwk::EventHandler>(AppExecFwk::EventRunner::GetMainEventRunner()); in FormRenderGCTask() local
360 if (mainHandler == nullptr) { in FormRenderGCTask()
361 HILOG_ERROR("null mainHandler"); in FormRenderGCTask()
372 mainHandler->PostTask(formRenderGCFunc, "FormRenderGC", FORM_RENDER_TASK_DELAY_TIME); in FormRenderGCTask()
/foundation/resourceschedule/ffrt/src/queue/
H A Dqueue_api.cpp285 void* mainHandler = EventHandlerAdapter::Instance()->GetMainEventHandler(); in ffrt_get_main_queue() local
286 FFRT_COND_DO_ERR((mainHandler == nullptr), return nullptr, "failed to get main queue."); in ffrt_get_main_queue()
290 handler->SetEventHandler(mainHandler); in ffrt_get_main_queue()
/foundation/ability/ability_runtime/frameworks/native/ability/native/recovery/
H A Dapp_recovery.cpp107 bool AppRecovery::InitApplicationInfo(const std::shared_ptr<EventHandler>& mainHandler, in InitApplicationInfo() argument
110 mainHandler_ = mainHandler; in InitApplicationInfo()

Completed in 7 milliseconds