Home
last modified time | relevance | path

Searched refs:GetAmsMgr (Results 1 - 23 of 23) sorted by relevance

/foundation/ability/ability_runtime/test/moduletest/common/ams/ipc_ams_mgr_test/
H A Dams_ipc_ams_mgr_module_test.cpp77 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 Dapp_mgr_client.cpp142 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 Dapp_mgr_stub.cpp414 sptr<IAmsMgr> amsMgr = GetAmsMgr(); in HandleGetAmsMgr()
H A Dapp_mgr_proxy.cpp128 sptr<IAmsMgr> AppMgrProxy::GetAmsMgr() in GetAmsMgr() function in OHOS::AppExecFwk::AppMgrProxy
/foundation/ability/ability_runtime/test/unittest/ams_app_mgr_client_test/
H A Dams_app_mgr_client_test.cpp128 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 Dapp_mgr_interface.h81 * 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 Dapp_exception_handler.cpp65 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 Dams_ipc_app_mgr_module_test.cpp60 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 Dams_mgr_kill_process_test.cpp124 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 Dams_app_mgr_service_module_test.cpp206 * 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 Dappmgrservicefirst_fuzzer.cpp113 appMgrService->GetAmsMgr(); in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/
H A Dapp_mgr_interface.h114 * GetAmsMgr, call GetAmsMgr() through proxy object, get AMS interface instance.
118 virtual sptr<IAmsMgr> GetAmsMgr() = 0;
H A Dapp_mgr_proxy.h92 * 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 Dmock_app_mgr_service.h55 MOCK_METHOD0(GetAmsMgr, sptr<IAmsMgr>());
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_test/include/
H A Dmock_app_mgr_service.h141 virtual sptr<IAmsMgr> GetAmsMgr() override
/foundation/ability/ability_runtime/services/appmgr/include/
H A Dapp_mgr_service.h296 * 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 Dmain_fourth_test.cpp122 sptr<IAmsMgr> GetAmsMgr() override
/foundation/ability/ability_runtime/test/unittest/multi_app_utils_test/include/
H A Dmock_app_mgr_service.h54 MOCK_METHOD0(GetAmsMgr, sptr<IAmsMgr>());
/foundation/ability/ability_runtime/frameworks/js/napi/app/app_manager/
H A Djs_app_manager.cpp432 auto ret = appManager->GetAmsMgr()->KillProcessWithAccount(bundleName, accountId); in OnKillProcessWithAccount()
/foundation/ability/ability_runtime/frameworks/js/napi/app/js_app_manager/
H A Djs_app_manager.cpp1094 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 Dams_app_life_cycle_module_test.cpp1789 ErrCode result = proxy->GetAmsMgr()->KillProcessWithAccount(STRING_BUNDLE_NAME, ACCOUNT_ID); in HWTEST_F()
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_mgr_service.cpp322 sptr<IAmsMgr> AppMgrService::GetAmsMgr() in GetAmsMgr() function in OHOS::AppExecFwk::AppMgrService
/foundation/ability/ability_runtime/test/unittest/appkit/main_thread_test/
H A Dmain_thread_test.cpp121 sptr<IAmsMgr> GetAmsMgr() override

Completed in 31 milliseconds