/ohos5.0/foundation/ability/ability_runtime/test/unittest/app_mgr_service_test/ |
H A D | app_mgr_service_test.cpp | 84 ASSERT_NE(appMgrService, nullptr); 86 appMgrService->OnStop(); 133 ASSERT_NE(appMgrService, nullptr); 150 ASSERT_NE(appMgrService, nullptr); 169 ASSERT_NE(appMgrService, nullptr); 186 ASSERT_NE(appMgrService, nullptr); 203 ASSERT_NE(appMgrService, nullptr); 220 ASSERT_NE(appMgrService, nullptr); 236 ASSERT_NE(appMgrService, nullptr); 253 ASSERT_NE(appMgrService, nullptr); [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 | 83 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); 124 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); 164 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); 205 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); 246 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); 286 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); 327 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); 368 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); 409 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); 450 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/app_mgr_service_dump_ffrt_test/ |
H A D | app_mgr_service_dump_ffrt_test.cpp | 80 EXPECT_NE(appMgrService, nullptr); 88 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); 115 EXPECT_NE(appMgrService, nullptr); 123 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); 160 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); 203 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); 245 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); 290 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); 335 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); 383 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_service_startup_test/ |
H A D | ams_service_startup_test.cpp | 71 appMgrService->OnStart(); 73 appMgrService->OnStop(); 93 appMgrService->OnStart(); 95 appMgrService->OnStart(); 97 appMgrService->OnStop(); 117 appMgrService->OnStop(); 137 appMgrService->OnStart(); 139 appMgrService->OnStop(); 141 appMgrService->OnStop(); 163 appMgrService->OnStop(); [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/appmgrservicefirst_fuzzer/ |
H A D | appmgrservicefirst_fuzzer.cpp | 70 appMgrService->OnStart(); in DoSomethingInterestingWithMyAPI() 78 appMgrService->AddAppDeathRecipient(pid); in DoSomethingInterestingWithMyAPI() 79 appMgrService->QueryServiceState(); in DoSomethingInterestingWithMyAPI() 81 appMgrService->AttachApplication(app); in DoSomethingInterestingWithMyAPI() 105 appMgrService->Dump(fd, args); in DoSomethingInterestingWithMyAPI() 107 appMgrService->Dump(args, result); in DoSomethingInterestingWithMyAPI() 108 appMgrService->ShowHelp(args, result); in DoSomethingInterestingWithMyAPI() 113 appMgrService->GetAmsMgr(); in DoSomethingInterestingWithMyAPI() 135 appMgrService->AbilityCleaned(token); in DoSomethingInterestingWithMyAPI() 142 appMgrService->OnStop(); in DoSomethingInterestingWithMyAPI() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/app_mgr_service_dump_test/ |
H A D | app_mgr_service_dump_test.cpp | 90 EXPECT_NE(appMgrService, nullptr); 94 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); 113 EXPECT_NE(appMgrService, nullptr); 117 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); 123 auto result = appMgrService->Dump(fd, args); 139 EXPECT_NE(appMgrService, nullptr); 145 auto result = appMgrService->Dump(fd, args); 161 EXPECT_NE(appMgrService, nullptr); 165 appMgrService->taskHandler_, appMgrService->appMgrServiceInner_); 185 EXPECT_NE(appMgrService, nullptr); [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/common/ams/service_start_process_test/ |
H A D | ams_service_start_process_module_test.cpp | 71 std::shared_ptr<AppMgrService> appMgrService = std::make_shared<AppMgrService>(); variable 72 EXPECT_TRUE(appMgrService.get() != nullptr); 74 appMgrService->SetInnerService(innerService); 78 appMgrService->OnStart(); 82 appMgrService->OnStop(); 98 std::shared_ptr<AppMgrService> appMgrService = std::make_shared<AppMgrService>(); variable 99 EXPECT_TRUE(appMgrService.get() != nullptr); 101 appMgrService->SetInnerService(innerService); 105 appMgrService->OnStop(); 109 appMgrService->OnStart(); [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/common/ams/app_mgr_service_test/ |
H A D | ams_app_mgr_service_module_test.cpp | 257 auto appMgrService = std::make_shared<AppMgrService>(); variable 272 appMgrService->SetInnerService(nullptr); 275 EXPECT_TRUE(appMgrService != nullptr); 291 auto appMgrService = std::make_shared<AppMgrService>(); variable 306 appMgrService->SetInnerService(nullptr); 309 EXPECT_TRUE(appMgrService != nullptr); 325 auto appMgrService = std::make_shared<AppMgrService>(); variable 340 appMgrService->SetInnerService(nullptr); 341 appMgrService->ApplicationTerminated(testRecordId); 343 EXPECT_TRUE(appMgrService != nullptr); [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/common/ams/service_app_spawn_client_test/ |
H A D | ams_service_app_spawn_client_module_test.cpp | 207 appMgrService->SetInnerService(amsInner); 210 appMgrService->OnStart(); 213 appMgrService->OnStop(); 234 appMgrService->SetInnerService(amsInner); 238 appMgrService->OnStart(); 241 appMgrService->OnStop(); 245 appMgrService->OnStart(); 248 appMgrService->OnStop(); 272 appMgrService->OnStart(); 275 appMgrService->OnStart(); [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/unregisterapplicationstateobserver_fuzzer/ |
H A D | unregisterapplicationstateobserver_fuzzer.cpp | 37 std::shared_ptr<AppMgrService> appMgrService = std::make_shared<AppMgrService>(); in DoSomethingInterestingWithMyAPI() local 39 if (!appMgrService) { in DoSomethingInterestingWithMyAPI() 43 if (appMgrService->UnregisterApplicationStateObserver(observer) != 0) { in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/registerapplicationstateobserver_fuzzer/ |
H A D | registerapplicationstateobserver_fuzzer.cpp | 37 std::shared_ptr<AppMgrService> appMgrService = std::make_shared<AppMgrService>(); in DoSomethingInterestingWithMyAPI() local 38 if (!appMgrService) { in DoSomethingInterestingWithMyAPI() 47 if (appMgrService->RegisterApplicationStateObserver(observer, bundleNameList) != 0) { in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/app_mgr_service_event_handler_test/ |
H A D | app_mgr_service_event_handler_test.cpp | 36 const std::shared_ptr<AppMgrServiceInner>& appMgrService); 100 …ared_ptr<AAFwk::TaskHandlerWrap>& runner, const std::shared_ptr<AppMgrServiceInner>& appMgrService) in MockAMSEventHandler() argument 101 : AMSEventHandler(runner, appMgrService) in MockAMSEventHandler()
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_service_app_spawn_client_test/ |
H A D | ams_service_app_spawn_client_test.cpp | 131 std::shared_ptr<AppMgrService> appMgrService = std::make_shared<AppMgrService>(); variable 132 …EXPECT_EQ(SpawnConnectionState::STATE_NOT_CONNECT, appMgrService->QueryServiceState().connectionSt… 134 appMgrService->SetInnerService(innerService); 136 appMgrService->OnStart(); 137 …EXPECT_EQ(SpawnConnectionState::STATE_CONNECTED, appMgrService->QueryServiceState().connectionStat… 139 appMgrService->OnStop(); 140 …EXPECT_EQ(SpawnConnectionState::STATE_NOT_CONNECT, appMgrService->QueryServiceState().connectionSt… 155 std::shared_ptr<AppMgrService> appMgrService = std::make_shared<AppMgrService>(); variable 158 appMgrService->SetInnerService(innerService); 161 appMgrService->OnStart(); [all …]
|
/ohos5.0/base/hiviewdfx/hicollie/interfaces/ndk/ |
H A D | hicollie.cpp | 60 auto appMgrService = systemAbilityMgr->GetSystemAbility(APP_MGR_SERVICE_ID); in NotifyAppFault() local 61 if (appMgrService == nullptr) { in NotifyAppFault() 76 auto ret = appMgrService->SendRequest(NOTIFY_APP_FAULT, data, reply, option); in NotifyAppFault()
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_service_event_drive_test/ |
H A D | ams_service_event_drive_test.cpp | 113 std::unique_ptr<AppMgrService> appMgrService = std::make_unique<AppMgrService>(); variable 114 appMgrService->SetInnerService(innerService); 115 appMgrService->OnStart(); 121 appMgrService->ApplicationForegrounded(recordId); 191 auto appMgrService = std::make_shared<AppMgrService>(); variable 195 appMgrService->SetInnerService(std::make_shared<AppMgrServiceInner>()); 196 …appMgrService->eventHandler_ = std::make_shared<AMSEventHandler>(taskHandler_, appMgrService->appM… 197 int32_t res = appMgrService->ClearUpApplicationData(bundleName, 0);
|