Searched refs:rtcId (Results 1 – 2 of 2) sorted by relevance
82 rtcId(GetWallClockRtcId()) in TimeSystemAbility()87 TimeSystemAbility::TimeSystemAbility() : state_(ServiceRunningState::STATE_NOT_START), rtcId(GetWal… in TimeSystemAbility()600 if (rtcId < 0) { in SetRtcTime()605 strs << "/dev/rtc" << rtcId; in SetRtcTime()638 bool TimeSystemAbility::CheckRtc(const std::string &rtcPath, uint64_t rtcId) in CheckRtc() argument641 strs << rtcPath << "/rtc" << rtcId << "/hctosys"; in CheckRtc()667 unsigned long rtcId = 0; in GetWallClockRtcId() local673 rtcId = std::stoul(rtcIdStr); in GetWallClockRtcId()675 if (CheckRtc(rtcPath, rtcId)) { in GetWallClockRtcId()676 TIME_HILOGD(TIME_MODULE_SERVICE, "found wall clock rtc %{public}ld", rtcId); in GetWallClockRtcId()[all …]
107 bool CheckRtc(const std::string &rtcPath, uint64_t rtcId);120 const int rtcId; variable