Home
last modified time | relevance | path

Searched refs:snoozeTimes (Results 1 - 4 of 4) sorted by relevance

/base/notification/distributed_notification_service/services/ans/src/
H A Dreminder_store_strategy.cpp89 uint8_t snoozeTimes = 0; in RecoverTimeFromOldVersion() local
90 ReminderStrategy::GetRdbValue<uint8_t>(resultSet, ReminderTable::SNOOZE_TIMES, snoozeTimes); in RecoverTimeFromOldVersion()
91 reminder->SetSnoozeTimes(snoozeTimes); in RecoverTimeFromOldVersion()
238 uint8_t snoozeTimes = 0; in RecoverTimeFromDb() local
239 ReminderStrategy::GetRdbValue<uint8_t>(resultSet, ReminderBaseTable::SNOOZE_TIMES, snoozeTimes); in RecoverTimeFromDb()
240 reminder->SetSnoozeTimes(snoozeTimes); in RecoverTimeFromDb()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dreminder_request.h713 * @note If the value of snoozeTimes is less than or equals to 0, this reminder is a one-shot
716 * It the value of snoozeTimes is greater than 0, for example, snoozeTimes=3, this reminder
722 * @param snoozeTimes Indicates the number of times that the reminder will be snoozed.
725 ReminderRequest& SetSnoozeTimes(const uint8_t snoozeTimes);
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
H A Dreminder_common.cpp572 // snoozeTimes in GenReminderIntInner()
577 uint8_t snoozeTimes = propertyVal > UINT8_MAX ? UINT8_MAX : static_cast<uint8_t>(propertyVal); in GenReminderIntInner() local
578 reminder->SetSnoozeTimes(static_cast<uint8_t>(snoozeTimes)); in GenReminderIntInner()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dreminder_request.cpp689 ReminderRequest& ReminderRequest::SetSnoozeTimes(const uint8_t snoozeTimes) in SetSnoozeTimes() argument
691 snoozeTimes_ = snoozeTimes; in SetSnoozeTimes()
692 SetSnoozeTimesDynamic(snoozeTimes); in SetSnoozeTimes()
1132 WRITE_UINT8_RETURN_FALSE_LOG(parcel, snoozeTimes_, "snoozeTimes"); in Marshalling()
1259 READ_UINT8_RETURN_FALSE_LOG(parcel, snoozeTimes_, "snoozeTimes"); in ReadFromParcel()

Completed in 8 milliseconds