/foundation/ability/ability_runtime/test/unittest/sys_mgr_client_test/ |
H A D | sys_mgr_client_test.cpp | 61 auto sysMgr = DelayedSingleton<AppExecFwk::SysMrgClient>::GetInstance(); in HWTEST_F() local 62 EXPECT_NE(sysMgr, nullptr); in HWTEST_F() 64 EXPECT_EQ(sysMgr->abilityManager_, nullptr); in HWTEST_F() 66 auto ret = sysMgr->GetSystemAbility(ABILITY_MGR_SERVICE_ID); in HWTEST_F() 79 auto sysMgr = DelayedSingleton<AppExecFwk::SysMrgClient>::GetInstance(); in HWTEST_F() local 80 EXPECT_NE(sysMgr, nullptr); in HWTEST_F() 82 sysMgr->abilityManager_ = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() 83 EXPECT_NE(sysMgr->abilityManager_, nullptr); in HWTEST_F() 85 auto ret = sysMgr->GetSystemAbility(ABILITY_MGR_SERVICE_ID); in HWTEST_F() 98 auto sysMgr in HWTEST_F() local 115 auto sysMgr = DelayedSingleton<AppExecFwk::SysMrgClient>::GetInstance(); HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | ability_permission_test.cpp | 52 auto sysMgr = OHOS::DelayedSingleton<SysMrgClient>::GetInstance(); in SetUpTestCase() local 53 if (sysMgr == nullptr) { in SetUpTestCase() 58 sysMgr->RegisterSystemAbility(OHOS::BUNDLE_MGR_SERVICE_SYS_ABILITY_ID, bundleObject); in SetUpTestCase() 59 sysMgr->RegisterSystemAbility(OHOS::ABILITY_MGR_SERVICE_ID, abilityObject); in SetUpTestCase()
|
H A D | ability_context_test.cpp | 72 auto sysMgr = OHOS::DelayedSingleton<SysMrgClient>::GetInstance(); in SetUpTestCase() local 73 if (sysMgr == nullptr) { in SetUpTestCase() 78 sysMgr->RegisterSystemAbility(OHOS::BUNDLE_MGR_SERVICE_SYS_ABILITY_ID, bundleObject); in SetUpTestCase() 79 sysMgr->RegisterSystemAbility(OHOS::ABILITY_MGR_SERVICE_ID, abilityObject); in SetUpTestCase()
|
/foundation/ability/ability_runtime/test/unittest/appkit/child_main_thread_first_test/ |
H A D | child_main_thread_first_test.cpp | 70 auto sysMgr = DelayedSingleton<SysMrgClient>::GetInstance(); in TearDown() local 71 if (sysMgr == nullptr) { in TearDown() 76 sysMgr->RegisterSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID, bundleMgrService); in TearDown() 77 sysMgr->RegisterSystemAbility(APP_MGR_SERVICE_ID, mockAppMgrService); in TearDown()
|
/foundation/ability/ability_runtime/test/unittest/appkit/child_main_thread_test/ |
H A D | child_main_thread_test.cpp | 47 auto sysMgr = DelayedSingleton<SysMrgClient>::GetInstance(); in SetUpTestCase() local 48 if (sysMgr == nullptr) { in SetUpTestCase() 53 sysMgr->RegisterSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID, bundleMgrService); in SetUpTestCase() 54 sysMgr->RegisterSystemAbility(APP_MGR_SERVICE_ID, mockAppMgrService); in SetUpTestCase()
|
/foundation/ability/ability_runtime/test/moduletest/ability_caller_fw_module_test/ |
H A D | ability_caller_fw_module_test.cpp | 57 auto sysMgr = OHOS::DelayedSingleton<SysMrgClient>::GetInstance(); in SetUpTestCase() local 58 if (sysMgr == nullptr) { in SetUpTestCase() 63 sysMgr->RegisterSystemAbility(OHOS::ABILITY_MGR_SERVICE_ID, abilityObject); in SetUpTestCase()
|
/foundation/ability/ability_runtime/test/unittest/child_process_manager_test/ |
H A D | child_process_manager_test.cpp | 52 auto sysMgr = DelayedSingleton<AppExecFwk::SysMrgClient>::GetInstance(); in SetUpTestCase() local 53 if (sysMgr == nullptr) { in SetUpTestCase() 57 sysMgr->RegisterSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID, bundleMgrService); in SetUpTestCase() 58 sysMgr->RegisterSystemAbility(APP_MGR_SERVICE_ID, mockAppMgrService); in SetUpTestCase()
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_ability_runtime_test/ |
H A D | local_call_record_ut_test.cpp | 50 auto sysMgr = OHOS::DelayedSingleton<SysMrgClient>::GetInstance(); in SetUpTestCase() local 51 if (sysMgr == NULL) { in SetUpTestCase() 55 sysMgr->RegisterSystemAbility(OHOS::ABILITY_MGR_SERVICE_ID, abilityObject); in SetUpTestCase()
|
H A D | ability_context_impl_test.cpp | 110 auto sysMgr = OHOS::DelayedSingleton<SysMrgClient>::GetInstance(); in SetUpTestCase() local 111 if (sysMgr == NULL) { in SetUpTestCase() 115 sysMgr->RegisterSystemAbility(OHOS::ABILITY_MGR_SERVICE_ID, g_mockAbilityMs); in SetUpTestCase()
|
H A D | local_call_container_ut_test.cpp | 43 auto sysMgr = OHOS::DelayedSingleton<SysMrgClient>::GetInstance(); in SetUpTestCase() local 44 if (sysMgr == NULL) { in SetUpTestCase() 49 sysMgr->RegisterSystemAbility(OHOS::ABILITY_MGR_SERVICE_ID, abilityObject); in SetUpTestCase()
|
/foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
H A D | child_main_thread.cpp | 86 auto sysMgr = DelayedSingleton<SysMrgClient>::GetInstance(); in GetChildProcessInfo() local 87 if (sysMgr == nullptr) { in GetChildProcessInfo() 92 auto object = sysMgr->GetSystemAbility(APP_MGR_SERVICE_ID); in GetChildProcessInfo()
|
/foundation/ability/ability_runtime/test/unittest/appkit/main_fourth_test/ |
H A D | main_fourth_test.cpp | 75 auto sysMgr = DelayedSingleton<SysMrgClient>::GetInstance(); in SetUpTestCase() local 76 if (sysMgr == nullptr) { in SetUpTestCase() 81 sysMgr->RegisterSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID, bundleObject); in SetUpTestCase()
|
/foundation/ability/ability_runtime/test/moduletest/ability_test/ |
H A D | ability_test.cpp | 69 auto sysMgr = OHOS::DelayedSingleton<AppExecFwk::SysMrgClient>::GetInstance(); in SetUp() local 70 EXPECT_TRUE(sysMgr != nullptr); in SetUp() 71 sysMgr->RegisterSystemAbility(OHOS::ABILITY_MGR_SERVICE_ID, abilityObject_); in SetUp() 72 sysMgr->RegisterSystemAbility(OHOS::BUNDLE_MGR_SERVICE_SYS_ABILITY_ID, new BundleMgrService()); in SetUp() 493 auto sysMgr = OHOS::DelayedSingleton<AppExecFwk::SysMrgClient>::GetInstance(); in SetUp() local 494 EXPECT_TRUE(sysMgr != nullptr); in SetUp() 495 sysMgr->RegisterSystemAbility(OHOS::ABILITY_MGR_SERVICE_ID, abilityObject_); in SetUp()
|
H A D | ability_context_test.cpp | 56 auto sysMgr = OHOS::DelayedSingleton<SysMrgClient>::GetInstance(); in SetUpTestCase() local 57 if (sysMgr == nullptr) { in SetUpTestCase() 62 sysMgr->RegisterSystemAbility(OHOS::ABILITY_MGR_SERVICE_ID, abilityObject); in SetUpTestCase()
|
/foundation/ability/ability_runtime/test/unittest/appkit/main_thread_test/ |
H A D | main_thread_test.cpp | 74 auto sysMgr = DelayedSingleton<SysMrgClient>::GetInstance(); in SetUpTestCase() local 75 if (sysMgr == nullptr) { in SetUpTestCase() 80 sysMgr->RegisterSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID, bundleObject); in SetUpTestCase()
|