Home
last modified time | relevance | path

Searched refs:listenerSaId (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/systemabilitymgr/safwk/services/safwk/src/
H A Dlocal_ability_manager.cpp275 if (!CheckInputSysAbilityId(systemAbilityId) || !CheckInputSysAbilityId(listenerSaId)) { in AddSystemAbilityListener()
277 systemAbilityId, listenerSaId); in AddSystemAbilityListener()
286 std::pair<int32_t, int32_t> key = std::make_pair(systemAbilityId, listenerSaId); in AddSystemAbilityListener()
295 sptr<ISystemAbilityStatusChange> listener = new SystemAbilityListener(listenerSaId); in AddSystemAbilityListener()
311 if (!CheckInputSysAbilityId(systemAbilityId) || !CheckInputSysAbilityId(listenerSaId)) { in RemoveSystemAbilityListener()
313 systemAbilityId, listenerSaId); in RemoveSystemAbilityListener()
317 std::pair<int32_t, int32_t> key = std::make_pair(systemAbilityId, listenerSaId); in RemoveSystemAbilityListener()
352 auto ability = GetAbility(listenerSaId); in NotifyAbilityListener()
354 HILOGE(TAG, "failed to get listener SA:%{public}d", listenerSaId); in NotifyAbilityListener()
360 HILOGD(TAG, "OnAddSystemAbility, SA:%{public}d", listenerSaId); in NotifyAbilityListener()
[all …]
/ohos5.0/foundation/systemabilitymgr/safwk/services/safwk/include/
H A Dlocal_ability_manager.h47 bool AddSystemAbilityListener(int32_t systemAbilityId, int32_t listenerSaId);
48 bool RemoveSystemAbilityListener(int32_t systemAbilityId, int32_t listenerSaId);
83 void NotifyAbilityListener(int32_t systemAbilityId, int32_t listenerSaId,
89 SystemAbilityListener(int32_t listenerSaId) : listenerSaId_(listenerSaId) {} in SystemAbilityListener() argument