/ohos5.0/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 | 520 …SendEvent(AMSEventHandler::ADD_ABILITY_STAGE_INFO_TIMEOUT_MSG, AMSEventHandler::ADD_ABILITY_STAGE_… in AddAbilityStage() 543 SendEvent(AMSEventHandler::ADD_ABILITY_STAGE_INFO_TIMEOUT_MSG, in AddAbilityStageBySpecifiedAbility() 544 AMSEventHandler::ADD_ABILITY_STAGE_INFO_TIMEOUT); in AddAbilityStageBySpecifiedAbility() 566 SendEvent(AMSEventHandler::ADD_ABILITY_STAGE_INFO_TIMEOUT_MSG, in AddAbilityStageBySpecifiedProcess() 567 AMSEventHandler::ADD_ABILITY_STAGE_INFO_TIMEOUT); in AddAbilityStageBySpecifiedProcess() 635 …SendEvent(AMSEventHandler::TERMINATE_APPLICATION_TIMEOUT_MSG, AMSEventHandler::TERMINATE_APPLICATI… in ScheduleTerminate() 1334 if (msg == AMSEventHandler::START_PROCESS_SPECIFIED_ABILITY_TIMEOUT_MSG) { in SendEvent() 1337 if (msg == AMSEventHandler::ADD_ABILITY_STAGE_INFO_TIMEOUT_MSG) { in SendEvent() 1355 } else if (msg == AMSEventHandler::ADD_ABILITY_STAGE_INFO_TIMEOUT_MSG) { in SendClearTask() 1667 …AMSEventHandler::START_SPECIFIED_ABILITY_TIMEOUT_MSG, AMSEventHandler::START_SPECIFIED_ABILITY_TIM… in ScheduleAcceptWant() [all …]
|
H A D | module_running_record.cpp | 32 …const std::shared_ptr<ApplicationInfo> &info, const std::shared_ptr<AMSEventHandler> &eventHandler) in ModuleRunningRecord() 263 SendEvent(AMSEventHandler::TERMINATE_ABILITY_TIMEOUT_MSG, in TerminateAbility() 264 AMSEventHandler::TERMINATE_ABILITY_TIMEOUT, abilityRecord); in TerminateAbility() 318 …eventHandler_->RemoveEvent(AMSEventHandler::TERMINATE_ABILITY_TIMEOUT_MSG, abilityRecord->GetEvent… in RemoveTerminateAbilityTimeoutTask()
|
H A D | app_mgr_service_inner.cpp | 3747 case AMSEventHandler::TERMINATE_ABILITY_TIMEOUT_MSG: in HandleTimeOut() 3750 case AMSEventHandler::TERMINATE_APPLICATION_TIMEOUT_MSG: in HandleTimeOut() 3754 case AMSEventHandler::START_SPECIFIED_PROCESS_TIMEOUT_MSG: in HandleTimeOut() 3759 case AMSEventHandler::ADD_ABILITY_STAGE_INFO_TIMEOUT_MSG: in HandleTimeOut() 3763 case AMSEventHandler::START_SPECIFIED_ABILITY_TIMEOUT_MSG: in HandleTimeOut() 4454 AMSEventHandler::START_PROCESS_SPECIFIED_ABILITY_TIMEOUT); in StartSpecifiedAbility() 4821 case AMSEventHandler::TERMINATE_ABILITY_TIMEOUT_MSG: in SendHiSysEvent() 4824 case AMSEventHandler::TERMINATE_APPLICATION_TIMEOUT_MSG: in SendHiSysEvent() 4827 case AMSEventHandler::ADD_ABILITY_STAGE_INFO_TIMEOUT_MSG: in SendHiSysEvent() 4835 case AMSEventHandler::START_SPECIFIED_ABILITY_TIMEOUT_MSG: in SendHiSysEvent() [all …]
|
H A D | app_running_manager.cpp | 580 appRecord->PostTask("DELAY_KILL_ABILITY", AMSEventHandler::KILL_PROCESS_TIMEOUT, timeoutTask); in HandleAbilityAttachTimeOut() 686 …AMSEventHandler::DELAY_KILL_EXTENSION_PROCESS_TIMEOUT : AMSEventHandler::DELAY_KILL_PROCESS_TIMEOU… in TerminateAbility()
|
H A D | cache_process_manager.cpp | 144 appRecord->PostTask(taskName, AMSEventHandler::DELAY_NOTIFY_PROCESS_CACHED_STATE, notifyCached); in CheckAndCacheProcess()
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/app_mgr_service_test/ |
H A D | app_mgr_service_test.cpp | 43 std::shared_ptr<AMSEventHandler> eventHandler_; 63 eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler_, mockAppMgrServiceInner_); in SetUp() 154 …appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler_, appMgrService->appM… 238 …appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler_, appMgrService->appM… 273 …appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler_, appMgrService->appM… 290 …appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler_, appMgrService->appM… 326 …appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler_, appMgrService->appM… 380 …appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler_, appMgrService->appM… 416 …appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler_, appMgrService->appM… 452 …appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler_, appMgrService->appM… [all …]
|
/ohos5.0/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>( 123 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( 163 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( 204 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( 245 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( 285 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( 326 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( 367 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( 408 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( 449 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( [all …]
|
/ohos5.0/foundation/ability/ability_runtime/services/appmgr/include/ |
H A D | app_mgr_service_event_handler.h | 25 class AMSEventHandler : public AAFwk::EventHandlerWrap { 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… 181 std::shared_ptr<AMSEventHandler> eventHandler_;
|
H A D | app_mgr_service.h | 52 class AMSEventHandler; variable 753 std::shared_ptr<AMSEventHandler> eventHandler_;
|
H A D | app_running_record.h | 540 void SetEventHandler(const std::shared_ptr<AMSEventHandler> &handler); 967 std::shared_ptr<AMSEventHandler> eventHandler_;
|
H A D | app_mgr_service_inner.h | 655 void SetEventHandler(const std::shared_ptr<AMSEventHandler> &eventHandler) in SetEventHandler() 1637 std::shared_ptr<AMSEventHandler> eventHandler_;
|
/ohos5.0/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>( 122 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( 159 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( 202 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( 244 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( 289 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( 334 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( 382 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( 430 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>(
|
/ohos5.0/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>( 116 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( 164 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>( 188 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>(
|
/ohos5.0/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()
|
/ohos5.0/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; 83 …std::make_shared<AMSEventHandler>(appRunningRecord->taskHandler_, appRunningRecord->appMgrServiceI… 99 uint32_t msg = AMSEventHandler::ADD_ABILITY_STAGE_INFO_TIMEOUT_MSG; 108 …std::make_shared<AMSEventHandler>(appRunningRecord->taskHandler_, appRunningRecord->appMgrServiceI…
|
/ohos5.0/foundation/ability/ability_runtime/services/appmgr/ |
H A D | libappms.map | 32 *AMSEventHandler*;
|
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/modulerunningrecord_fuzzer/ |
H A D | modulerunningrecord_fuzzer.cpp | 65 std::shared_ptr<AMSEventHandler> eventHandler; in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/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()
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_app_running_record_test/ |
H A D | ams_app_running_record_test.cpp | 2361 …std::shared_ptr<AMSEventHandler> handler = std::make_shared<AMSEventHandler>(runner, serviceInner); 2368 AAFwk::EventWrap(AMSEventHandler::START_PROCESS_SPECIFIED_ABILITY_TIMEOUT_MSG, 1), 0); 2414 …std::shared_ptr<AMSEventHandler> handler = std::make_shared<AMSEventHandler>(runner, serviceInner); 2420 AAFwk::EventWrap(AMSEventHandler::START_PROCESS_SPECIFIED_ABILITY_TIMEOUT_MSG, 1), 0); 2422 AAFwk::EventWrap(AMSEventHandler::ADD_ABILITY_STAGE_INFO_TIMEOUT_MSG, 1), 0); 3016 …std::shared_ptr<AMSEventHandler> handler = std::make_shared<AMSEventHandler>(runner, serviceInner);
|
/ohos5.0/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->appM…
|
/ohos5.0/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->appM…
|
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/common/ams/app_service_flow_test/ |
H A D | ams_app_service_flow_module_test.cpp | 76 std::shared_ptr<AMSEventHandler> handler_ = nullptr; 92 handler_ = std::make_shared<AMSEventHandler>(taskHandler, serviceInner_); in SetUp()
|
/ohos5.0/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()
|