Home
last modified time | relevance | path

Searched refs:reminders (Results 1 – 25 of 37) sorted by relevance

12

/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A DReminderHelperTest.js454 function reminderCallback(err, reminders){ argument
963 publishlength=reminders.length
966 cancellength = reminders.length
996 publishlength = reminders.length;
999 cancellength = reminders.length;
1032 publishlength = reminders.length;
1037 cancellength = reminders.length;
1073 publishlength = reminders.length;
1078 cancellength = reminders.length;
1118 expect(reminders.length).assertEqual(2);
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-backgroundtasks-kit/
H A Djs-apis-reminderAgentManager.md47 | 1700002 | The number of reminders exceeds the limit. |
103 | 1700002 | The number of reminders exceeds the limit. |
238 for (let i = 0; i < reminders.length; i++) {
239 console.log("getValidReminders = " + reminders[i]);
241 const actionButton = reminders[i].actionButton || [];
253 console.log("getValidReminders, title = " + reminders[i].title);
294 for (let i = 0; i < reminders.length; i++) {
295 console.log("getValidReminders = " + reminders[i]);
297 const actionButton = reminders[i].actionButton || [];
309 console.log("getValidReminders, title = " + reminders[i].title);
[all …]
H A Djs-apis-reminderAgent.md176 for (let i = 0; i < reminders.length; i++) {
177 console.log("getValidReminders = " + reminders[i]);
179 const actionButton = reminders[i].actionButton || [];
191 console.log("getValidReminders, title = " + reminders[i].title);
192 console.log("getValidReminders, content = " + reminders[i].content);
223 console.log("promise, getValidReminders length = " + reminders.length);
224 for (let i = 0; i < reminders.length; i++) {
225 console.log("getValidReminders = " + reminders[i]);
227 const actionButton = reminders[i].actionButton || [];
239 console.log("getValidReminders, title = " + reminders[i].title);
[all …]
H A Derrorcode-reminderAgentManager.md31 The number of reminders exceeds the limit.
/ohos5.0/docs/en/application-dev/reference/apis-backgroundtasks-kit/
H A Djs-apis-reminderAgentManager.md47 | 1700002 | The number of reminders exceeds the limit. |
103 | 1700002 | The number of reminders exceeds the limit. |
238 for (let i = 0; i < reminders.length; i++) {
239 console.log("getValidReminders = " + reminders[i]);
241 const actionButton = reminders[i].actionButton || [];
253 console.log("getValidReminders, title = " + reminders[i].title);
294 for (let i = 0; i < reminders.length; i++) {
295 console.log("getValidReminders = " + reminders[i]);
297 const actionButton = reminders[i].actionButton || [];
309 console.log("getValidReminders, title = " + reminders[i].title);
[all …]
H A Djs-apis-reminderAgent.md160 …valid (not yet expired) reminders set by the current application. This API uses an asynchronous ca…
181 for (let i = 0; i < reminders.length; i++) {
182 console.log("getValidReminders = " + reminders[i]);
184 const actionButton = reminders[i].actionButton || [];
196 console.log("getValidReminders, title = " + reminders[i].title);
197 console.log("getValidReminders, content = " + reminders[i].content);
211 …ins all valid (not yet expired) reminders set by the current application. This API uses a promise …
230 for (let i = 0; i < reminders.length; i++) {
231 console.log("getValidReminders = " + reminders[i]);
233 const actionButton = reminders[i].actionButton || [];
[all …]
H A Derrorcode-reminderAgentManager.md31 The number of reminders exceeds the limit.
35 The number of reminders exceeds the limit when **publishReminder()** is called.
39 1. The number of reminders generated for the entire system exceeds 2000 in API version 9 or 12000 i…
40 2. The number of reminders generated for the application exceeds 30 in API version 9 or 30 (for a c…
44 Delete unnecessary reminders.
H A Djs-apis-reminderAgentManager-sys.md3reminders. When your application is frozen or exits, the timing and notification functions of your…
/ohos5.0/docs/en/application-dev/task-management/
H A Dagent-powered-reminder.md7reminders for shopping applications. To meet this requirement, the system provides agent-powered r…
9 - Timer: reminders based on countdown timers
11 - Calendar: reminders based on calendar events
13 - Alarm: reminders based on alarm clocks
17reminders.<!--Del--> A system application supports a maximum of 10,000 valid reminders. The entir…
34 **Table 1** Main APIs for agent-powered reminders
40 | getValidReminders(): Promise&lt;Array&lt;ReminderRequest&gt;&gt; | Obtains all valid reminders se…
41 | cancelAllReminders(): Promise&lt;void&gt; | Cancels all reminders set by the current application.|
50 …n authorization](../notification/notification-enable.md). Agent-powered reminders can be used only…
60 4. Define a reminder. You can define the following types of reminders based on project requirements.
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_proxy_reminder.cpp125 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() argument
290 reminders.push_back(reminder); in ReadReminders()
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dreminder_store_test.cpp356 auto reminders = reminderStore.GetAllValidReminders(); variable
358 for (auto each : reminders) {
417 auto reminders = reminderStore.GetAllValidReminders(); variable
419 for (auto each : reminders) {
472 auto reminders = reminderStore.GetAllValidReminders(); variable
474 for (auto each : reminders) {
513 auto reminders = reminderStore.GetAllValidReminders(); variable
515 for (auto each : reminders) {
562 auto reminders = reminderStore.GetAllValidReminders(); variable
564 for (auto each : reminders) {
[all …]
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/reminderdatamanager_fuzzer/
H A Dreminderdatamanager_fuzzer.cpp49 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()
111 manager->ShowActiveReminderExtendLocked(reminder, reminders); in DoSomethingInterestingWithReminder()
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dreminder_store.cpp146 auto reminders = GetOldReminders(store); in CopyData() local
148 if (!reminders.empty()) { in CopyData()
149 InsertNewReminders(store, reminders); in CopyData()
165 return reminders; in GetOldReminders()
199 reminders.push_back(reminderReq); in GetOldReminders()
203 return reminders; in GetOldReminders()
209 for (auto reminder : reminders) { in InsertNewReminders()
726 return reminders; in GetReminders()
730 return reminders; in GetReminders()
738 reminders.push_back(reminder); in GetReminders()
[all …]
H A Dadvanced_notification_reminder_service.cpp159 …rCode AdvancedNotificationService::GetValidReminders(std::vector<sptr<ReminderRequest>> &reminders) in GetValidReminders() argument
169 reminders.clear(); in GetValidReminders()
178 rdm->GetValidReminders(bundleOption, reminders); in GetValidReminders()
179 ANSR_LOGD("Valid reminders size=%{public}zu", reminders.size()); in GetValidReminders()
H A Dreminder_data_manager.cpp232 reminders.push_back(eachReminder); in GetValidReminders()
1228 std::vector<sptr<ReminderRequest>> reminders; in Dump() local
1229 reminders.push_back(*it); in Dump()
1240 sort(reminders.begin(), reminders.end(), cmp); in Dump()
1244 for (auto vit = reminders.begin(); vit != reminders.end(); ++vit) { in Dump()
1494 reminders.push_back(reminderSptr); in GetImmediatelyShowRemindersLocked()
1999 const std::vector<sptr<ReminderRequest>>& reminders) in UpdateReminderLanguageLocked() argument
2002 if (reminders.empty()) { in UpdateReminderLanguageLocked()
2015 for (auto reminder : reminders) { in UpdateReminderLanguageLocked()
2031 reminders[(*it)->GetUid()].push_back((*it)); in OnLanguageChanged()
[all …]
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.7.1/
H A Dchangelog-resourceschedule.md9 …oped based on OpenHarmony 4.0.7.1 and later SDK versions, you can set custom buttons for reminders.
51 The reminder agent allows you to set reminders to automatically disappear at the given time.
55 …ed based on OpenHarmony 4.0.7.1 and later SDK versions, you can set the reminders to disappear aut…
/ohos5.0/docs/en/application-dev/performance/
H A Dreasonable-running-backgroundTask.md5 …o ensure the normal use of features such as music playback and calendar reminders in the backgroun…
343reminders for shopping applications. To meet this requirement, the system provides agent-powered r…
347 … this type to implement short-time timing notification services, for example, flash sale reminders.
348 …ns can use this type to implement long-time notification services, for example, birthday reminders.
361reminders on behalf of the application. …
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/
H A Dreminder_data_manager.h134 …const sptr<NotificationBundleOption> &bundleOption, std::vector<sptr<ReminderRequest>> &reminders);
261 …dateReminderLanguageLocked(const int32_t uid, const std::vector<sptr<ReminderRequest>>& reminders);
405 void GetImmediatelyShowRemindersLocked(std::vector<sptr<ReminderRequest>> &reminders) const;
H A Dreminder_store.h102 …nsertNewReminders(NativeRdb::RdbStore& store, const std::vector<sptr<ReminderRequest>>& reminders);
/ohos5.0/docs/en/design/ux-design/
H A Dmultimodal-text.md12 - Use text on any screen to provide users with specific information, instructions, and reminders.
/ohos5.0/docs/en/release-notes/changelogs/v4.0-beta1/
H A Dchangelogs-resourceschedule.md10 …oped based on OpenHarmony 4.0.7.1 and later SDK versions, you can set custom buttons for reminders.
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_manager_proxy.h692 ErrCode GetValidReminders(std::vector<sptr<ReminderRequest>> &reminders) override;
1026 …ReadReminders(uint8_t &count, MessageParcel &reply, std::vector<sptr<ReminderRequest>> &reminders);
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.38/
H A Dchangelogs-backgroundtasks.md76 Usage scenario: Provide the reason, purpose, and necessity of using agent-powered reminders. Attach…
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dreminder_data_manager_test.cpp862 std::vector<sptr<ReminderRequest>> reminders; in HWTEST_F() local
863 manager->GetValidReminders(option2, reminders); in HWTEST_F()
864 EXPECT_TRUE(reminders.size() == 1); in HWTEST_F()
/ohos5.0/docs/en/application-dev/database/
H A Ddata-reliability-security-overview.md5 …ata, and the database corruption of Calendar may cause loss of Calendar reminders. ArkData managem…

12