Home
last modified time | relevance | path

Searched refs:reminderType (Results 1 – 9 of 9) sorted by relevance

/base/notification/distributed_notification_service/frameworks/test/moduletest/
DReminderHelperTest.js63 reminderType: reminderAgent.ReminderType.REMINDER_TYPE_TIMER, property
99 reminderType: reminderAgent.ReminderType.REMINDER_TYPE_TIMER, property
134 reminderType: reminderAgent.ReminderType.REMINDER_TYPE_ALARM, property
175 reminderType: reminderAgent.ReminderType.REMINDER_TYPE_ALARM, property
213 reminderType: reminderAgent.ReminderType.REMINDER_TYPE_CALENDAR, property
256 reminderType: reminderAgent.ReminderType.REMINDER_TYPE_CALENDAR, property
361 reminderType: reminderAgent.ReminderType.REMINDER_TYPE_TIMER, property
405 reminderType: reminderAgent.ReminderType.REMINDER_TYPE_CALENDAR, property
727 reminderType: reminderAgent.ReminderType.REMINDER_TYPE_TIMER, property
766 reminderType: reminderAgent.ReminderType.REMINDER_TYPE_TIMER, property
[all …]
/base/notification/distributed_notification_service/frameworks/ans/src/
Dreminder_store.cpp346 int32_t reminderType; in BuildReminder() local
348 resultSet->GetInt(ReminderStore::GetColumnIndex(ReminderRequest::REMINDER_TYPE), reminderType); in BuildReminder()
352 switch (reminderType) { in BuildReminder()
366 … ANSR_LOGE("ReminderType from database is error, reminderType %{public}d.", reminderType); in BuildReminder()
Dreminder_request.cpp146 ReminderRequest::ReminderRequest(ReminderType reminderType) in ReminderRequest() argument
148 reminderType_ = reminderType; in ReminderRequest()
502 int32_t reminderType; in RecoverFromDb() local
503 resultSet->GetInt(ReminderStore::GetColumnIndex(REMINDER_TYPE), reminderType); in RecoverFromDb()
504 reminderType_ = ReminderType(reminderType); in RecoverFromDb()
1218 uint8_t reminderType = static_cast<uint8_t>(ReminderType::INVALID); in ReadFromParcel() local
1219 if (!parcel.ReadUint8(reminderType)) { in ReadFromParcel()
1223 reminderType_ = static_cast<ReminderType>(reminderType); in ReadFromParcel()
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
Dreminder_common.cpp175 int32_t reminderType = -1; in CreateReminder() local
176 napi_get_value_int32(env, result, &reminderType); in CreateReminder()
177 switch (ReminderRequest::ReminderType(reminderType)) { in CreateReminder()
188 ANSR_LOGW("Reminder type is not support. (type:%{public}d)", reminderType); in CreateReminder()
/base/notification/distributed_notification_service/services/ans/include/
Dreminder_data_manager.h243 const sptr<ReminderRequest> &reminderRequest, TimerType reminderType) const;
/base/notification/distributed_notification_service/frameworks/core/src/
Dans_manager_stub.cpp1382 … ReminderRequest::ReminderType reminderType = static_cast<ReminderRequest::ReminderType>(typeInfo); in HandlePublishReminder() local
1384 if (ReminderRequest::ReminderType::ALARM == reminderType) { in HandlePublishReminder()
1387 } else if (ReminderRequest::ReminderType::TIMER == reminderType) { in HandlePublishReminder()
1390 } else if (ReminderRequest::ReminderType::CALENDAR == reminderType) { in HandlePublishReminder()
1456 uint8_t reminderType = static_cast<uint8_t>(reminder->GetReminderType()); in HandleGetValidReminders() local
1457 ANSR_LOGD("ReminderType=%{public}d", reminderType); in HandleGetValidReminders()
1458 if (!reply.WriteUint8(reminderType)) { in HandleGetValidReminders()
Dans_manager_proxy.cpp2069 auto reminderType = static_cast<ReminderRequest::ReminderType>(typeInfo); in ReadReminders() local
2071 if (ReminderRequest::ReminderType::ALARM == reminderType) { in ReadReminders()
2074 } else if (ReminderRequest::ReminderType::TIMER == reminderType) { in ReadReminders()
2077 } else if (ReminderRequest::ReminderType::CALENDAR == reminderType) { in ReadReminders()
/base/notification/distributed_notification_service/interfaces/inner_api/
Dreminder_request.h728 explicit ReminderRequest(ReminderType reminderType);
/base/notification/distributed_notification_service/services/ans/src/
Dreminder_data_manager.cpp317 const sptr<ReminderRequest> &reminderRequest, TimerType reminderType) const in InitTimerInfo()
336 if (reminderType == TimerType::TRIGGER_TIMER && in InitTimerInfo()