Home
last modified time | relevance | path

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

/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_service.cpp105 …p<NotificationConstant::SlotType, sptr<IPushCallBack>> AdvancedNotificationService::pushCallBacks_; member in OHOS::Notification::AdvancedNotificationService
1864 if (pushCallBacks_.empty()) { in ResetPushCallbackProxy()
1868 for (auto it = pushCallBacks_.begin(); it != pushCallBacks_.end(); it++) { in ResetPushCallbackProxy()
1875 pushCallBacks_.clear(); in ResetPushCallbackProxy()
1918 if (pushCallBacks_.find(slotType) != pushCallBacks_.end()) { in RegisterPushCallback()
1925 pushCallBacks_.insert_or_assign(slotType, pushCallBack); in RegisterPushCallback()
1954 if (pushCallBacks_.empty()) { in UnregisterPushCallback()
1961 pushCallBacks_.clear(); in UnregisterPushCallback()
1991 if (pushCallBacks_.find(slotType) == pushCallBacks_.end()) { in IsNeedPushCheck()
2037 if (pushCallBacks_.find(request->GetSlotType()) == pushCallBacks_.end()) { in PushCheck()
[all …]
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_service_test.cpp2333 …advancedNotificationService_->pushCallBacks_.insert_or_assign(checkRequest->GetSlotType(), pushCal…
2360 …advancedNotificationService_->pushCallBacks_.insert_or_assign(checkRequest->GetSlotType(), pushCal…
2544 ASSERT_EQ(advancedNotificationService_->pushCallBacks_.empty(), true);
2566 ASSERT_TRUE(advancedNotificationService_->pushCallBacks_.empty());
3024 advancedNotificationService_->pushCallBacks_.clear();
3029 advancedNotificationService_->pushCallBacks_.insert_or_assign(
3038 advancedNotificationService_->pushCallBacks_.clear();
3122 advancedNotificationService_->pushCallBacks_.insert_or_assign(
3131 advancedNotificationService_->pushCallBacks_.clear();
3152 advancedNotificationService_->pushCallBacks_.insert_or_assign(
[all …]
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/
H A Dadvanced_notification_service.h1449 static std::map<NotificationConstant::SlotType, sptr<IPushCallBack>> pushCallBacks_; variable