/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_sorting_map.cpp | 22 NotificationSortingMap::NotificationSortingMap() in NotificationSortingMap() function in OHOS::Notification::NotificationSortingMap 25 NotificationSortingMap::~NotificationSortingMap() in ~NotificationSortingMap() 28 NotificationSortingMap::NotificationSortingMap(const std::vector<NotificationSorting> &sortingList) in NotificationSortingMap() function in OHOS::Notification::NotificationSortingMap 36 void NotificationSortingMap::SetKey(const std::string &key) in SetKey() 44 bool NotificationSortingMap::GetNotificationSorting(const std::string &key, NotificationSorting &so… in GetNotificationSorting() 56 void NotificationSortingMap::SetNotificationSorting(const std::vector<NotificationSorting> &sorting… in SetNotificationSorting() 64 bool NotificationSortingMap::Marshalling(Parcel &parcel) const in Marshalling() 87 NotificationSortingMap *NotificationSortingMap::Unmarshalling(Parcel &parcel) in Unmarshalling() 105 NotificationSortingMap *sortingMap = new (std::nothrow) NotificationSortingMap(sortings); in Unmarshalling() 109 std::string NotificationSortingMap::Dump() const in Dump()
|
H A D | notification_subscriber.cpp | 146 const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ificationMap) in OnConsumed() 159 sharedNotification, std::make_shared<NotificationSortingMap>(*notificationMap)); in OnConsumed() 163 const sptr<NotificationSortingMap> ¬ificationMap) in OnConsumedList() 183 std::make_shared<NotificationSortingMap>(), deleteReason); in OnCanceled() 186 std::make_shared<NotificationSortingMap>(*notificationMap), deleteReason); in OnCanceled() 191 const sptr<NotificationSortingMap> ¬ificationMap, int32_t deleteReason) in OnBatchCanceled() 202 std::make_shared<NotificationSortingMap>(), deleteReason); in OnBatchCanceled() 205 std::make_shared<NotificationSortingMap>(*notificationMap), deleteReason); in OnBatchCanceled() 210 const sptr<NotificationSortingMap> ¬ificationMap, int32_t deleteReason) in OnCanceledList() 225 void NotificationSubscriber::SubscriberImpl::OnUpdated(const sptr<NotificationSortingMap> ¬ifica… in OnUpdated() [all …]
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_subscriber_listener.cpp | 54 const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ificationMap) in OnConsumed() 71 sharedNotification, std::make_shared<NotificationSortingMap>(*notificationMap)); in OnConsumed() 75 const sptr<NotificationSortingMap> ¬ificationMap) in OnConsumedList() 94 std::make_shared<NotificationSortingMap>(), deleteReason); in OnCanceled() 97 std::make_shared<NotificationSortingMap>(*notificationMap), deleteReason); in OnCanceled() 102 const sptr<NotificationSortingMap> ¬ificationMap, int32_t deleteReason) in OnBatchCanceled() 115 std::make_shared<NotificationSortingMap>(), deleteReason); in OnBatchCanceled() 118 std::make_shared<NotificationSortingMap>(*notificationMap), deleteReason); in OnBatchCanceled() 123 const sptr<NotificationSortingMap> ¬ificationMap, int32_t deleteReason) in OnCanceledList() 140 void SubscriberListener::OnUpdated(const sptr<NotificationSortingMap> ¬ificationMap) in OnUpdated() [all …]
|
H A D | ans_subscriber_stub.cpp | 120 sptr<NotificationSortingMap> notificationMap = nullptr; in HandleOnConsumedMap() 122 notificationMap = data.ReadParcelable<NotificationSortingMap>(); in HandleOnConsumedMap() 149 sptr<NotificationSortingMap> notificationMap = nullptr; in HandleOnConsumedListMap() 151 notificationMap = data.ReadParcelable<NotificationSortingMap>(); in HandleOnConsumedListMap() 176 sptr<NotificationSortingMap> notificationMap = nullptr; in HandleOnCanceledMap() 178 notificationMap = data.ReadParcelable<NotificationSortingMap>(); in HandleOnCanceledMap() 210 sptr<NotificationSortingMap> notificationMap = nullptr; in HandleOnCanceledListMap() 212 notificationMap = data.ReadParcelable<NotificationSortingMap>(); in HandleOnCanceledListMap() 255 sptr<NotificationSortingMap> notificationMap = data.ReadParcelable<NotificationSortingMap>(); in HandleOnUpdated() 318 const sptr<NotificationSortingMap> ¬ificationMap) in OnConsumedList() [all …]
|
H A D | ans_subscriber_proxy.cpp | 91 const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ificationMap) in OnConsumed() 137 const sptr<NotificationSortingMap> ¬ificationMap) in OnConsumedList() 181 …const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ificationMap, int32… in OnCanceled() 232 const sptr<NotificationSortingMap> ¬ificationMap, int32_t deleteReason) in OnCanceledList() 282 void AnsSubscriberProxy::OnUpdated(const sptr<NotificationSortingMap> ¬ificationMap) in OnUpdated()
|
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_subscriber.h | 42 const std::shared_ptr<NotificationSortingMap> &sortingMap, int32_t deleteReason) = 0; 57 …const std::shared_ptr<Notification> &request, const std::shared_ptr<NotificationSortingMap> &sorti… 69 virtual void OnUpdate(const std::shared_ptr<NotificationSortingMap> &sortingMap) = 0; 110 const std::shared_ptr<NotificationSortingMap> &sortingMap, int32_t deleteReason) = 0; 149 …const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ificationMap) overr… 152 const sptr<NotificationSortingMap> ¬ificationMap) override; 154 …void OnCanceled(const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ifi… 158 const sptr<NotificationSortingMap> ¬ificationMap, int32_t deleteReason) override; 161 const sptr<NotificationSortingMap> ¬ificationMap, int32_t deleteReason); 163 void OnUpdated(const sptr<NotificationSortingMap> ¬ificationMap) override;
|
H A D | notification_sorting_map.h | 24 class NotificationSortingMap final : public Parcelable { 26 NotificationSortingMap(); 28 ~NotificationSortingMap(); 35 NotificationSortingMap(const std::vector<NotificationSorting> &sortingList); 70 static NotificationSortingMap *Unmarshalling(Parcel &parcel);
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/ |
H A D | notification_subscriber_manager.h | 70 …void NotifyConsumed(const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> &no… 73 …const sptr<NotificationSortingMap> ¬ificationMap, const std::shared_ptr<SubscriberRecord> &reco… 83 const sptr<NotificationSortingMap> ¬ificationMap, int32_t deleteReason); 86 const sptr<NotificationSortingMap> ¬ificationMap, int32_t deleteReason); 92 void NotifyUpdated(const sptr<NotificationSortingMap> ¬ificationMap); 156 … const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ificationMap); 158 …const sptr<NotificationSortingMap> ¬ificationMap, const std::shared_ptr<SubscriberRecord> &reco… 160 const sptr<NotificationSortingMap> ¬ificationMap, int32_t deleteReason); 162 const sptr<NotificationSortingMap> ¬ificationMap, int32_t deleteReason); 163 void NotifyUpdatedInner(const sptr<NotificationSortingMap> ¬ificationMap);
|
H A D | reminder_event_manager.h | 79 const std::shared_ptr<NotificationSortingMap> &sortingMap, int deleteReason) override; 81 const std::shared_ptr<NotificationSortingMap> &sortingMap) override; 82 void OnUpdate(const std::shared_ptr<NotificationSortingMap> &sortingMap) override; 91 const std::shared_ptr<NotificationSortingMap> &sortingMap, int32_t deleteReason) override;
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | notification_subscriber_manager_test.cpp | 51 const std::shared_ptr<NotificationSortingMap> &sortingMap, int deleteReason) override in OnCanceled() 54 const std::shared_ptr<NotificationSortingMap> &sortingMap) override in OnConsumed() 56 void OnUpdate(const std::shared_ptr<NotificationSortingMap> &sortingMap) override in OnUpdate() 65 …&requestList, const std::shared_ptr<NotificationSortingMap> &sortingMap, int32_t deleteReason) ove… in OnBatchCanceled() 113 sptr<NotificationSortingMap> map = new NotificationSortingMap(sortingList); 151 sptr<NotificationSortingMap> notificationMap = new NotificationSortingMap(sortingList); 171 sptr<NotificationSortingMap> notificationMap = new NotificationSortingMap(sortingList); 244 sptr<NotificationSortingMap> notificationMap = new (std::nothrow) NotificationSortingMap(); 284 sptr<NotificationSortingMap> notificationMap = new (std::nothrow) NotificationSortingMap(); 303 sptr<NotificationSortingMap> notificationMap = new NotificationSortingMap();
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/include/ |
H A D | ans_subscriber_listener.h | 38 …const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ificationMap) overr… 41 const sptr<NotificationSortingMap> ¬ificationMap) override; 43 …void OnCanceled(const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ifi… 47 const sptr<NotificationSortingMap> ¬ificationMap, int32_t deleteReason) override; 50 const sptr<NotificationSortingMap> ¬ificationMap, int32_t deleteReason); 52 void OnUpdated(const sptr<NotificationSortingMap> ¬ificationMap) override;
|
H A D | ans_subscriber_interface.h | 57 … const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ificationMap) = 0; 60 …const std::vector<sptr<Notification>> ¬ifications, const sptr<NotificationSortingMap> ¬ifica… 69 …id OnCanceled(const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ifica… 73 const sptr<NotificationSortingMap> ¬ificationMap, int32_t deleteReason) = 0; 80 virtual void OnUpdated(const sptr<NotificationSortingMap> ¬ificationMap) = 0;
|
H A D | ans_subscriber_proxy.h | 49 …const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ificationMap) overr… 52 const sptr<NotificationSortingMap> ¬ificationMap) override; 60 …void OnCanceled(const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ifi… 64 const sptr<NotificationSortingMap> ¬ificationMap, int32_t deleteReason) override; 71 void OnUpdated(const sptr<NotificationSortingMap> ¬ificationMap) override;
|
H A D | ans_subscriber_stub.h | 59 …const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ificationMap) overr… 62 const sptr<NotificationSortingMap> ¬ificationMap) override; 71 …void OnCanceled(const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ifi… 75 const sptr<NotificationSortingMap> ¬ificationMap, int32_t deleteReason) override; 82 void OnUpdated(const sptr<NotificationSortingMap> ¬ificationMap) override;
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_sorting_map_test.cpp | 45 auto rrc = std::make_shared<NotificationSortingMap>(sortingList); 61 auto rrc = std::make_shared<NotificationSortingMap>(sortingList); 76 std::shared_ptr<NotificationSortingMap> result = 77 std::make_shared<NotificationSortingMap>(sortingList); 115 auto sortingMap = std::make_shared<NotificationSortingMap>(sortingList); 134 auto rrc = std::make_shared<NotificationSortingMap>(sortingList); 151 auto rrc = std::make_shared<NotificationSortingMap>(sortingList); 166 auto rrc = std::make_shared<NotificationSortingMap>(sortingList); 183 auto rrc = std::make_shared<NotificationSortingMap>(sortingList);
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/mock/include/ |
H A D | mock_ans_subscriber.h | 38 …const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ificationMap) overr… in OnConsumed() 41 const sptr<NotificationSortingMap> ¬ificationMap)); 43 …void OnCanceled(const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ifi… in OnCanceled() 47 const sptr<NotificationSortingMap> ¬ificationMap, int32_t deleteReason) override {}; in OnCanceledList() 49 void OnUpdated(const sptr<NotificationSortingMap> ¬ificationMap) override {}; in OnUpdated()
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/continuous_task/include/ |
H A D | task_notification_subscriber.h | 32 …const std::shared_ptr<Notification::NotificationSortingMap> &sortingMap, int deleteReason) overrid… 34 const std::shared_ptr<Notification::NotificationSortingMap> &sortingMap) override; 35 void OnUpdate(const std::shared_ptr<Notification::NotificationSortingMap> &sortingMap) override; 44 …const std::shared_ptr<Notification::NotificationSortingMap> &sortingMap, int32_t deleteReason) ove…
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_subscriber_proxy_test/ |
H A D | ans_subscriber_proxy_unit_test.cpp | 167 sptr<NotificationSortingMap> notificationMap = new (std::nothrow) NotificationSortingMap(); 193 sptr<NotificationSortingMap> notificationMap = new (std::nothrow) NotificationSortingMap(); 213 sptr<NotificationSortingMap> notificationMap = new (std::nothrow) NotificationSortingMap(); 298 sptr<NotificationSortingMap> notificationMap = new (std::nothrow) NotificationSortingMap(); 323 sptr<NotificationSortingMap> notificationMap = new (std::nothrow) NotificationSortingMap(); 347 sptr<NotificationSortingMap> notificationMap = new (std::nothrow) NotificationSortingMap(); 373 sptr<NotificationSortingMap> notificationMap = new (std::nothrow) NotificationSortingMap(); 394 sptr<NotificationSortingMap> notificationMap = new (std::nothrow) NotificationSortingMap(); 439 sptr<NotificationSortingMap> notificationMap = new (std::nothrow) NotificationSortingMap(); 459 sptr<NotificationSortingMap> notificationMap = new (std::nothrow) NotificationSortingMap();
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_subscriber_stub_test/ |
H A D | ans_subscriber_stub_unit_test.cpp | 219 sptr<NotificationSortingMap> notificationSortingMap = new NotificationSortingMap(); 316 sptr<NotificationSortingMap> notificationSortingMap = new NotificationSortingMap(); 387 sptr<NotificationSortingMap> notificationSortingMap = new NotificationSortingMap(); 408 sptr<NotificationSortingMap> notificationSortingMap = new NotificationSortingMap(); 441 sptr<NotificationSortingMap> notificationMap = new NotificationSortingMap();
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/continuous_task/src/ |
H A D | task_notification_subscriber.cpp | 48 const std::shared_ptr<Notification::NotificationSortingMap> &sortingMap, int deleteReason) in OnCanceled() 92 const std::shared_ptr<Notification::NotificationSortingMap> &sortingMap) {} in OnConsumed() 95 const std::shared_ptr<Notification::NotificationSortingMap> &sortingMap) {} in OnUpdate() 112 …&requestList, const std::shared_ptr<Notification::NotificationSortingMap> &sortingMap, int32_t del… in OnBatchCanceled()
|
/ohos5.0/base/notification/distributed_notification_service/services/test/moduletest/ |
H A D | ans_module_test.cpp | 54 void OnUpdate(const std::shared_ptr<NotificationSortingMap> &sortingMap) override in OnUpdate() 69 const std::shared_ptr<NotificationSortingMap> &sortingMap) override in OnConsumed() 719 const std::shared_ptr<NotificationSortingMap>) { in __anonfcca8a570d02() argument 765 const std::shared_ptr<NotificationSortingMap>) { in __anonfcca8a570e02() argument 1459 const std::shared_ptr<NotificationSortingMap> 1504 const std::shared_ptr<NotificationSortingMap> 1542 const std::shared_ptr<NotificationSortingMap> 1580 const std::shared_ptr<NotificationSortingMap> 2228 const std::shared_ptr<NotificationSortingMap> 2413 const std::shared_ptr<NotificationSortingMap> [all …]
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_subscriber_proxy_branch_test/ |
H A D | ans_subscriber_proxy_branch_test.cpp | 72 sptr<NotificationSortingMap> notificationMap = nullptr; 96 sptr<NotificationSortingMap> notificationMap = nullptr; 120 sptr<NotificationSortingMap> notificationMap = new (std::nothrow) NotificationSortingMap();
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
H A D | subscribe.h | 38 const std::shared_ptr<NotificationSortingMap> &sortingMap, int32_t deleteReason) override; 48 const std::shared_ptr<NotificationSortingMap> &sortingMap) override; 55 virtual void OnUpdate(const std::shared_ptr<NotificationSortingMap> &sortingMap) override; 117 const std::shared_ptr<NotificationSortingMap> &sortingMap, int32_t deleteReason) override;
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/ |
H A D | notification_subscriber_manager.cpp | 157 const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ificationMap) in NotifyConsumed() 171 …const sptr<NotificationSortingMap> ¬ificationMap, const std::shared_ptr<SubscriberRecord> &reco… in BatchNotifyConsumed() 192 …const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ificationMap, int32… in NotifyCanceled() 212 const sptr<NotificationSortingMap> ¬ificationMap, int32_t deleteReason) in BatchNotifyCanceled() 230 void NotificationSubscriberManager::NotifyUpdated(const sptr<NotificationSortingMap> ¬ificationM… in NotifyUpdated() 429 const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ificationMap) in NotifyConsumedInner() 471 …const sptr<NotificationSortingMap> ¬ificationMap, const std::shared_ptr<SubscriberRecord> &reco… in BatchNotifyConsumedInner() 499 …const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ificationMap, int32… in NotifyCanceledInner() 553 const sptr<NotificationSortingMap> ¬ificationMap, int32_t deleteReason) in BatchNotifyCanceledInner() 611 void NotificationSubscriberManager::NotifyUpdatedInner(const sptr<NotificationSortingMap> ¬ifica… in NotifyUpdatedInner()
|
/ohos5.0/docs/en/application-dev/reference/apis-notification-kit/ |
H A D | js-apis-inner-notification-notificationSortingMap-sys.md | 1 # NotificationSortingMap (System API) 3 The **NotificationSortingMap** module provides APIs for defining the sorting information of active …
|