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.cpp424 const std::string &columnName, const DbRecoveryType &columnType) in RecoverInt64FromDb()
431 case (DbRecoveryType::INT): { in RecoverInt64FromDb()
436 case (DbRecoveryType::LONG): { in RecoverInt64FromDb()
476 static_cast<uint64_t>(RecoverInt64FromDb(resultSet, REMINDER_TIME, DbRecoveryType::LONG)); in RecoverFromDb()
480 static_cast<uint64_t>(RecoverInt64FromDb(resultSet, TRIGGER_TIME, DbRecoveryType::LONG)); in RecoverFromDb()
484 static_cast<uint64_t>(RecoverInt64FromDb(resultSet, TIME_INTERVAL, DbRecoveryType::LONG)); in RecoverFromDb()
488 …snoozeTimes_ = static_cast<uint8_t>(RecoverInt64FromDb(resultSet, SNOOZE_TIMES, DbRecoveryType::IN… in RecoverFromDb()
492 … static_cast<uint8_t>(RecoverInt64FromDb(resultSet, DYNAMIC_SNOOZE_TIMES, DbRecoveryType::INT)); in RecoverFromDb()
496 static_cast<uint64_t>(RecoverInt64FromDb(resultSet, RING_DURATION, DbRecoveryType::LONG)); in RecoverFromDb()
505 state_ = static_cast<uint8_t>(RecoverInt64FromDb(resultSet, STATE, DbRecoveryType::INT)); in RecoverFromDb()
/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/interfaces/inner_api/
Dreminder_request.h644 enum class DbRecoveryType : uint8_t { enum
656 const std::string &columnName, const DbRecoveryType &columnType);
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dreminder_request_test.cpp720 ReminderRequest::DbRecoveryType columnType = ReminderRequest::DbRecoveryType::INT;