/foundation/ability/ability_runtime/test/moduletest/common/ams/ipc_ams_mgr_test/ |
H A D | ams_ipc_ams_mgr_module_test.cpp | 77 MOCK_METHOD0(GetAmsMgr, sptr<IAmsMgr>()); 156 EXPECT_CALL(*mockMockAppMgr, GetAmsMgr()).Times(1).WillOnce(Invoke(mockHandler)); in HWTEST_F() 158 auto amsMgrScheduler_ = appMgrClient->GetAmsMgr(); in HWTEST_F() 195 EXPECT_CALL(*mockMockAppMgr, GetAmsMgr()).Times(1).WillOnce(Invoke(mockHandler)); in HWTEST_F() 197 auto amsMgrScheduler_ = appMgrClient->GetAmsMgr(); in HWTEST_F() 237 EXPECT_CALL(*mockMockAppMgr, GetAmsMgr()).Times(1).WillOnce(Invoke(mockHandler)); in HWTEST_F() 239 auto amsMgrScheduler_ = appMgrClient->GetAmsMgr(); in HWTEST_F() 276 EXPECT_CALL(*mockMockAppMgr, GetAmsMgr()).Times(1).WillOnce(Invoke(mockHandler)); in HWTEST_F() 278 auto amsMgrScheduler_ = appMgrClient->GetAmsMgr(); in HWTEST_F() 314 EXPECT_CALL(*mockMockAppMgr, GetAmsMgr()) in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/ |
H A D | app_mgr_client.cpp | 142 sptr<IAmsMgr> amsService = service->GetAmsMgr(); in LoadAbility() 160 sptr<IAmsMgr> amsService = service->GetAmsMgr(); in TerminateAbility() 173 sptr<IAmsMgr> amsService = service->GetAmsMgr(); in UpdateAbilityState() 186 sptr<IAmsMgr> amsService = service->GetAmsMgr(); in UpdateExtensionState() 199 sptr<IAmsMgr> amsService = service->GetAmsMgr(); in RegisterAppStateCallback() 212 sptr<IAmsMgr> amsService = service->GetAmsMgr(); in KillProcessByAbilityToken() 225 sptr<IAmsMgr> amsService = service->GetAmsMgr(); in KillProcessesByUserId() 238 sptr<IAmsMgr> amsService = service->GetAmsMgr(); in KillProcessesByPids() 252 sptr<IAmsMgr> amsService = service->GetAmsMgr(); in AttachPidToParent() 265 sptr<IAmsMgr> amsService = service->GetAmsMgr(); in UpdateApplicationInfoInstalled() [all...] |
H A D | app_mgr_stub.cpp | 414 sptr<IAmsMgr> amsMgr = GetAmsMgr(); in HandleGetAmsMgr()
|
H A D | app_mgr_proxy.cpp | 128 sptr<IAmsMgr> AppMgrProxy::GetAmsMgr() in GetAmsMgr() function in OHOS::AppExecFwk::AppMgrProxy
|
/foundation/ability/ability_runtime/test/unittest/ams_app_mgr_client_test/ |
H A D | ams_app_mgr_client_test.cpp | 128 GetAmsMgr()) in HWTEST_F() 175 GetAmsMgr()) in HWTEST_F() 215 GetAmsMgr()) in HWTEST_F() 257 GetAmsMgr()) in HWTEST_F() 304 GetAmsMgr()) in HWTEST_F() 331 GetAmsMgr()) in HWTEST_F() 357 GetAmsMgr()) in HWTEST_F() 383 GetAmsMgr()) in HWTEST_F()
|
/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/include/appmgr/ |
H A D | app_mgr_interface.h | 81 * GetAmsMgr, call GetAmsMgr() through proxy object, get AMS interface instance. 85 virtual sptr<IAmsMgr> GetAmsMgr() = 0;
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | app_exception_handler.cpp | 65 auto service = appMgr->GetAmsMgr(); in RegisterAppExceptionCallback() 67 TAG_LOGW(AAFwkTag::ABILITYMGR, "GetAmsMgr failed"); in RegisterAppExceptionCallback()
|
/foundation/ability/ability_runtime/test/moduletest/common/ams/ipc_app_mgr_test/ |
H A D | ams_ipc_app_mgr_module_test.cpp | 60 MOCK_METHOD0(GetAmsMgr, sptr<IAmsMgr>()); 180 * FunctionPoints: test GetAmsMgr API,then check the function whether is good or not 195 EXPECT_CALL(*mockMockAppMgr, GetAmsMgr()).Times(1).WillOnce(Invoke(mockHandler)); in HWTEST_F() 197 appMgrClient->GetAmsMgr(); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/unittest/ams_mgr_kill_process_test/ |
H A D | ams_mgr_kill_process_test.cpp | 124 ErrCode result = proxy->GetAmsMgr()->KillProcessWithAccount(STRING_BUNDLE_NAME, ACCOUNT_ID); 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 | 206 * Function: GetAmsMgr 209 * CaseDescription: Check GetAmsMgr. 215 auto amsMgr = appMgrService_->GetAmsMgr(); in HWTEST_F() 477 int ret = appMgrService_->GetAmsMgr()->KillApplication(testBundleName); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/fuzztest/appmgrservicefirst_fuzzer/ |
H A D | appmgrservicefirst_fuzzer.cpp | 113 appMgrService->GetAmsMgr(); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/ |
H A D | app_mgr_interface.h | 114 * GetAmsMgr, call GetAmsMgr() through proxy object, get AMS interface instance. 118 virtual sptr<IAmsMgr> GetAmsMgr() = 0;
|
H A D | app_mgr_proxy.h | 92 * GetAmsMgr, call GetAmsMgr() through proxy object, get AMS interface instance. 96 virtual sptr<IAmsMgr> GetAmsMgr() override;
|
/foundation/ability/ability_runtime/test/mock/services_appmgr_test/include/ |
H A D | mock_app_mgr_service.h | 55 MOCK_METHOD0(GetAmsMgr, sptr<IAmsMgr>());
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_test/include/ |
H A D | mock_app_mgr_service.h | 141 virtual sptr<IAmsMgr> GetAmsMgr() override
|
/foundation/ability/ability_runtime/services/appmgr/include/ |
H A D | app_mgr_service.h | 296 * GetAmsMgr, call GetAmsMgr() through proxy object, get AMS interface instance. 300 virtual sptr<IAmsMgr> GetAmsMgr() override;
|
/foundation/ability/ability_runtime/test/unittest/appkit/main_fourth_test/ |
H A D | main_fourth_test.cpp | 122 sptr<IAmsMgr> GetAmsMgr() override
|
/foundation/ability/ability_runtime/test/unittest/multi_app_utils_test/include/ |
H A D | mock_app_mgr_service.h | 54 MOCK_METHOD0(GetAmsMgr, sptr<IAmsMgr>());
|
/foundation/ability/ability_runtime/frameworks/js/napi/app/app_manager/ |
H A D | js_app_manager.cpp | 432 auto ret = appManager->GetAmsMgr()->KillProcessWithAccount(bundleName, accountId); in OnKillProcessWithAccount()
|
/foundation/ability/ability_runtime/frameworks/js/napi/app/js_app_manager/ |
H A D | js_app_manager.cpp | 1094 if (appManager == nullptr || appManager->GetAmsMgr() == nullptr) { in OnKillProcessWithAccount() 1100 auto ret = appManager->GetAmsMgr()->KillProcessWithAccount(bundleName, accountId, clearPageStack); in OnKillProcessWithAccount()
|
/foundation/ability/ability_runtime/test/moduletest/common/ams/app_life_cycle_test/ |
H A D | ams_app_life_cycle_module_test.cpp | 1789 ErrCode result = proxy->GetAmsMgr()->KillProcessWithAccount(STRING_BUNDLE_NAME, ACCOUNT_ID); in HWTEST_F()
|
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_mgr_service.cpp | 322 sptr<IAmsMgr> AppMgrService::GetAmsMgr() in GetAmsMgr() function in OHOS::AppExecFwk::AppMgrService
|
/foundation/ability/ability_runtime/test/unittest/appkit/main_thread_test/ |
H A D | main_thread_test.cpp | 121 sptr<IAmsMgr> GetAmsMgr() override
|