/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/services/test/moduletest/ |
H A D | ans_module_test.cpp | 65 canceledCb_(request, sortingMap, deleteReason); in OnCanceled() 69 const std::shared_ptr<NotificationSortingMap> &sortingMap) override in OnConsumed() argument 72 consumedCb_(request, sortingMap); in OnConsumed() 223 std::vector<std::string> sortingKey = sortingMap->GetKey(); in __anonfcca8a570202() 317 std::vector<std::string> sortingKey = sortingMap->GetKey(); in __anonfcca8a570402() 1460 sortingMap) { passed = true; }; in __anonfcca8a571c02() argument 1505 sortingMap) { passed = true; }; in __anonfcca8a571d02() argument 1543 sortingMap) { passed = true; }; in __anonfcca8a571e02() argument 2229 sortingMap) { ret++; }; in __anonfcca8a572b02() argument 2414 sortingMap) { ret++; }; in __anonfcca8a573002() argument [all …]
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | subscribe.cpp | 83 if (sortingMap == nullptr) { in SetSubscribeCallbackData() 200 dataWorkerData->sortingMap, in ThreadSafeOnCancel() 228 if (sortingMap == nullptr) { in OnCanceled() 242 dataWorker->sortingMap = sortingMap; in OnCanceled() 306 if (sortingMap == nullptr) { in OnBatchCanceled() 324 dataWorker->sortingMap = sortingMap; in OnBatchCanceled() 364 dataWorkerData->sortingMap, in ThreadSafeOnConsumed() 397 if (sortingMap == nullptr) { in OnConsumed() 414 dataWorker->sortingMap = sortingMap; in OnConsumed() 460 if (sortingMap == nullptr) { in OnUpdate() [all …]
|
H A D | common.cpp | 43 …const napi_env &env, const std::shared_ptr<NotificationSortingMap> &sortingMap, napi_value &result) in SetNotificationSortingMap() argument 46 if (sortingMap == nullptr) { in SetNotificationSortingMap() 50 if (sortingMap->GetKey().size() == 0) { in SetNotificationSortingMap() 60 for (auto key : sortingMap->GetKey()) { in SetNotificationSortingMap() 62 if (sortingMap->GetNotificationSorting(key, sorting)) { in SetNotificationSortingMap()
|
/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() argument 92 const std::shared_ptr<Notification::NotificationSortingMap> &sortingMap) {} in OnConsumed() argument 95 const std::shared_ptr<Notification::NotificationSortingMap> &sortingMap) {} in OnUpdate() argument 112 …&requestList, const std::shared_ptr<Notification::NotificationSortingMap> &sortingMap, int32_t del… in OnBatchCanceled() argument
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/ |
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/interfaces/inner_api/ |
H A D | notification_subscriber.h | 42 const std::shared_ptr<NotificationSortingMap> &sortingMap, int32_t deleteReason) = 0; 57 …:shared_ptr<Notification> &request, const std::shared_ptr<NotificationSortingMap> &sortingMap) = 0; 69 virtual void OnUpdate(const std::shared_ptr<NotificationSortingMap> &sortingMap) = 0; 110 const std::shared_ptr<NotificationSortingMap> &sortingMap, int32_t deleteReason) = 0;
|
/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/frameworks/ans/test/unittest/ |
H A D | notification_sorting_map_test.cpp | 115 auto sortingMap = std::make_shared<NotificationSortingMap>(sortingList); variable 118 EXPECT_EQ(sortingMap->Marshalling(parcel), true); 119 auto newSortingMap = sortingMap->Unmarshalling(parcel);
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_sorting_map.cpp | 105 NotificationSortingMap *sortingMap = new (std::nothrow) NotificationSortingMap(sortings); in Unmarshalling() local 106 return sortingMap; in Unmarshalling()
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/ |
H A D | reminder_event_manager.cpp | 313 const std::shared_ptr<NotificationSortingMap> &sortingMap, int deleteReason) in OnCanceled() argument 338 const std::shared_ptr<NotificationSortingMap> &sortingMap) {} in OnConsumed() argument 341 const std::shared_ptr<NotificationSortingMap> &sortingMap) {} in OnUpdate() argument 359 const std::shared_ptr<NotificationSortingMap> &sortingMap, int32_t deleteReason) {} in OnBatchCanceled() argument
|
H A D | advanced_notification_utils.cpp | 172 … sptr<NotificationSortingMap> sortingMap = new (std::nothrow) NotificationSortingMap(sortingList); in GenerateSortingMap() local 173 if (sortingMap == nullptr) { in GenerateSortingMap() 178 return sortingMap; in GenerateSortingMap() 982 sptr<NotificationSortingMap> sortingMap = GenerateSortingMap(); in OnDistributedPublish() local 983 … NotificationSubscriberManager::GetInstance()->NotifyConsumed(record->notification, sortingMap); in OnDistributedPublish() 1063 sptr<NotificationSortingMap> sortingMap = GenerateSortingMap(); in OnDistributedUpdate() local 1064 … NotificationSubscriberManager::GetInstance()->NotifyConsumed(record->notification, sortingMap); in OnDistributedUpdate()
|
H A D | advanced_notification_publish_service.cpp | 246 sptr<NotificationSortingMap> sortingMap = GenerateSortingMap(); in PublishNotificationForIndirectProxy() local 247 … NotificationSubscriberManager::GetInstance()->NotifyConsumed(record->notification, sortingMap); in PublishNotificationForIndirectProxy() 1357 sptr<NotificationSortingMap> sortingMap = GenerateSortingMap(); in PublishContinuousTaskNotification() local 1358 … NotificationSubscriberManager::GetInstance()->NotifyConsumed(record->notification, sortingMap); in PublishContinuousTaskNotification() 2339 sptr<NotificationSortingMap> sortingMap = GenerateSortingMap(); in UpdateUnifiedGroupInfo() local 2340 … NotificationSubscriberManager::GetInstance()->NotifyConsumed(item->notification, sortingMap); in UpdateUnifiedGroupInfo() 2446 sptr<NotificationSortingMap> sortingMap = GenerateSortingMap(); in PublishNotificationBySa() local 2447 … NotificationSubscriberManager::GetInstance()->NotifyConsumed(record->notification, sortingMap); in PublishNotificationBySa()
|
H A D | advanced_notification_live_view_service.cpp | 186 sptr<NotificationSortingMap> sortingMap = GenerateSortingMap(); in OnSubscriberAdd() local 202 …NotificationSubscriberManager::GetInstance()->BatchNotifyConsumed(notifications, sortingMap, recor… in OnSubscriberAdd()
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | advanced_notification_utils_test.cpp | 104 void OnUpdate(const std::shared_ptr<NotificationSortingMap> &sortingMap) override in OnUpdate() argument 109 const std::shared_ptr<NotificationSortingMap> &sortingMap, int32_t deleteReason) override in OnCanceled() argument 115 const std::shared_ptr<NotificationSortingMap> &sortingMap) override in OnConsumed() argument 122 …&requestList, const std::shared_ptr<NotificationSortingMap> &sortingMap, int32_t deleteReason) ove… in OnBatchCanceled() argument
|
H A D | notification_subscriber_manager_test.cpp | 51 const std::shared_ptr<NotificationSortingMap> &sortingMap, int deleteReason) override in OnCanceled() argument 54 const std::shared_ptr<NotificationSortingMap> &sortingMap) override in OnConsumed() argument 56 void OnUpdate(const std::shared_ptr<NotificationSortingMap> &sortingMap) override in OnUpdate() argument 65 …&requestList, const std::shared_ptr<NotificationSortingMap> &sortingMap, int32_t deleteReason) ove… in OnBatchCanceled() argument
|
H A D | advanced_notification_service_branch_test.cpp | 113 void OnUpdate(const std::shared_ptr<NotificationSortingMap> &sortingMap) override in OnUpdate() argument 118 const std::shared_ptr<NotificationSortingMap> &sortingMap, int32_t deleteReason) override in OnCanceled() argument 124 const std::shared_ptr<NotificationSortingMap> &sortingMap) override in OnConsumed() argument 131 …&requestList, const std::shared_ptr<NotificationSortingMap> &sortingMap, int32_t deleteReason) ove… in OnBatchCanceled() argument
|
/ohos5.0/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/ |
H A D | notification_service_test.cpp | 70 void OnUpdate(const std::shared_ptr<NotificationSortingMap> &sortingMap) override in OnUpdate() argument 80 const std::shared_ptr<NotificationSortingMap> &sortingMap, int deleteReason) override in OnCanceled() argument 83 const std::shared_ptr<NotificationSortingMap> &sortingMap) override in OnConsumed() argument 90 …&requestList, const std::shared_ptr<NotificationSortingMap> &sortingMap, int32_t deleteReason) ove… in OnBatchCanceled() argument
|
/ohos5.0/foundation/communication/nfc/services/src/notification/ |
H A D | nfc_notification.cpp | 46 void OnUpdate(const std::shared_ptr<Notification::NotificationSortingMap> &sortingMap) {} in OnUpdate() argument 52 const std::shared_ptr<Notification::NotificationSortingMap> &sortingMap, int deleteReason) in OnCanceled() argument 65 const std::shared_ptr<Notification::NotificationSortingMap> &sortingMap) {} in OnConsumed() argument 69 … const std::shared_ptr<Notification::NotificationSortingMap> &sortingMap, int32_t deleteReason) {} in OnBatchCanceled() argument
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_fw_module_test.cpp | 131 explicit OnUpdatedEvent(const std::shared_ptr<NotificationSortingMap> &sortingMap) in OnUpdatedEvent() argument 132 : SubscriberEvent(SubscriberEventType::ON_UPDATE), sortingMap_(sortingMap) in OnUpdatedEvent() 204 const std::shared_ptr<NotificationSortingMap> &sortingMap, int deleteReason) in OnOnCanceledWithSortingMapAndDeleteReasonEvent() argument 207 sortingMap_(sortingMap), in OnOnCanceledWithSortingMapAndDeleteReasonEvent() 254 … std::shared_ptr<Notification> &request, const std::shared_ptr<NotificationSortingMap> &sortingMap) in OnConsumedWithSortingMapEvent() argument 294 void OnUpdate(const std::shared_ptr<NotificationSortingMap> &sortingMap) override in OnUpdate() argument 296 std::shared_ptr<OnUpdatedEvent> event = std::make_shared<OnUpdatedEvent>(sortingMap); in OnUpdate() 315 const std::shared_ptr<NotificationSortingMap> &sortingMap, int deleteReason) override in OnCanceled() argument 324 const std::shared_ptr<NotificationSortingMap> &sortingMap) override in OnConsumed() argument 327 std::make_shared<OnConsumedWithSortingMapEvent>(request, sortingMap); in OnConsumed() [all …]
|
H A D | ans_innerkits_module_publish_test.cpp | 135 void OnUpdate(const std::shared_ptr<NotificationSortingMap> &sortingMap) override in OnUpdate() argument 139 const std::shared_ptr<NotificationSortingMap> &sortingMap, int deleteReason) override in OnCanceled() argument 145 const std::shared_ptr<NotificationSortingMap> &sortingMap) override in OnConsumed() argument 205 …&requestList, const std::shared_ptr<NotificationSortingMap> &sortingMap, int32_t deleteReason) ove… in OnBatchCanceled() argument
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/advanced_notification_service_test/ |
H A D | advanced_notification_service_publish_test.cpp | 124 void OnUpdate(const std::shared_ptr<NotificationSortingMap> &sortingMap) override in OnUpdate() argument 135 const std::shared_ptr<NotificationSortingMap> &sortingMap, int32_t deleteReason) override in OnCanceled() argument 138 const std::shared_ptr<NotificationSortingMap> &sortingMap) override in OnConsumed() argument 141 …&requestList, const std::shared_ptr<NotificationSortingMap> &sortingMap, int32_t deleteReason) ove… in OnBatchCanceled() argument
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/ |
H A D | ans_notification_unit_test.cpp | 87 void OnUpdate(const std::shared_ptr<NotificationSortingMap> &sortingMap) override in OnUpdate() argument 97 const std::shared_ptr<NotificationSortingMap> &sortingMap, int deleteReason) override in OnCanceled() argument 100 const std::shared_ptr<NotificationSortingMap> &sortingMap) override in OnConsumed() argument 107 …&requestList, const std::shared_ptr<NotificationSortingMap> &sortingMap, int32_t deleteReason) ove… in OnBatchCanceled() argument
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-notification-kit/ |
H A D | js-apis-inner-notification-notificationSubscriber-sys.md | 531 | sortingMap | [NotificationSortingMap](js-apis-inner-notification-notificationSortingMap-sys.…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta2/ |
H A D | js-apidiff-notification.md | 85 …Data;<br>方法or属性:readonly sortingMap?: NotificationSortingMap;<br>旧版本信息:|类名:SubscribeCallbackData;<… 237 …Data;<br>方法or属性:readonly sortingMap?: NotificationSortingMap;<br>旧版本信息:|类名:SubscribeCallbackData;<…
|