Home
last modified time | relevance | path

Searched refs:sortingList (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_sorting_map_test.cpp43 std::vector<NotificationSorting> sortingList; variable
47 rrc->SetNotificationSorting(sortingList);
59 std::vector<NotificationSorting> sortingList; variable
73 std::vector<NotificationSorting> sortingList; variable
109 std::vector<NotificationSorting> sortingList; variable
112 sortingList.emplace_back(sorting);
132 std::vector<NotificationSorting> sortingList; variable
168 sortingList.emplace_back(sorting);
169 rrc->SetNotificationSorting(sortingList);
185 sortingList.emplace_back(sorting);
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_sorting_map.cpp28 NotificationSortingMap::NotificationSortingMap(const std::vector<NotificationSorting> &sortingList) in NotificationSortingMap() argument
30 for (auto item : sortingList) { in NotificationSortingMap()
56 …NotificationSortingMap::SetNotificationSorting(const std::vector<NotificationSorting> &sortingList) in SetNotificationSorting() argument
58 for (auto item : sortingList) { in SetNotificationSorting()
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationsortingmap_fuzzer/
H A Dnotificationsortingmap_fuzzer.cpp33 std::vector<Notification::NotificationSorting> sortingList; in DoSomethingInterestingWithMyAPI() local
34 sortingList.emplace_back(notificationSorting); in DoSomethingInterestingWithMyAPI()
35 notificationSortingMap.SetNotificationSorting(sortingList); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_subscriber_manager_test.cpp112 const std::vector<NotificationSorting> sortingList; variable
113 sptr<NotificationSortingMap> map = new NotificationSortingMap(sortingList);
148 std::vector<NotificationSorting> sortingList; variable
151 sptr<NotificationSortingMap> notificationMap = new NotificationSortingMap(sortingList);
168 std::vector<NotificationSorting> sortingList; variable
171 sptr<NotificationSortingMap> notificationMap = new NotificationSortingMap(sortingList);
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_sorting_map.h35 NotificationSortingMap(const std::vector<NotificationSorting> &sortingList);
81 void SetNotificationSorting(const std::vector<NotificationSorting> &sortingList);
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_utils.cpp163 std::vector<NotificationSorting> sortingList; in GenerateSortingMap() local
166 sorting.SetRanking(static_cast<uint64_t>(sortingList.size())); in GenerateSortingMap()
169 sortingList.push_back(sorting); in GenerateSortingMap()
172 … sptr<NotificationSortingMap> sortingMap = new (std::nothrow) NotificationSortingMap(sortingList); in GenerateSortingMap()