/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_mgr_service_event_handler.cpp | 23 AMSEventHandler::AMSEventHandler(const std::shared_ptr<AAFwk::TaskHandlerWrap> &taskHandler, in AMSEventHandler() function in OHOS::AppExecFwk::AMSEventHandler 30 AMSEventHandler::~AMSEventHandler() in ~AMSEventHandler() 35 void AMSEventHandler::ProcessEvent(const AAFwk::EventWrap &event) in ProcessEvent()
|
H A D | app_running_record.cpp | 525 SendEvent(AMSEventHandler::ADD_ABILITY_STAGE_INFO_TIMEOUT_MSG, AMSEventHandler::ADD_ABILITY_STAGE_INFO_TIMEOUT); in AddAbilityStage() 548 SendEvent(AMSEventHandler::ADD_ABILITY_STAGE_INFO_TIMEOUT_MSG, in AddAbilityStageBySpecifiedAbility() 549 AMSEventHandler::ADD_ABILITY_STAGE_INFO_TIMEOUT); in AddAbilityStageBySpecifiedAbility() 571 SendEvent(AMSEventHandler::ADD_ABILITY_STAGE_INFO_TIMEOUT_MSG, in AddAbilityStageBySpecifiedProcess() 572 AMSEventHandler::ADD_ABILITY_STAGE_INFO_TIMEOUT); in AddAbilityStageBySpecifiedProcess() 592 eventHandler_->RemoveEvent(AMSEventHandler::START_PROCESS_SPECIFIED_ABILITY_TIMEOUT_MSG, in AddAbilityStageDone() 597 eventHandler_->RemoveEvent(AMSEventHandler::ADD_ABILITY_STAGE_INFO_TIMEOUT_MSG, in AddAbilityStageDone() 640 SendEvent(AMSEventHandler::TERMINATE_APPLICATION_TIMEOUT_MSG, AMSEventHandler in ScheduleTerminate() [all...] |
H A D | module_running_record.cpp | 30 const std::shared_ptr<ApplicationInfo> &info, const std::shared_ptr<AMSEventHandler> &eventHandler) in ModuleRunningRecord() 261 SendEvent(AMSEventHandler::TERMINATE_ABILITY_TIMEOUT_MSG, in TerminateAbility() 262 AMSEventHandler::TERMINATE_ABILITY_TIMEOUT, abilityRecord); in TerminateAbility() 316 eventHandler_->RemoveEvent(AMSEventHandler::TERMINATE_ABILITY_TIMEOUT_MSG, abilityRecord->GetEventId()); in RemoveTerminateAbilityTimeoutTask()
|
H A D | app_mgr_service_inner.cpp | 3742 case AMSEventHandler::TERMINATE_ABILITY_TIMEOUT_MSG: in HandleTimeOut() 3745 case AMSEventHandler::TERMINATE_APPLICATION_TIMEOUT_MSG: in HandleTimeOut() 3749 case AMSEventHandler::START_SPECIFIED_PROCESS_TIMEOUT_MSG: in HandleTimeOut() 3753 case AMSEventHandler::START_PROCESS_SPECIFIED_ABILITY_TIMEOUT_MSG: in HandleTimeOut() 3754 case AMSEventHandler::ADD_ABILITY_STAGE_INFO_TIMEOUT_MSG: in HandleTimeOut() 3758 case AMSEventHandler::START_SPECIFIED_ABILITY_TIMEOUT_MSG: in HandleTimeOut() 3824 taskHandler_->SubmitTask(timeoutTask, "DelayKillProcess", AMSEventHandler::KILL_PROCESS_TIMEOUT); in TerminateApplication() 4450 appRecord->SendEventForSpecifiedAbility(AMSEventHandler::START_PROCESS_SPECIFIED_ABILITY_TIMEOUT_MSG, in StartSpecifiedAbility() 4451 AMSEventHandler::START_PROCESS_SPECIFIED_ABILITY_TIMEOUT); in StartSpecifiedAbility() 4783 taskHandler_->SubmitTask(timeoutTask, "DelayKillProcess", AMSEventHandler in KillApplicationByRecord() [all...] |
H A D | app_running_manager.cpp | 588 appRecord->PostTask("DELAY_KILL_ABILITY", AMSEventHandler::KILL_PROCESS_TIMEOUT, timeoutTask); in HandleAbilityAttachTimeOut() 693 AMSEventHandler::DELAY_KILL_EXTENSION_PROCESS_TIMEOUT : AMSEventHandler::DELAY_KILL_PROCESS_TIMEOUT; in TerminateAbility()
|
H A D | cache_process_manager.cpp | 145 appRecord->PostTask(taskName, AMSEventHandler::DELAY_NOTIFY_PROCESS_CACHED_STATE, notifyCached); in CheckAndCacheProcess()
|
/foundation/ability/ability_runtime/services/appmgr/include/ |
H A D | app_mgr_service_event_handler.h | 25 class AMSEventHandler : public AAFwk::EventHandlerWrap { class 27 AMSEventHandler(const std::shared_ptr<AAFwk::TaskHandlerWrap> &taskHandler, 29 virtual ~AMSEventHandler() override;
|
H A D | module_running_record.h | 47 const std::shared_ptr<ApplicationInfo> &info, const std::shared_ptr<AMSEventHandler> &eventHandler); 180 std::shared_ptr<AMSEventHandler> eventHandler_;
|
H A D | app_mgr_service.h | 52 class AMSEventHandler; 932 std::shared_ptr<AMSEventHandler> eventHandler_;
|
H A D | app_running_record.h | 556 void SetEventHandler(const std::shared_ptr<AMSEventHandler> &handler); 1052 std::shared_ptr<AMSEventHandler> eventHandler_;
|
H A D | app_mgr_service_inner.h | 648 void SetEventHandler(const std::shared_ptr<AMSEventHandler> &eventHandler) in SetEventHandler() 1834 std::shared_ptr<AMSEventHandler> eventHandler_;
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_test/ |
H A D | app_mgr_service_test.cpp | 45 std::shared_ptr<AMSEventHandler> eventHandler_; 65 eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler_, mockAppMgrServiceInner_); in SetUp() 156 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F() 240 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F() 275 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F() 292 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F() 328 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F() 382 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F() 418 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F() 454 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_dump_test/ |
H A D | app_mgr_service_dump_test.cpp | 93 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( in HWTEST_F() 116 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( in HWTEST_F() 164 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( in HWTEST_F() 188 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( in HWTEST_F()
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_dump_ipc_test/ |
H A D | app_mgr_service_dump_ipc_test.cpp | 82 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( in HWTEST_F() 123 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( in HWTEST_F() 163 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( in HWTEST_F() 204 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( in HWTEST_F() 245 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( in HWTEST_F() 285 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( in HWTEST_F() 326 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( in HWTEST_F() 367 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( in HWTEST_F() 408 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( in HWTEST_F() 449 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_dump_ffrt_test/ |
H A D | app_mgr_service_dump_ffrt_test.cpp | 87 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( in HWTEST_F() 122 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( in HWTEST_F() 159 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( in HWTEST_F() 202 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( in HWTEST_F() 244 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( in HWTEST_F() 289 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( in HWTEST_F() 334 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( in HWTEST_F() 382 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( in HWTEST_F() 430 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( in HWTEST_F()
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_event_handler_test/ |
H A D | app_mgr_service_event_handler_test.cpp | 33 class MockAMSEventHandler : public AMSEventHandler { 101 : AMSEventHandler(runner, appMgrService) in MockAMSEventHandler() 109 * Function: AMSEventHandler 110 * SubFunction: AMSEventHandler 137 * SubFunction: AMSEventHandler
|
/foundation/ability/ability_runtime/test/unittest/app_running_record_test/ |
H A D | app_running_record_test.cpp | 74 uint32_t msg = AMSEventHandler::START_PROCESS_SPECIFIED_ABILITY_TIMEOUT_MSG; in HWTEST_F() 83 std::make_shared<AMSEventHandler>(appRunningRecord->taskHandler_, appRunningRecord->appMgrServiceInner_); in HWTEST_F() 99 uint32_t msg = AMSEventHandler::ADD_ABILITY_STAGE_INFO_TIMEOUT_MSG; in HWTEST_F() 108 std::make_shared<AMSEventHandler>(appRunningRecord->taskHandler_, appRunningRecord->appMgrServiceInner_); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/fuzztest/modulerunningrecord_fuzzer/ |
H A D | modulerunningrecord_fuzzer.cpp | 65 std::shared_ptr<AMSEventHandler> eventHandler; in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/unittest/ams_ability_running_record_test/ |
H A D | ams_ability_running_record_test.cpp | 63 std::shared_ptr<AMSEventHandler> eventHandler_; 77 eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler_, serviceInner_); in SetUp()
|
/foundation/ability/ability_runtime/test/unittest/ams_service_event_drive_test/ |
H A D | ams_service_event_drive_test.cpp | 47 std::shared_ptr<AMSEventHandler> GetAmsEventHandler(); 196 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/unittest/ams_app_running_record_test/ |
H A D | ams_app_running_record_test.cpp | 2409 std::shared_ptr<AMSEventHandler> handler = std::make_shared<AMSEventHandler>(runner, serviceInner); in HWTEST_F() 2416 AAFwk::EventWrap(AMSEventHandler::START_PROCESS_SPECIFIED_ABILITY_TIMEOUT_MSG, 1), 0); in HWTEST_F() 2464 std::shared_ptr<AMSEventHandler> handler = std::make_shared<AMSEventHandler>(runner, serviceInner); in HWTEST_F() 2470 AAFwk::EventWrap(AMSEventHandler::START_PROCESS_SPECIFIED_ABILITY_TIMEOUT_MSG, 1), 0); in HWTEST_F() 2472 AAFwk::EventWrap(AMSEventHandler::ADD_ABILITY_STAGE_INFO_TIMEOUT_MSG, 1), 0); in HWTEST_F() 3072 std::shared_ptr<AMSEventHandler> handler = std::make_shared<AMSEventHandler>(runner, serviceInner); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/moduletest/common/ams/app_mgr_service_test/ |
H A D | ams_app_mgr_service_module_test.cpp | 361 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/moduletest/common/ams/app_service_flow_test/ |
H A D | ams_app_service_flow_module_test.cpp | 77 std::shared_ptr<AMSEventHandler> handler_ = nullptr; 93 handler_ = std::make_shared<AMSEventHandler>(taskHandler, serviceInner_); in SetUp()
|
/foundation/ability/ability_runtime/test/unittest/ams_app_workflow_test/ |
H A D | ams_workflow_test.cpp | 70 std::shared_ptr<AMSEventHandler> handler_ = nullptr; 84 handler_ = std::make_shared<AMSEventHandler>(taskhandler, serviceInner_); in SetUp()
|
/foundation/ability/ability_runtime/test/moduletest/common/ams/app_life_cycle_test/ |
H A D | ams_app_life_cycle_module_test.cpp | 108 std::shared_ptr<AMSEventHandler> handler_ = nullptr; 139 handler_ = std::make_shared<AMSEventHandler>(taskHandler, serviceInner_); in SetUp()
|