Searched refs:rtcId (Results 1 – 2 of 2) sorted by relevance
76 rtcId(GetWallClockRtcId()) in TimeSystemAbility()81 TimeSystemAbility::TimeSystemAbility() : state_(ServiceRunningState::STATE_NOT_START), rtcId(GetWal… in TimeSystemAbility()489 if (rtcId < 0) { in SetRtcTime()494 strs << "/dev/rtc" << rtcId; in SetRtcTime()526 bool TimeSystemAbility::CheckRtc(const std::string &rtcPath, uint64_t rtcId) in CheckRtc() argument529 strs << rtcPath << "/rtc" << rtcId << "/hctosys"; in CheckRtc()556 unsigned long rtcId = 0; in GetWallClockRtcId() local562 rtcId = std::stoul(rtcIdStr); in GetWallClockRtcId()564 if (CheckRtc(rtcPath, rtcId)) { in GetWallClockRtcId()565 TIME_HILOGD(TIME_MODULE_SERVICE, "found wall clock rtc %{public}ld", rtcId); in GetWallClockRtcId()[all …]
94 bool CheckRtc(const std::string &rtcPath, uint64_t rtcId);101 const int rtcId; variable