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

/frameworks/base/core/java/android/util/
H A DTrustedTime.java41 public long getCacheAge(); method in interface:TrustedTime
H A DNtpTrustedTime.java100 public long getCacheAge() { method in class:NtpTrustedTime
126 return mCachedNtpTime + getCacheAge();
/frameworks/base/services/java/com/android/server/
H A DNetworkTimeUpdateService.java160 if (mTime.getCacheAge() >= POLLING_INTERVAL_MS) {
165 if (mTime.getCacheAge() < POLLING_INTERVAL_MS) {
H A DThrottleService.java504 if (mTime.getCacheAge() > mMaxNtpCacheAge) {
757 if (mTime.getCacheAge() > mMaxNtpCacheAge) {
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DThrottleServiceTest.java276 expect(mMockTime.getCacheAge()).andReturn(0L).anyTimes();
H A DNetworkPolicyManagerServiceTest.java879 expect(mTime.getCacheAge()).andReturn(0L).anyTimes();
H A DNetworkStatsServiceTest.java954 expect(mTime.getCacheAge()).andReturn(0L).anyTimes();
/frameworks/base/services/java/com/android/server/location/
H A DGpsLocationProvider.java563 if (mNtpTime.getCacheAge() >= NTP_INTERVAL) {
568 if (mNtpTime.getCacheAge() < NTP_INTERVAL) {
/frameworks/base/services/java/com/android/server/net/
H A DNetworkStatsService.java912 if (mTime.getCacheAge() > mSettings.getTimeCacheMaxAge()) {
H A DNetworkPolicyManagerService.java1962 if (mTime.getCacheAge() > TIME_CACHE_MAX_AGE) {

Completed in 671 milliseconds