/foundation/ability/ability_runtime/frameworks/native/ability/native/form_runtime/ |
H A D | form_extension_provider_client.cpp | 58 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 D | reverse_continuation_scheduler_primary.cpp | 24 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 D | reverse_continuation_scheduler_replica.cpp | 22 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 D | reverse_continuation_scheduler_primary_stage.cpp | 25 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 D | idle_time_test.cpp | 36 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 D | reverse_continuation_scheduler_primary.h | 29 const std::shared_ptr<AbilityHandler> &mainHandler);
|
H A D | reverse_continuation_scheduler_primary_stage.h | 30 const std::shared_ptr<AbilityHandler> &mainHandler);
|
H A D | reverse_continuation_scheduler_replica.h | 29 ReverseContinuationSchedulerReplica(const std::shared_ptr<AbilityHandler> &mainHandler,
|
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/dfr/ |
H A D | watchdog.h | 39 * @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 D | appfreeze_inner.cpp | 91 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 D | watchdog.cpp | 55 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 D | app_recovery.h | 39 bool InitApplicationInfo(const std::shared_ptr<AppExecFwk::EventHandler>& mainHandler,
|
/foundation/ability/form_fwk/services/form_render_service/src/ |
H A D | form_render_impl.cpp | 359 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 D | queue_api.cpp | 285 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 D | app_recovery.cpp | 107 bool AppRecovery::InitApplicationInfo(const std::shared_ptr<EventHandler>& mainHandler, in InitApplicationInfo() argument 110 mainHandler_ = mainHandler; in InitApplicationInfo()
|