Searched refs:abilityHandler (Results 1 – 1 of 1) sorted by relevance
76 OHOS::sptr<SystemAbilityHandler> abilityHandler; variable87 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::E… in UnSubscribeSystemAbility()