Home
last modified time | relevance | path

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

/base/security/asset/services/os_dependency/src/
H A Dsystem_ability_wrapper.cpp76 OHOS::sptr<SystemAbilityHandler> abilityHandler; member
87 abilityHandler = new (std::nothrow) SystemAbilityHandler(eventCallBack); in SubscribeSystemAbility()
88 if (abilityHandler == nullptr) { in SubscribeSystemAbility()
93 int32_t ret = samgrProxy->SubscribeSystemAbility(OHOS::COMMON_EVENT_SERVICE_ID, abilityHandler); in SubscribeSystemAbility()
104 if (samgrProxy == nullptr || abilityHandler == nullptr) { in UnSubscribeSystemAbility()
108 if (samgrProxy->UnSubscribeSystemAbility(OHOS::COMMON_EVENT_SERVICE_ID, abilityHandler) != OHOS::ERR_OK || in UnSubscribeSystemAbility()

Completed in 1 milliseconds