/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_mgr_service.cpp | 80 appMgrServiceInner_ = std::make_shared<AppMgrServiceInner>(); in AppMgrService() 87 appMgrServiceInner_ = std::make_shared<AppMgrServiceInner>(); in AppMgrService() 123 if (appMgrServiceInner_) { in OnStop() 124 appMgrServiceInner_->OnStop(); in OnStop() 131 appMgrServiceInner_ = innerService; in SetInnerService() 136 if (appMgrServiceInner_) { in QueryServiceState() 137 appMgrServiceState_.connectionState = appMgrServiceInner_->QueryAppSpawnConnectionState(); in QueryServiceState() 145 if (!appMgrServiceInner_) { in Init() 152 eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler_, appMgrServiceInner_); in Init() 153 appMgrServiceInner_ in Init() [all...] |
H A D | app_death_recipient.cpp | 38 auto serviceInner = appMgrServiceInner_.lock(); in OnRemoteDied() 59 appMgrServiceInner_ = serviceInner; in SetAppMgrServiceInner() 73 : appMgrServiceInner_(appMgrServiceInner) {} in AppStateCallbackDeathRecipient() 77 auto appMgrInner = appMgrServiceInner_.lock(); in OnRemoteDied()
|
H A D | module_running_record.cpp | 187 auto serviceInner = appMgrServiceInner_.lock(); in OnAbilityStateChanged() 268 auto serviceInner = appMgrServiceInner_.lock(); in TerminateAbility() 349 appMgrServiceInner_ = inner; in SetAppMgrServiceInner()
|
H A D | app_running_record.cpp | 646 auto serviceInner = appMgrServiceInner_.lock(); in ScheduleTerminate() 681 auto serviceInner = appMgrServiceInner_; in ScheduleBackgroundRunning() 784 moduleRecord->SetAppMgrServiceInner(appMgrServiceInner_); in AddModule() 874 auto serviceInner = appMgrServiceInner_.lock(); in StateChangedNotifyObserver() 1013 auto serviceInner = appMgrServiceInner_.lock(); in AbilityForeground() 1271 appMgrServiceInner_ = inner; in SetAppMgrServiceInner() 1280 moduleRecord->SetAppMgrServiceInner(appMgrServiceInner_); in SetAppMgrServiceInner()
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_dump_ipc_test/ |
H A D | app_mgr_service_dump_ipc_test.cpp | 81 EXPECT_NE(appMgrService->appMgrServiceInner_, nullptr); in HWTEST_F() 83 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F() 122 EXPECT_NE(appMgrService->appMgrServiceInner_, nullptr); in HWTEST_F() 124 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F() 162 EXPECT_NE(appMgrService->appMgrServiceInner_, nullptr); in HWTEST_F() 164 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F() 203 EXPECT_NE(appMgrService->appMgrServiceInner_, nullptr); in HWTEST_F() 205 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F() 244 EXPECT_NE(appMgrService->appMgrServiceInner_, nullptr); in HWTEST_F() 246 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/unittest/ams_app_death_recipient_test/ |
H A D | ams_app_death_recipient_test.cpp | 64 std::shared_ptr<AppMgrServiceInner> appMgrServiceInner_; member in OHOS::AppExecFwk::AppDeathRecipientTest 101 appMgrServiceInner_ = std::make_shared<AppMgrServiceInner>(); in SetUp() 102 appMgrServiceInner_->Init(); in SetUp() 156 auto appRecord = appMgrServiceInner_->appRunningManager_->CheckAppRunningRecordIsExist( in GetAppRunningRecordByIndex() 175 appMgrServiceInner_->SetAppSpawnClient(mockClientstr); in GetApp() 179 appMgrServiceInner_->LoadAbility(abilityInfo, appInfo, nullptr, loadParamPtr); in GetApp() 205 appDeathRecipientObject_->SetAppMgrServiceInner(appMgrServiceInner_); in HWTEST_F() 206 EXPECT_TRUE(appDeathRecipientObject_->appMgrServiceInner_.lock() != nullptr); in HWTEST_F() 223 appDeathRecipientObject_->SetAppMgrServiceInner(appMgrServiceInner_); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_dump_ffrt_test/ |
H A D | app_mgr_service_dump_ffrt_test.cpp | 86 EXPECT_NE(appMgrService->appMgrServiceInner_, nullptr); in HWTEST_F() 88 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F() 121 EXPECT_NE(appMgrService->appMgrServiceInner_, nullptr); in HWTEST_F() 123 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F() 158 EXPECT_NE(appMgrService->appMgrServiceInner_, nullptr); in HWTEST_F() 160 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F() 201 EXPECT_NE(appMgrService->appMgrServiceInner_, nullptr); in HWTEST_F() 203 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F() 243 EXPECT_NE(appMgrService->appMgrServiceInner_, nullptr); in HWTEST_F() 245 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_test/ |
H A D | app_mgr_service_test.cpp | 87 appMgrService->appMgrServiceInner_ = nullptr; in HWTEST_F() 102 appMgrService->appMgrServiceInner_ = nullptr; in HWTEST_F() 119 appMgrService->appMgrServiceInner_ = nullptr; in HWTEST_F() 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() [all...] |
/foundation/ability/ability_runtime/services/appmgr/include/ |
H A D | app_death_recipient.h | 53 std::weak_ptr<AppMgrServiceInner> appMgrServiceInner_; member in OHOS::AppExecFwk::AppDeathRecipient 61 std::weak_ptr<AppMgrServiceInner> appMgrServiceInner_; member in OHOS::AppExecFwk::AppStateCallbackDeathRecipient
|
H A D | module_running_record.h | 176 std::weak_ptr<AppMgrServiceInner> appMgrServiceInner_; member in OHOS::AppExecFwk::ModuleRunningRecord
|
H A D | app_mgr_service.h | 929 std::shared_ptr<AppMgrServiceInner> appMgrServiceInner_; member in OHOS::AppExecFwk::AppMgrService
|
H A D | app_running_record.h | 1047 std::weak_ptr<AppMgrServiceInner> appMgrServiceInner_; member in OHOS::AppExecFwk::AppRunningRecord
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_dump_test/ |
H A D | app_mgr_service_dump_test.cpp | 94 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F() 117 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F() 165 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F() 189 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/unittest/ams_mgr_scheduler_second_test/ |
H A D | ams_mgr_scheduler_second_test.cpp | 53 appMgrServiceInner_ = std::make_shared<MockAppMgrServiceInner>(); in SetUpTestCase() 54 appMgrServiceInner_->SetSceneBoardAttachFlag(true); in SetUpTestCase() 74 static std::shared_ptr<MockAppMgrServiceInner> appMgrServiceInner_; member in OHOS::AppExecFwk::AmsMgrSchedulerSecondTest 78 std::shared_ptr<MockAppMgrServiceInner> AmsMgrSchedulerSecondTest::appMgrServiceInner_ = nullptr; member in OHOS::AppExecFwk::AmsMgrSchedulerSecondTest 93 std::make_shared<AmsMgrScheduler>(appMgrServiceInner_, taskHandler_); in HWTEST_F() 104 EXPECT_TRUE(appMgrServiceInner_->GetSceneBoardAttachFlag()); // not changed in HWTEST_F() 119 std::make_shared<AmsMgrScheduler>(appMgrServiceInner_, taskHandler_); in HWTEST_F() 130 EXPECT_TRUE(appMgrServiceInner_->GetSceneBoardAttachFlag()); // not changed in HWTEST_F() 145 std::make_shared<AmsMgrScheduler>(appMgrServiceInner_, taskHandler_); in HWTEST_F() 157 EXPECT_TRUE(appMgrServiceInner_ in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/moduletest/common/ams/app_mgr_service_test/ |
H A D | ams_app_mgr_service_module_test.cpp | 165 appMgrService_->appMgrServiceInner_ = mockAppMgrServiceInner_; in SetUpTestCase() 188 if (appMgrService_->appMgrServiceInner_) { in TearDownTestCase() 189 appMgrService_->appMgrServiceInner_.reset(); in TearDownTestCase() 361 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/unittest/app_running_record_test/ |
H A D | app_running_record_test.cpp | 83 std::make_shared<AMSEventHandler>(appRunningRecord->taskHandler_, appRunningRecord->appMgrServiceInner_); in HWTEST_F() 108 std::make_shared<AMSEventHandler>(appRunningRecord->taskHandler_, appRunningRecord->appMgrServiceInner_); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/unittest/ams_service_event_drive_test/ |
H A D | ams_service_event_drive_test.cpp | 196 appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler_, appMgrService->appMgrServiceInner_); in HWTEST_F()
|