Home
last modified time | relevance | path

Searched refs:NotificationSortingMap (Results 1 – 25 of 63) sorted by relevance

123

/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_sorting_map.cpp22 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 Dnotification_subscriber.cpp146 const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notificationMap) in OnConsumed()
159 sharedNotification, std::make_shared<NotificationSortingMap>(*notificationMap)); in OnConsumed()
163 const sptr<NotificationSortingMap> &notificationMap) in OnConsumedList()
183 std::make_shared<NotificationSortingMap>(), deleteReason); in OnCanceled()
186 std::make_shared<NotificationSortingMap>(*notificationMap), deleteReason); in OnCanceled()
191 const sptr<NotificationSortingMap> &notificationMap, 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> &notificationMap, int32_t deleteReason) in OnCanceledList()
225 void NotificationSubscriber::SubscriberImpl::OnUpdated(const sptr<NotificationSortingMap> &notifica… in OnUpdated()
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_subscriber_listener.cpp54 const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notificationMap) in OnConsumed()
71 sharedNotification, std::make_shared<NotificationSortingMap>(*notificationMap)); in OnConsumed()
75 const sptr<NotificationSortingMap> &notificationMap) in OnConsumedList()
94 std::make_shared<NotificationSortingMap>(), deleteReason); in OnCanceled()
97 std::make_shared<NotificationSortingMap>(*notificationMap), deleteReason); in OnCanceled()
102 const sptr<NotificationSortingMap> &notificationMap, 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> &notificationMap, int32_t deleteReason) in OnCanceledList()
140 void SubscriberListener::OnUpdated(const sptr<NotificationSortingMap> &notificationMap) in OnUpdated()
[all …]
H A Dans_subscriber_stub.cpp120 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> &notificationMap) in OnConsumedList()
[all …]
H A Dans_subscriber_proxy.cpp91 const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notificationMap) in OnConsumed()
137 const sptr<NotificationSortingMap> &notificationMap) in OnConsumedList()
181 …const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notificationMap, int32… in OnCanceled()
232 const sptr<NotificationSortingMap> &notificationMap, int32_t deleteReason) in OnCanceledList()
282 void AnsSubscriberProxy::OnUpdated(const sptr<NotificationSortingMap> &notificationMap) in OnUpdated()
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_subscriber.h42 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> &notification, const sptr<NotificationSortingMap> &notificationMap) overr…
152 const sptr<NotificationSortingMap> &notificationMap) override;
154 …void OnCanceled(const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notifi…
158 const sptr<NotificationSortingMap> &notificationMap, int32_t deleteReason) override;
161 const sptr<NotificationSortingMap> &notificationMap, int32_t deleteReason);
163 void OnUpdated(const sptr<NotificationSortingMap> &notificationMap) override;
H A Dnotification_sorting_map.h24 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 Dnotification_subscriber_manager.h70 …void NotifyConsumed(const sptr<Notification> &notification, const sptr<NotificationSortingMap> &no…
73 …const sptr<NotificationSortingMap> &notificationMap, const std::shared_ptr<SubscriberRecord> &reco…
83 const sptr<NotificationSortingMap> &notificationMap, int32_t deleteReason);
86 const sptr<NotificationSortingMap> &notificationMap, int32_t deleteReason);
92 void NotifyUpdated(const sptr<NotificationSortingMap> &notificationMap);
156 … const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notificationMap);
158 …const sptr<NotificationSortingMap> &notificationMap, const std::shared_ptr<SubscriberRecord> &reco…
160 const sptr<NotificationSortingMap> &notificationMap, int32_t deleteReason);
162 const sptr<NotificationSortingMap> &notificationMap, int32_t deleteReason);
163 void NotifyUpdatedInner(const sptr<NotificationSortingMap> &notificationMap);
H A Dreminder_event_manager.h79 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 Dnotification_subscriber_manager_test.cpp51 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 Dans_subscriber_listener.h38 …const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notificationMap) overr…
41 const sptr<NotificationSortingMap> &notificationMap) override;
43 …void OnCanceled(const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notifi…
47 const sptr<NotificationSortingMap> &notificationMap, int32_t deleteReason) override;
50 const sptr<NotificationSortingMap> &notificationMap, int32_t deleteReason);
52 void OnUpdated(const sptr<NotificationSortingMap> &notificationMap) override;
H A Dans_subscriber_interface.h57 … const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notificationMap) = 0;
60 …const std::vector<sptr<Notification>> &notifications, const sptr<NotificationSortingMap> &notifica…
69 …id OnCanceled(const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notifica…
73 const sptr<NotificationSortingMap> &notificationMap, int32_t deleteReason) = 0;
80 virtual void OnUpdated(const sptr<NotificationSortingMap> &notificationMap) = 0;
H A Dans_subscriber_proxy.h49 …const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notificationMap) overr…
52 const sptr<NotificationSortingMap> &notificationMap) override;
60 …void OnCanceled(const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notifi…
64 const sptr<NotificationSortingMap> &notificationMap, int32_t deleteReason) override;
71 void OnUpdated(const sptr<NotificationSortingMap> &notificationMap) override;
H A Dans_subscriber_stub.h59 …const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notificationMap) overr…
62 const sptr<NotificationSortingMap> &notificationMap) override;
71 …void OnCanceled(const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notifi…
75 const sptr<NotificationSortingMap> &notificationMap, int32_t deleteReason) override;
82 void OnUpdated(const sptr<NotificationSortingMap> &notificationMap) override;
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_sorting_map_test.cpp45 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 Dmock_ans_subscriber.h38 …const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notificationMap) overr… in OnConsumed()
41 const sptr<NotificationSortingMap> &notificationMap));
43 …void OnCanceled(const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notifi… in OnCanceled()
47 const sptr<NotificationSortingMap> &notificationMap, int32_t deleteReason) override {}; in OnCanceledList()
49 void OnUpdated(const sptr<NotificationSortingMap> &notificationMap) override {}; in OnUpdated()
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/continuous_task/include/
H A Dtask_notification_subscriber.h32 …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 Dans_subscriber_proxy_unit_test.cpp167 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 Dans_subscriber_stub_unit_test.cpp219 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 Dtask_notification_subscriber.cpp48 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 Dans_module_test.cpp54 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 Dans_subscriber_proxy_branch_test.cpp72 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 Dsubscribe.h38 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 Dnotification_subscriber_manager.cpp157 const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notificationMap) in NotifyConsumed()
171 …const sptr<NotificationSortingMap> &notificationMap, const std::shared_ptr<SubscriberRecord> &reco… in BatchNotifyConsumed()
192 …const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notificationMap, int32… in NotifyCanceled()
212 const sptr<NotificationSortingMap> &notificationMap, int32_t deleteReason) in BatchNotifyCanceled()
230 void NotificationSubscriberManager::NotifyUpdated(const sptr<NotificationSortingMap> &notificationM… in NotifyUpdated()
429 const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notificationMap) in NotifyConsumedInner()
471 …const sptr<NotificationSortingMap> &notificationMap, const std::shared_ptr<SubscriberRecord> &reco… in BatchNotifyConsumedInner()
499 …const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notificationMap, int32… in NotifyCanceledInner()
553 const sptr<NotificationSortingMap> &notificationMap, int32_t deleteReason) in BatchNotifyCanceledInner()
611 void NotificationSubscriberManager::NotifyUpdatedInner(const sptr<NotificationSortingMap> &notifica… in NotifyUpdatedInner()
/ohos5.0/docs/en/application-dev/reference/apis-notification-kit/
H A Djs-apis-inner-notification-notificationSortingMap-sys.md1 # NotificationSortingMap (System API)
3 The **NotificationSortingMap** module provides APIs for defining the sorting information of active …

123