Searched refs:POLLING_INTERVAL_MS (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/services/java/com/android/server/
H A DNetworkTimeUpdateService.java61 private static final long POLLING_INTERVAL_MS = 24L * 60 * 60 * 1000; // 24 hrs field in class:NetworkTimeUpdateService
146 // If NITZ time was received less than POLLING_INTERVAL_MS time ago,
148 if (mNitzTimeSetTime != NOT_SET && refTime - mNitzTimeSetTime < POLLING_INTERVAL_MS) {
149 resetAlarm(POLLING_INTERVAL_MS);
155 if (mLastNtpFetchTime == NOT_SET || refTime >= mLastNtpFetchTime + POLLING_INTERVAL_MS
160 if (mTime.getCacheAge() >= POLLING_INTERVAL_MS) {
165 if (mTime.getCacheAge() < POLLING_INTERVAL_MS) {
194 resetAlarm(POLLING_INTERVAL_MS);
199 resetAlarm(POLLING_INTERVAL_MS);

Completed in 27 milliseconds