Home
last modified time | relevance | path

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

/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_subscriber_service.cpp88 sptr<NotificationSubscribeInfo> sptrInfo = new (std::nothrow) NotificationSubscribeInfo(); in SubscribeSelf() local
111 sptrInfo->AddAppName(bundle); in SubscribeSelf()
112 sptrInfo->SetSubscriberUid(uid); in SubscribeSelf()
114 errCode = NotificationSubscriberManager::GetInstance()->AddSubscriber(subscriber, sptrInfo); in SubscribeSelf()
127 …SendSubscribeHiSysEvent(IPCSkeleton::GetCallingPid(), IPCSkeleton::GetCallingUid(), sptrInfo, errC… in SubscribeSelf()
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_notification.cpp620 …sptr<NotificationSubscribeInfo> sptrInfo = new (std::nothrow) NotificationSubscribeInfo(subscribeI… in SubscribeNotification() local
621 if (sptrInfo == nullptr) { in SubscribeNotification()
632 return proxy->Subscribe(subscriberSptr, sptrInfo); in SubscribeNotification()
662 …sptr<NotificationSubscribeInfo> sptrInfo = new (std::nothrow) NotificationSubscribeInfo(subscribeI… in UnSubscribeNotification() local
663 if (sptrInfo == nullptr) { in UnSubscribeNotification()
673 return proxy->Unsubscribe(subscriberSptr, sptrInfo); in UnSubscribeNotification()