Home
last modified time | relevance | path

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

/base/notification/distributed_notification_service/frameworks/ans/src/
Dreminder_request_calendar.cpp526 …repeatDay_ = static_cast<uint32_t>(RecoverInt64FromDb(resultSet, REPEAT_DAYS, DbRecoveryType::INT)… in RecoverFromDb()
530 static_cast<uint16_t>(RecoverInt64FromDb(resultSet, REPEAT_MONTHS, DbRecoveryType::INT)); in RecoverFromDb()
534 … static_cast<uint16_t>(RecoverInt64FromDb(resultSet, FIRST_DESIGNATE_YEAR, DbRecoveryType::INT)); in RecoverFromDb()
538 … static_cast<uint8_t>(RecoverInt64FromDb(resultSet, FIRST_DESIGNATE_MONTH, DbRecoveryType::INT)); in RecoverFromDb()
542 … static_cast<uint8_t>(RecoverInt64FromDb(resultSet, FIRST_DESIGNATE_DAY, DbRecoveryType::INT)); in RecoverFromDb()
545 … year_ = static_cast<uint16_t>(RecoverInt64FromDb(resultSet, CALENDAR_YEAR, DbRecoveryType::INT)); in RecoverFromDb()
548 … month_ = static_cast<uint8_t>(RecoverInt64FromDb(resultSet, CALENDAR_MONTH, DbRecoveryType::INT)); in RecoverFromDb()
551 day_ = static_cast<uint8_t>(RecoverInt64FromDb(resultSet, CALENDAR_DAY, DbRecoveryType::INT)); in RecoverFromDb()
554 hour_ = static_cast<uint8_t>(RecoverInt64FromDb(resultSet, CALENDAR_HOUR, DbRecoveryType::INT)); in RecoverFromDb()
557 …minute_ = static_cast<uint8_t>(RecoverInt64FromDb(resultSet, CALENDAR_MINUTE, DbRecoveryType::INT)… in RecoverFromDb()
Dreminder_request_alarm.cpp318 … static_cast<uint8_t>(RecoverInt64FromDb(resultSet, REPEAT_DAYS_OF_WEEK, DbRecoveryType::INT)); in RecoverFromDb()
322 static_cast<uint8_t>(RecoverInt64FromDb(resultSet, ALARM_HOUR, DbRecoveryType::INT)); in RecoverFromDb()
326 static_cast<uint8_t>(RecoverInt64FromDb(resultSet, ALARM_MINUTE, DbRecoveryType::INT)); in RecoverFromDb()
Dreminder_request.cpp451 const std::string &columnName, const DbRecoveryType &columnType) in RecoverInt64FromDb()
458 case (DbRecoveryType::INT): { in RecoverInt64FromDb()
463 case (DbRecoveryType::LONG): { in RecoverInt64FromDb()
508 static_cast<uint64_t>(RecoverInt64FromDb(resultSet, REMINDER_TIME, DbRecoveryType::LONG)); in RecoverFromDb()
512 static_cast<uint64_t>(RecoverInt64FromDb(resultSet, TRIGGER_TIME, DbRecoveryType::LONG)); in RecoverFromDb()
516 static_cast<uint64_t>(RecoverInt64FromDb(resultSet, TIME_INTERVAL, DbRecoveryType::LONG)); in RecoverFromDb()
520 …snoozeTimes_ = static_cast<uint8_t>(RecoverInt64FromDb(resultSet, SNOOZE_TIMES, DbRecoveryType::IN… in RecoverFromDb()
524 … static_cast<uint8_t>(RecoverInt64FromDb(resultSet, DYNAMIC_SNOOZE_TIMES, DbRecoveryType::INT)); in RecoverFromDb()
528 static_cast<uint64_t>(RecoverInt64FromDb(resultSet, RING_DURATION, DbRecoveryType::LONG)); in RecoverFromDb()
537 state_ = static_cast<uint8_t>(RecoverInt64FromDb(resultSet, STATE, DbRecoveryType::INT)); in RecoverFromDb()
[all …]
/base/notification/distributed_notification_service/test/fuzztest/reminderrequest_fuzzer/
Dreminderrequest_fuzzer.cpp71 Notification::ReminderRequest::DbRecoveryType columnType = in DoSomethingInterestingWithMyAPI()
72 Notification::ReminderRequest::DbRecoveryType(column); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dreminder_request_test.cpp788 ReminderRequest::DbRecoveryType columnType = ReminderRequest::DbRecoveryType::INT;
1156 ReminderRequest::DbRecoveryType columnType = ReminderRequest::DbRecoveryType::INT;
1160 ReminderRequest::DbRecoveryType columnType2 = ReminderRequest::DbRecoveryType::LONG;
1181 ReminderRequest::DbRecoveryType columnType = ReminderRequest::DbRecoveryType(3);
/base/notification/distributed_notification_service/interfaces/inner_api/
Dreminder_request.h723 enum class DbRecoveryType : uint8_t { enum
735 const std::string &columnName, const DbRecoveryType &columnType);