Home
last modified time | relevance | path

Searched refs:AMSEventHandler (Results 1 – 25 of 28) sorted by relevance

12

/ohos5.0/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_mgr_service_event_handler.cpp23 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 Dapp_running_record.cpp520 …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()
1667AMSEventHandler::START_SPECIFIED_ABILITY_TIMEOUT_MSG, AMSEventHandler::START_SPECIFIED_ABILITY_TIM… in ScheduleAcceptWant()
[all …]
H A Dmodule_running_record.cpp32 …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 Dapp_mgr_service_inner.cpp3747 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 Dapp_running_manager.cpp580 appRecord->PostTask("DELAY_KILL_ABILITY", AMSEventHandler::KILL_PROCESS_TIMEOUT, timeoutTask); in HandleAbilityAttachTimeOut()
686AMSEventHandler::DELAY_KILL_EXTENSION_PROCESS_TIMEOUT : AMSEventHandler::DELAY_KILL_PROCESS_TIMEOU… in TerminateAbility()
H A Dcache_process_manager.cpp144 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 Dapp_mgr_service_test.cpp43 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 Dapp_mgr_service_dump_ipc_test.cpp82 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 Dapp_mgr_service_event_handler.h25 class AMSEventHandler : public AAFwk::EventHandlerWrap {
27 AMSEventHandler(const std::shared_ptr<AAFwk::TaskHandlerWrap> &taskHandler,
29 virtual ~AMSEventHandler() override;
H A Dmodule_running_record.h47 …const std::shared_ptr<ApplicationInfo> &info, const std::shared_ptr<AMSEventHandler> &eventHandler…
181 std::shared_ptr<AMSEventHandler> eventHandler_;
H A Dapp_mgr_service.h52 class AMSEventHandler; variable
753 std::shared_ptr<AMSEventHandler> eventHandler_;
H A Dapp_running_record.h540 void SetEventHandler(const std::shared_ptr<AMSEventHandler> &handler);
967 std::shared_ptr<AMSEventHandler> eventHandler_;
H A Dapp_mgr_service_inner.h655 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 Dapp_mgr_service_dump_ffrt_test.cpp87 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 Dapp_mgr_service_dump_test.cpp93 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 Dapp_mgr_service_event_handler_test.cpp33 class MockAMSEventHandler : public AMSEventHandler {
101 : AMSEventHandler(runner, appMgrService) in MockAMSEventHandler()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/app_running_record_test/
H A Dapp_running_record_test.cpp74 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 Dlibappms.map32 *AMSEventHandler*;
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/modulerunningrecord_fuzzer/
H A Dmodulerunningrecord_fuzzer.cpp65 std::shared_ptr<AMSEventHandler> eventHandler; in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_ability_running_record_test/
H A Dams_ability_running_record_test.cpp63 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 Dams_app_running_record_test.cpp2361 …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 Dams_service_event_drive_test.cpp47 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 Dams_app_mgr_service_module_test.cpp361 …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 Dams_app_service_flow_module_test.cpp76 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 Dams_workflow_test.cpp70 std::shared_ptr<AMSEventHandler> handler_ = nullptr;
84 handler_ = std::make_shared<AMSEventHandler>(taskhandler, serviceInner_); in SetUp()

12