/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | reminder_store_test.cpp | 356 auto reminders = reminderStore.GetAllValidReminders(); in HWTEST_F() local 358 for (auto each : reminders) { in HWTEST_F() 417 auto reminders = reminderStore.GetAllValidReminders(); in HWTEST_F() local 419 for (auto each : reminders) { in HWTEST_F() 472 auto reminders = reminderStore.GetAllValidReminders(); in HWTEST_F() local 474 for (auto each : reminders) { in HWTEST_F() 513 auto reminders = reminderStore.GetAllValidReminders(); in HWTEST_F() local 515 for (auto each : reminders) { in HWTEST_F() 562 auto reminders = reminderStore.GetAllValidReminders(); in HWTEST_F() local 564 for (auto each : reminders) { in HWTEST_F() 615 auto reminders = reminderStore.GetAllValidReminders(); HWTEST_F() local [all...] |
/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_manager_proxy_reminder.cpp | 125 ErrCode AnsManagerProxy::GetValidReminders(std::vector<sptr<ReminderRequest>> &reminders) in GetValidReminders() argument 147 reminders.clear(); in GetValidReminders() 148 result = ReadReminders(count, reply, reminders); in GetValidReminders() 153 ANSR_LOGD("[GetValidReminders], size=%{public}zu", reminders.size()); in GetValidReminders() 263 uint8_t &count, MessageParcel &reply, std::vector<sptr<ReminderRequest>> &reminders) in ReadReminders() 290 reminders.push_back(reminder); in ReadReminders() 262 ReadReminders( uint8_t &count, MessageParcel &reply, std::vector<sptr<ReminderRequest>> &reminders) ReadReminders() argument
|
H A D | ans_manager_stub_invalid.cpp | 481 ErrCode AnsManagerStub::GetValidReminders(std::vector<sptr<ReminderRequest>> &reminders) in GetValidReminders() argument
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | reminder_store.cpp | 146 auto reminders = GetOldReminders(store); in CopyData() local 148 if (!reminders.empty()) { in CopyData() 149 InsertNewReminders(store, reminders); in CopyData() 161 std::vector<sptr<ReminderRequest>> reminders; in GetOldReminders() local 165 return reminders; in GetOldReminders() 199 reminders.push_back(reminderReq); in GetOldReminders() 203 return reminders; in GetOldReminders() 207 const std::vector<sptr<ReminderRequest>>& reminders) in InsertNewReminders() 209 for (auto reminder : reminders) { in InsertNewReminders() 505 // delete all the reminders whic in InitData() 206 InsertNewReminders(NativeRdb::RdbStore& store, const std::vector<sptr<ReminderRequest>>& reminders) InsertNewReminders() argument 723 std::vector<sptr<ReminderRequest>> reminders; GetReminders() local [all...] |
H A D | advanced_notification_reminder_service.cpp | 67 ANSR_LOGW("The number of reminders exceeds the limit[0]."); in PublishReminder() 137 ANSR_LOGI("Cancel all reminders"); in CancelAllReminders() 157 ErrCode AdvancedNotificationService::GetValidReminders(std::vector<sptr<ReminderRequest>> &reminders) in GetValidReminders() argument 166 reminders.clear(); in GetValidReminders() 175 rdm->GetValidReminders(bundleOption, reminders); in GetValidReminders() 176 ANSR_LOGD("Valid reminders size=%{public}zu", reminders.size()); in GetValidReminders()
|
H A D | reminder_data_manager.cpp | 220 const sptr<NotificationBundleOption> &bundleOption, std::vector<sptr<ReminderRequest>> &reminders) in GetValidReminders() 230 reminders.push_back(eachReminder); in GetValidReminders() 333 ANSR_LOGW("The number of validate reminders exceeds the system upper limit:%{public}d, \ in CheckReminderLimitExceededLocked() 348 ANSR_LOGW("The number of validate reminders exceeds the application upper limit:%{public}d, and new \ in CheckReminderLimitExceededLocked() 582 ANSR_LOGD("Cancel reminders by groupid, reminder is %{public}s", reminder->Dump().c_str()); in CloseRemindersByGroupId() 784 ANSR_LOGI("Refresh all reminders due to %{public}s changed by user", typeInfo.c_str()); in RefreshRemindersDueToSysTimeChange() 1236 std::vector<sptr<ReminderRequest>> reminders; in Dump() local 1237 reminders.push_back(*it); in Dump() 1238 bundleNameMap.insert(std::pair<std::string, std::vector<sptr<ReminderRequest>>>(bundleName, reminders)); in Dump() 1247 std::vector<sptr<ReminderRequest>> reminders in Dump() local 219 GetValidReminders( const sptr<NotificationBundleOption> &bundleOption, std::vector<sptr<ReminderRequest>> &reminders) GetValidReminders() argument 1981 UpdateReminderLanguageLocked(const int32_t uid, const std::vector<sptr<ReminderRequest>>& reminders) UpdateReminderLanguageLocked() argument 2007 std::unordered_map<int32_t, std::vector<sptr<ReminderRequest>>> reminders; OnLanguageChanged() local [all...] |
/base/notification/distributed_notification_service/test/fuzztest/reminderdatamanager_fuzzer/ |
H A D | reminderdatamanager_fuzzer.cpp | 49 std::vector<sptr<Notification::ReminderRequest>> reminders; in DoSomethingInterestingWithManager() local 50 manager->GetValidReminders(option, reminders); in DoSomethingInterestingWithManager() 97 std::vector<sptr<Notification::ReminderRequest>> reminders; in DoSomethingInterestingWithReminder() local 98 manager->GetImmediatelyShowRemindersLocked(reminders); in DoSomethingInterestingWithReminder()
|
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | reminder_data_manager.h | 52 * @brief Cancels all the reminders relative to the bundle option. 77 * @param reminderId Identifies the reminders id. 87 * @param reminderId Identifies the reminders id. 95 * @param reminderId Identifies the reminders id. 112 * Dump all the reminders information. 114 * @return reminders informations. 128 * Obtains all the valid reminders (which are not expired) relative to the bundle option. 131 * @param[out] reminders return the valid reminders. 134 const sptr<NotificationBundleOption> &bundleOption, std::vector<sptr<ReminderRequest>> &reminders); [all...] |
H A D | reminder_store.h | 69 * 1. Deletes all the reminders which IS_EXPIRED is true. 102 void InsertNewReminders(NativeRdb::RdbStore& store, const std::vector<sptr<ReminderRequest>>& reminders);
|
H A D | advanced_notification_service.h | 734 * @param reminderId Identifies the reminders id that needs to be canceled. 742 * @param reminders Identifies the list of all valid notifications. 745 ErrCode GetValidReminders(std::vector<sptr<ReminderRequest>> &reminders) override; 757 * @param reminderId Identifies the reminders id. 766 * @param reminderId Identifies the reminders id. 774 * @param reminderId Identifies the reminders id. 1037 * @brief Get Enable smartphone to collaborate with other devices for intelligent reminders 1048 * @brief Set Enable smartphone to collaborate with other devices for intelligent reminders 1149 * @brief Whether reminders are allowed.
|
/base/notification/distributed_notification_service/frameworks/core/include/ |
H A D | ans_manager_proxy.h | 681 * @param reminderId Identifies the reminders id that needs to be canceled. 689 * @param reminders Identifies the list of all valid notifications. 692 ErrCode GetValidReminders(std::vector<sptr<ReminderRequest>> &reminders) override; 704 * @param reminderId Identifies the reminders id. 713 * @param reminderId Identifies the reminders id. 721 * @param reminderId Identifies the reminders id. 910 * @brief Get Enable smartphone to collaborate with other devices for intelligent reminders 921 * @brief Set Enable smartphone to collaborate with other devices for intelligent reminders 1018 ErrCode ReadReminders(uint8_t &count, MessageParcel &reply, std::vector<sptr<ReminderRequest>> &reminders);
|
H A D | ans_manager_interface.h | 684 * @param reminderId Identifies the reminders id that needs to be canceled. 692 * @param reminders Identifies the list of all valid notifications. 695 virtual ErrCode GetValidReminders(std::vector<sptr<ReminderRequest>> &reminders) = 0; 707 * @param reminderId Identifies the reminders id. 716 * @param reminderId Identifies the reminders id. 724 * @param reminderId Identifies the reminders id. 908 * @brief Get Enable smartphone to collaborate with other devices for intelligent reminders 919 * @brief Set Enable smartphone to collaborate with other devices for intelligent reminders
|
H A D | ans_manager_stub.h | 674 * @param reminderId Identifies the reminders id that needs to be canceled. 682 * @param reminders Identifies the list of all valid notifications. 685 virtual ErrCode GetValidReminders(std::vector<sptr<ReminderRequest>> &reminders) override; 697 * @param reminderId Identifies the reminders id. 706 * @param reminderId Identifies the reminders id. 714 * @param reminderId Identifies the reminders id. 921 * @brief Get Enable smartphone to collaborate with other devices for intelligent reminders 932 * @brief Set Enable smartphone to collaborate with other devices for intelligent reminders
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | reminder_data_manager_test.cpp | 861 std::vector<sptr<ReminderRequest>> reminders;
in HWTEST_F() local 862 manager->GetValidReminders(option2, reminders);
in HWTEST_F() 863 EXPECT_TRUE(reminders.size() == 1);
in HWTEST_F()
|
H A D | advanced_notification_service_test.cpp | 1005 std::vector<sptr<ReminderRequest>> reminders; in HWTEST_F() local 1006 ASSERT_EQ(advancedNotificationService_->GetValidReminders(reminders), (int)ERR_NO_INIT); in HWTEST_F() 1438 std::vector<sptr<ReminderRequest>> reminders; in HWTEST_F() local 1439 ASSERT_EQ(advancedNotificationService_->GetValidReminders(reminders), ERR_ANS_INVALID_BUNDLE); in HWTEST_F() 3656 * @tc.desc: test DoNotDisturbUpdataReminderFlags can turn off all reminders.
|
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/ |
H A D | advancednotificationservice_fuzzer.cpp | 136 std::vector<sptr<Notification::ReminderRequest>> reminders; in DoSomethingInterestingWithMyAPI() local 137 service->GetValidReminders(reminders); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannexthree_fuzzer/ |
H A D | ansmanagerstubannexthree_fuzzer.cpp | 398 std::vector<sptr<Notification::ReminderRequest>> reminders;
in DoSomethingInterestingWithMyAPI() local 399 ansManagerStub.GetValidReminders(reminders);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannex_fuzzer/ |
H A D | ansmanagerstubannex_fuzzer.cpp | 406 std::vector<sptr<Notification::ReminderRequest>> reminders;
in DoSomethingInterestingWithMyAPI() local 407 ansManagerStub.GetValidReminders(reminders);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/ |
H A D | ansmanagerstub_fuzzer.cpp | 407 std::vector<sptr<Notification::ReminderRequest>> reminders;
in DoSomethingInterestingWithMyAPI() local 408 ansManagerStub.GetValidReminders(reminders);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/ |
H A D | ans_notification_branch_test.cpp | 414 ErrCode GetValidReminders(std::vector<sptr<ReminderRequest>> &reminders) override
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/ |
H A D | ans_manager_stub_test.cpp | 4639 std::vector<sptr<ReminderRequest>> reminders; in HWTEST_F() local 4641 reminders.emplace_back(reminder); in HWTEST_F() 4643 ErrCode result = ansManagerStub_->GetValidReminders(reminders); in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/ |
H A D | ans_manager_proxy_unit_test.cpp | 7652 std::vector<sptr<ReminderRequest>> reminders;
in HWTEST_F() local 7653 ErrCode res = proxy->ReadReminders(count, reply, reminders);
in HWTEST_F()
|