Searched refs:autoTimeInfo_ (Results 1 – 3 of 3) sorted by relevance
55 AutoTimeInfo NtpUpdateTime::autoTimeInfo_{};77 autoTimeInfo_.ntpServer = ntpServer; in Init()78 autoTimeInfo_.ntpServerSpec = ntpServerSpec; in Init()79 autoTimeInfo_.status = autoTime; in Init()208 std::vector<std::string> ntpList = SplitNtpAddrs(autoTimeInfo_.ntpServer); in GetNtpTimeInner()250 if (autoTimeInfo_.status == AUTO_TIME_STATUS_ON) { in GetNtpTime()258 if (autoTimeInfo_.status != AUTO_TIME_STATUS_ON) { in SetSystemTime()306 return autoTimeInfo_.status == AUTO_TIME_STATUS_ON; in CheckStatus()361 autoTimeInfo_.ntpServer = ntpServer; in ChangeNtpServerCallback()362 autoTimeInfo_.ntpServerSpec = ntpServerSpec; in ChangeNtpServerCallback()[all …]
58 static AutoTimeInfo autoTimeInfo_; variable
1029 std::string tmp = NtpUpdateTime::autoTimeInfo_.status;1030 NtpUpdateTime::autoTimeInfo_.status = AUTO_TIME_STATUS_ON;1041 NtpUpdateTime::autoTimeInfo_.status = tmp;1640 auto status = NtpUpdateTime::GetInstance().autoTimeInfo_.status;1642 NtpUpdateTime::GetInstance().autoTimeInfo_.status = NETWORK_TIME_STATUS_OFF;1645 NtpUpdateTime::GetInstance().autoTimeInfo_.status = NETWORK_TIME_STATUS_ON;1657 NtpUpdateTime::GetInstance().autoTimeInfo_.status = status;