Home
last modified time | relevance | path

Searched refs:g_abilities (Results 1 - 3 of 3) sorted by relevance

/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dsystem_ability_helper.cpp26 std::map<int32_t, sptr<IRemoteObject>> g_abilities; member
32 auto iter = g_abilities.find(systemAbilityId); in GetSystemAbility()
33 if (iter != g_abilities.end()) { in GetSystemAbility()
41 if (g_abilities.erase(systemAbilityId) > 0) { in AddSystemAbility()
45 g_abilities.emplace(systemAbilityId, systemAbility); in AddSystemAbility()
53 if (g_abilities.erase(systemAbilityId) > 0) { in RemoveSystemAbility()
73 if (g_abilities.erase(systemAbilityId) > 0) { in UnloadSystemAbility()
/foundation/ability/ability_runtime/test/moduletest/mock/src/appmgr/
H A Dsystem_ability_helper.cpp26 static std::map<int32_t, sptr<IRemoteObject>> g_abilities; member
31 auto iter = g_abilities.find(systemAbilityId); in GetSystemAbility()
32 if (iter != g_abilities.end()) { in GetSystemAbility()
43 if (g_abilities.erase(systemAbilityId) > 0) { in AddSystemAbility()
47 g_abilities.emplace(systemAbilityId, systemAbility); in AddSystemAbility()
55 if (g_abilities.erase(systemAbilityId) > 0) { in RemoveSystemAbility()
/foundation/bundlemanager/bundle_framework/services/test/mock/src/
H A Dsystem_ability_helper.cpp25 static std::map<int32_t, sptr<IRemoteObject>> g_abilities; member
30 auto iter = g_abilities.find(systemAbilityId); in GetSystemAbility()
31 if (iter != g_abilities.end()) { in GetSystemAbility()
39 if (g_abilities.erase(systemAbilityId) > 0) { in AddSystemAbility()
43 g_abilities.emplace(systemAbilityId, systemAbility); in AddSystemAbility()
51 if (g_abilities.erase(systemAbilityId) > 0) { in RemoveSystemAbility()

Completed in 2 milliseconds