Home
last modified time | relevance | path

Searched refs:pushCallBack_ (Results 1 – 3 of 3) sorted by relevance

/base/notification/distributed_notification_service/services/ans/src/
Dadvanced_notification_service.cpp117 sptr<IPushCallBack> AdvancedNotificationService::pushCallBack_; member in OHOS::Notification::AdvancedNotificationService
4529 if ((pushCallBack_ == nullptr) || (pushCallBack_->AsObject() == nullptr)) { in ResetPushCallbackProxy()
4533 pushCallBack_->AsObject()->RemoveDeathRecipient(pushRecipient_); in ResetPushCallbackProxy()
4534 pushCallBack_ = nullptr; in ResetPushCallbackProxy()
4554 if (pushCallBack_) { in RegisterPushCallback()
4571 pushCallBack_ = iface_cast<IPushCallBack>(pushCallback); in RegisterPushCallback()
4593 if (pushCallBack_ == nullptr) { in UnregisterPushCallback()
4598 pushCallBack_ = nullptr; in UnregisterPushCallback()
4621 if (pushCallBack_) { in PushCheck()
4626 if (!(pushCallBack_->OnCheckNotification(jsonObject.dump()))) { in PushCheck()
/base/notification/distributed_notification_service/services/ans/test/unittest/
Dadvanced_notification_service_test.cpp3294 advancedNotificationService_->pushCallBack_ = nullptr;
3300 advancedNotificationService_->pushCallBack_ = nullptr;
3338 advancedNotificationService_->pushCallBack_ = iface_cast<IPushCallBack>(pushCallback);
3341 advancedNotificationService_->pushCallBack_ = nullptr;
3359 advancedNotificationService_->pushCallBack_ = iface_cast<IPushCallBack>(pushCallback);
3392 advancedNotificationService_->pushCallBack_ = nullptr;
3609 advancedNotificationService_->pushCallBack_ = nullptr;
3627 advancedNotificationService_->pushCallBack_ = iface_cast<IPushCallBack>(pushCallback);
/base/notification/distributed_notification_service/services/ans/include/
Dadvanced_notification_service.h843 static sptr<IPushCallBack> pushCallBack_; variable