/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/ |
H A D | system_ability_mgr_stub_load_test.cpp | 48 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); in HWTEST_F() local 49 EXPECT_TRUE(saMgr != nullptr); in HWTEST_F() 52 int32_t result = saMgr->AddSystemAbilityInner(data, reply); in HWTEST_F() 58 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); in HWTEST_F() local 59 EXPECT_TRUE(saMgr != nullptr); in HWTEST_F() 62 int32_t result = saMgr->AddSystemProcessInner(data, reply); in HWTEST_F() 69 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); in HWTEST_F() local 70 EXPECT_TRUE(saMgr != nullptr); in HWTEST_F() 73 int32_t ret = saMgr->SubscribeSystemProcessInner(data, reply); in HWTEST_F() 79 sptr<SystemAbilityManager> saMgr in HWTEST_F() local 90 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 101 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 117 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 134 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 152 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 164 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 179 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 191 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 206 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 216 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 227 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 240 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 255 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 266 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 275 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 284 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 296 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 304 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 313 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 321 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 329 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 341 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 354 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 362 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 374 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 384 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 395 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 408 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 420 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 429 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 442 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 453 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 464 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 475 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 486 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 500 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 511 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 526 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 542 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 554 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 563 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 576 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 585 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 602 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 622 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 631 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 640 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 649 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 659 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 671 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 686 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 708 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 732 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 757 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 783 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 809 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 837 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 854 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 872 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 890 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 907 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 925 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 950 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 980 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 995 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1010 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1030 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1044 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1062 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1086 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1110 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1126 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1143 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1168 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1187 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1345 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1363 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1379 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local [all...] |
H A D | system_ability_mgr_stub_unload_test.cpp | 45 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); in HWTEST_F() local 46 EXPECT_TRUE(saMgr != nullptr); in HWTEST_F() 50 int32_t result = saMgr->UnSubsSystemAbilityInner(data, reply); in HWTEST_F() 56 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); in HWTEST_F() local 57 EXPECT_TRUE(saMgr != nullptr); in HWTEST_F() 61 int32_t result = saMgr->UnSubsSystemAbilityInner(data, reply); in HWTEST_F() 67 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); in HWTEST_F() local 68 EXPECT_TRUE(saMgr != nullptr); in HWTEST_F() 71 saMgr->abilityMap_[SAID] = saInfo; in HWTEST_F() 76 int32_t result = saMgr in HWTEST_F() 82 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 93 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 105 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 113 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 121 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 132 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 145 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 153 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 165 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 178 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 189 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 202 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 213 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 229 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 242 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 265 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 285 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 335 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 352 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 369 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 383 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 397 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 414 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 432 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 452 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 464 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 476 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local [all...] |
H A D | system_ability_mgr_ondemand_test.cpp | 101 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); in HWTEST_F() local 102 EXPECT_TRUE(saMgr != nullptr); in HWTEST_F() 104 int32_t result = saMgr->StartOnDemandAbility(TEST_EXCEPTION_LOW_SA_ID, isExist); in HWTEST_F() 115 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); in HWTEST_F() local 116 EXPECT_TRUE(saMgr != nullptr); in HWTEST_F() 118 int32_t result = saMgr->StartOnDemandAbility(TEST_EXCEPTION_HIGH_SA_ID, isExist); in HWTEST_F() 129 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); in HWTEST_F() local 130 EXPECT_TRUE(saMgr != nullptr); in HWTEST_F() 132 int32_t result = saMgr->StartOnDemandAbility(DISTRIBUTED_SCHED_TEST_SO_ID, isExist); in HWTEST_F() 143 sptr<SystemAbilityManager> saMgr in HWTEST_F() local 158 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 172 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 185 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 198 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 211 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 225 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 253 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 272 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 287 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 305 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 325 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 339 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 356 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 377 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 394 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 410 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 433 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 449 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 464 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 475 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 492 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 511 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 530 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 562 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 602 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 623 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 641 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 666 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 685 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 704 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 722 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 735 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 761 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 792 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 807 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 825 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 843 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 864 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 881 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 899 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local [all...] |
H A D | system_ability_mgr_new_test.cpp | 72 void SaProfileStore(sptr<SystemAbilityManager>& saMgr, in SaProfileStore() argument 76 if (saMgr->saProfileMap_.count(SAID + loop) > 0) { in SaProfileStore() 77 saProfileMapTmp[SAID + loop] = saMgr->saProfileMap_[SAID + loop]; in SaProfileStore() 83 void SaProfileRecover(sptr<SystemAbilityManager>& saMgr, in SaProfileRecover() argument 88 saMgr->saProfileMap_[SAID + loop] = saProfileMapTmp[SAID + loop]; in SaProfileRecover() 90 saMgr->saProfileMap_.erase(SAID + loop); in SaProfileRecover() 96 void SaProfileExtensionTestPrevSet(sptr<SystemAbilityManager>& saMgr, int32_t maxLoop) in SaProfileExtensionTestPrevSet() argument 108 saMgr->saProfileMap_[SAID + loop] = saProfile; in SaProfileExtensionTestPrevSet() 113 void SaAbilityMapObjTestPrevSet(sptr<SystemAbilityManager>& saMgr, int32_t maxLoop) in SaAbilityMapObjTestPrevSet() argument 122 saMgr in SaAbilityMapObjTestPrevSet() 128 ProcMapObjTestPrevSet(sptr<SystemAbilityManager>& saMgr, int32_t maxLoop) ProcMapObjTestPrevSet() argument 150 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 163 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 180 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 197 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 221 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 234 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 247 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 262 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 280 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 295 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 312 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 328 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 345 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 362 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 381 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 399 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 416 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 432 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 483 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 496 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 511 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 527 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 543 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 558 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 590 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 632 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 647 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 661 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 676 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 691 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 707 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 720 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 735 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 748 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 763 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 780 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 796 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 820 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 854 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 870 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 894 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 932 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 950 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 969 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 988 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1006 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1023 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1045 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1060 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1075 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1113 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local [all...] |
H A D | system_ability_mgr_stub_test.cpp | 60 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); in SetUpTestCase() local 61 EXPECT_TRUE(saMgr != nullptr); in SetUpTestCase() 62 saMgr->abilityStateScheduler_ = std::make_shared<SystemAbilityStateScheduler>(); in SetUpTestCase() 64 saMgr->abilityStateScheduler_->Init(saProfiles); in SetUpTestCase() 85 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); in AddSystemAbilityContext() local 86 EXPECT_TRUE(saMgr != nullptr); in AddSystemAbilityContext() 87 EXPECT_TRUE(saMgr->abilityStateScheduler_ != nullptr); in AddSystemAbilityContext() 88 std::unique_lock<std::shared_mutex> processWriteLock(saMgr->abilityStateScheduler_->processMapLock_); in AddSystemAbilityContext() 89 if (saMgr->abilityStateScheduler_->processContextMap_.count(processName) == 0) { in AddSystemAbilityContext() 97 saMgr in AddSystemAbilityContext() 112 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 124 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 134 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 144 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 154 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 164 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 174 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 185 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 195 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 205 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 215 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 231 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 246 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 261 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 276 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 291 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 306 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 321 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 338 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 357 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 373 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 389 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 407 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 423 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 439 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 457 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 472 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 488 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 504 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 520 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 537 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 552 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 567 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 583 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 599 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 617 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 646 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 663 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 678 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 693 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 710 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 731 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 747 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 764 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 780 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local [all...] |
H A D | system_ability_mgr_load_test.cpp | 120 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); in HWTEST_F() local 121 EXPECT_TRUE(saMgr != nullptr); in HWTEST_F() 125 int32_t result = saMgr->OnRemoteRequest(static_cast<uint32_t>(SamgrInterfaceCode::LOAD_SYSTEM_ABILITY_TRANSACTION), in HWTEST_F() 137 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); in HWTEST_F() local 138 EXPECT_TRUE(saMgr != nullptr); in HWTEST_F() 143 int32_t result = saMgr->OnRemoteRequest(static_cast<uint32_t>(SamgrInterfaceCode::LOAD_SYSTEM_ABILITY_TRANSACTION), in HWTEST_F() 155 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); in HWTEST_F() local 156 EXPECT_TRUE(saMgr != nullptr); in HWTEST_F() 162 int32_t result = saMgr->OnRemoteRequest(static_cast<uint32_t>(SamgrInterfaceCode::LOAD_SYSTEM_ABILITY_TRANSACTION), in HWTEST_F() 174 sptr<SystemAbilityManager> saMgr in HWTEST_F() local 193 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 215 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 230 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 243 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 257 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 272 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 289 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 303 sptr<ISystemAbilityManager> saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 432 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 448 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 464 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 479 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 495 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 510 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 528 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 548 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 566 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 588 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 601 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 620 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 640 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 655 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 671 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 689 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 708 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 728 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 754 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 780 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 806 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 821 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 836 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local [all...] |
H A D | system_ability_mgr_test.cpp | 90 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); in TearDown() local 91 saMgr->CleanFfrt(); in TearDown() 215 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); in HWTEST_F() local 218 saMgr->AddSystemAbility(DISTRIBUTED_SCHED_TEST_TT_ID, testAbility, extraProp); in HWTEST_F() 219 saMgr->abilityStateScheduler_ = nullptr; in HWTEST_F() 220 int32_t result = saMgr->RemoveSystemAbility(DISTRIBUTED_SCHED_TEST_TT_ID); in HWTEST_F() 231 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); in HWTEST_F() local 232 EXPECT_TRUE(saMgr != nullptr); in HWTEST_F() 233 int32_t result = saMgr->RemoveSystemAbility(-1); in HWTEST_F() 349 sptr<SystemAbilityManager> saMgr in HWTEST_F() local 363 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 378 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 403 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 436 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 451 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 467 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 487 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 537 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 568 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 600 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 632 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 665 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 697 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 729 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 763 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 796 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 837 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 879 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 922 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 951 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 978 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1006 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1036 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1066 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1097 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1127 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1158 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1190 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1219 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1246 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1279 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1300 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1318 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1335 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1353 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1371 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1387 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1405 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1420 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1436 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1448 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1467 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1492 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1508 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1532 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1548 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1561 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 1575 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local [all...] |
H A D | system_ability_mgr_subscribe_test.cpp | 60 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); in HWTEST_F() local 63 int32_t ret = saMgr->SubscribeSystemAbility(systemAbilityId, listener); in HWTEST_F() 75 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); in HWTEST_F() local 78 int32_t ret = saMgr->UnSubscribeSystemAbility(systemAbilityId, listener); in HWTEST_F() 89 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); in HWTEST_F() local 90 saMgr->workHandler_ = make_shared<FFRTHandler>("workHandler"); in HWTEST_F() 91 ASSERT_TRUE(saMgr != nullptr); in HWTEST_F() 97 saMgr->SubscribeSystemAbility(TEST_OVERFLOW_SAID, callback); in HWTEST_F() 100 saMgr->UnSubscribeSystemAbility(TEST_OVERFLOW_SAID, callback); in HWTEST_F() 111 sptr<SystemAbilityManager> saMgr in HWTEST_F() local 129 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 145 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 160 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 177 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 192 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 207 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local [all...] |
/foundation/systemabilitymgr/samgr/test/fuzztest/samgrcoverage_fuzzer/ |
H A D | samgrcoverage_fuzzer.cpp | 62 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); in FuzzOndemandLoad() local 63 if (saMgr == nullptr) { in FuzzOndemandLoad() 72 saMgr->AddSamgrToAbilityMap(); in FuzzOndemandLoad() 73 saMgr->OndemandLoad(); in FuzzOndemandLoad() 74 saMgr->DoLoadForPerf(); in FuzzOndemandLoad() 75 saMgr->RemoveWhiteCommonEvent(); in FuzzOndemandLoad() 80 saMgr->ProcessOnDemandEvent(onDemandEvent, saControlList); in FuzzOndemandLoad() 81 saMgr->GetSystemAbilityFromRemote(saId); in FuzzOndemandLoad() 82 saMgr->startingAbilityMap_[saId] = abilityItem; in FuzzOndemandLoad() 83 saMgr in FuzzOndemandLoad() 104 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); FuzzRemoveSystemProcess() local 132 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); FuzzNotifySystemAbilityLoaded() local [all...] |
/foundation/communication/ipc/ipc/test/moduletest/native/common/ |
H A D | ipc_core_module_test.cpp | 105 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() local 106 EXPECT_TRUE(saMgr != NULL); in HWTEST_F() 122 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() local 123 ASSERT_TRUE(saMgr != NULL); in HWTEST_F() 125 sptr<IRemoteObject> object = saMgr->GetSystemAbility(IPC_TEST_SERVICE); in HWTEST_F() 161 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() local 162 ASSERT_TRUE(saMgr != nullptr); in HWTEST_F() 163 ISystemAbilityManager *smp = saMgr.GetRefPtr(); in HWTEST_F() 208 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() local 209 ASSERT_TRUE(saMgr ! in HWTEST_F() 245 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 279 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 315 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 346 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 380 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 421 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 458 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 488 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 518 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 541 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 611 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 643 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 710 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 755 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 808 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 843 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local [all...] |
/foundation/communication/ipc/services/dbinder/test/moduletest/src/ |
H A D | rpc_server_test.cpp | 42 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() local 43 ASSERT_TRUE(saMgr != nullptr); in HWTEST_F() 47 int result = saMgr->AddSystemAbility(RPC_TEST_SERVICE, new RpcFooStub(), saExtra); in HWTEST_F() 53 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() local 54 ASSERT_TRUE(saMgr != nullptr); in HWTEST_F() 56 int result = saMgr->AddSystemAbility(RPC_TEST_SERVICE2, new RpcFooStub()); in HWTEST_F()
|
H A D | rpc_client_test.cpp | 58 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() local 59 ASSERT_FALSE(saMgr == nullptr); in HWTEST_F() 61 sptr<IRemoteObject> object = saMgr->GetSystemAbility(RPC_TEST_SERVICE, g_deviceId); in HWTEST_F() 116 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() local 117 ASSERT_FALSE(saMgr == nullptr); in HWTEST_F() 119 sptr<IRemoteObject> object = saMgr->GetSystemAbility(RPC_TEST_SERVICE2); in HWTEST_F()
|
/foundation/systemabilitymgr/samgr/test/unittest/ |
H A D | system_ability_manager_test.cpp | 366 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance();
in HWTEST_F() local 372 int32_t ret = saMgr->RemoveSystemProcess(nullptr);
in HWTEST_F() 388 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance();
in HWTEST_F() local 395 int32_t ret = saMgr->RemoveSystemProcess(nullptr);
in HWTEST_F() 412 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance();
in HWTEST_F() local 418 sptr<IRemoteObject> object = saMgr->GetSystemAbilityFromRemote(-1);
in HWTEST_F() 434 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance();
in HWTEST_F() local 440 sptr<IRemoteObject> object = saMgr->GetSystemAbilityFromRemote(0);
in HWTEST_F() 456 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance();
in HWTEST_F() local 462 sptr<IRemoteObject> object = saMgr in HWTEST_F() 478 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 513 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 548 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 568 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local 584 sptr<SystemAbilityManager> saMgr = SystemAbilityManager::GetInstance(); HWTEST_F() local [all...] |
/foundation/communication/ipc/ipc/native/test/unittest/common/ |
H A D | ipc_capi_remote_object_unittest.cpp | 179 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() local 180 ASSERT_NE(saMgr, nullptr); in HWTEST_F() 182 sptr<IRemoteObject> object = saMgr->GetSystemAbility(IPC_TEST_SERVICE); in HWTEST_F() 195 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() local 196 ASSERT_NE(saMgr, nullptr); in HWTEST_F() 198 sptr<IRemoteObject> objectServer = saMgr->GetSystemAbility(IPC_TEST_SERVICE); in HWTEST_F() 239 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() local 240 ASSERT_NE(saMgr, nullptr); in HWTEST_F() 242 sptr<IRemoteObject> object = saMgr->GetSystemAbility(IPC_TEST_SERVICE); in HWTEST_F() 275 auto saMgr in HWTEST_F() local 302 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 333 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 356 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local [all...] |
H A D | ipc_hitrace_unittest.cpp | 166 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() local 168 ASSERT_TRUE(saMgr != nullptr); in HWTEST_F() 170 sptr<IRemoteObject> service = saMgr->GetSystemAbility(IPC_TEST_SERVICE); in HWTEST_F() 219 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() local 221 ASSERT_TRUE(saMgr != nullptr); in HWTEST_F() 223 sptr<IRemoteObject> service = saMgr->GetSystemAbility(IPC_TEST_SERVICE); in HWTEST_F() 263 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() local 264 ASSERT_TRUE(saMgr != nullptr); in HWTEST_F() 266 sptr<IRemoteObject> service = saMgr->GetSystemAbility(IPC_TEST_SERVICE); in HWTEST_F() 301 auto saMgr in HWTEST_F() local 348 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 389 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local [all...] |
H A D | ipc_core_unittest.cpp | 412 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() local 413 ASSERT_TRUE(saMgr != nullptr); in HWTEST_F() 415 sptr<IRemoteObject> asObject = saMgr->AsObject(); in HWTEST_F() 461 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() local 462 ASSERT_TRUE(saMgr != nullptr); in HWTEST_F() 465 sptr<IRemoteObject> service = saMgr->GetSystemAbility(IPC_TEST_SERVICE); in HWTEST_F() 493 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() local 494 ASSERT_TRUE(saMgr != nullptr); in HWTEST_F() 496 sptr<IRemoteObject> service = saMgr->GetSystemAbility(IPC_TEST_SERVICE); in HWTEST_F() 523 auto saMgr in HWTEST_F() local 572 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 698 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 768 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 860 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 875 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 890 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local 905 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local [all...] |
/foundation/multimedia/media_library/frameworks/services/media_analysis_extension/src/ |
H A D | media_analysis_proxy.cpp | 38 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SendTransactCmd() local 39 if (saMgr == nullptr) { in SendTransactCmd() 47 remoteObject = saMgr->CheckSystemAbility(SAID); in SendTransactCmd() 53 remoteObject = saMgr->LoadSystemAbility(SAID, minTimeout); in SendTransactCmd()
|
/foundation/ability/idl_tool/test/native/src/ |
H A D | test_service.cpp | 32 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in Instantiate() local 33 if (saMgr == nullptr) { in Instantiate() 39 int result = saMgr->AddSystemAbility(IPC_TEST_SERVICE, newInstance); in Instantiate()
|
H A D | test_client.cpp | 27 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ConnectService() local 28 if (saMgr == nullptr) { in ConnectService() 33 sptr<IRemoteObject> object = saMgr->GetSystemAbility(IPC_TEST_SERVICE); in ConnectService()
|
/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/test/fuzztest/dscreen_sink_proxy/proxyunsubscribelocalhardware_fuzzer/ |
H A D | unsubscribelocalhardware_fuzzer.cpp | 37 sptr<ISystemAbilityManager> saMgr = in UnsubscribeLocalHardwareFuzzTest() local 39 if (saMgr == nullptr) { in UnsubscribeLocalHardwareFuzzTest() 43 sptr<IRemoteObject> remoteObject = saMgr->GetSystemAbility(DISTRIBUTED_HARDWARE_DM_SA_ID); in UnsubscribeLocalHardwareFuzzTest()
|
/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/test/fuzztest/dscreen_sink_proxy/sinkproxydscreennotify_fuzzer/ |
H A D | sinkproxydscreennotify_fuzzer.cpp | 39 sptr<ISystemAbilityManager> saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in DScreenNotifyFuzzTest() local 40 if (saMgr == nullptr) { in DScreenNotifyFuzzTest() 44 sptr<IRemoteObject> remoteObject = saMgr->GetSystemAbility(DISTRIBUTED_HARDWARE_DM_SA_ID); in DScreenNotifyFuzzTest()
|
/foundation/ability/ability_runtime/test/fuzztest/isramconstraineddevice_fuzzer/ |
H A D | isramconstraineddevice_fuzzer.cpp | 37 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in DoSomethingInterestingWithMyAPI() local 38 if (saMgr == nullptr) { in DoSomethingInterestingWithMyAPI() 42 auto abilityObject = saMgr->GetSystemAbility(ABILITY_MGR_SERVICE_ID); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/fuzztest/getappmemorysize_fuzzer/ |
H A D | getappmemorysize_fuzzer.cpp | 38 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in DoSomethingInterestingWithMyAPI() local 39 if (saMgr == nullptr) { in DoSomethingInterestingWithMyAPI() 43 auto abilityObject = saMgr->GetSystemAbility(ABILITY_MGR_SERVICE_ID); in DoSomethingInterestingWithMyAPI()
|
/foundation/distributedhardware/distributed_hardware_fwk/interfaces/inner_kits/src/ipc/ |
H A D | dhfwk_sa_manager.cpp | 50 sptr<ISystemAbilityManager> saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in RegisterAbilityListener() local 51 if (saMgr == nullptr) { in RegisterAbilityListener() 58 int32_t ret = saMgr->SubscribeSystemAbility(DISTRIBUTED_HARDWARE_SA_ID, saListener_); in RegisterAbilityListener() 75 sptr<ISystemAbilityManager> saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetDHFWKProxy() local 76 if (saMgr == nullptr) { in GetDHFWKProxy() 81 sptr<IRemoteObject> remoteObject = saMgr->CheckSystemAbility(DISTRIBUTED_HARDWARE_SA_ID); in GetDHFWKProxy()
|
/foundation/filemanagement/app_file_service/services/backup_sa/src/module_external/ |
H A D | sms_adapter.cpp | 38 auto saMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetStorageManager() local 39 if (saMgr == nullptr) { in GetStorageManager() 43 auto storageObj = saMgr->GetSystemAbility(STORAGE_MANAGER_MANAGER_ID); in GetStorageManager()
|