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.java506 if (mTime.getCacheAge() > mMaxNtpCacheAge) {
762 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.java829 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.java605 if (mNtpTime.getCacheAge() >= NTP_INTERVAL) {
610 if (mNtpTime.getCacheAge() < NTP_INTERVAL) {
/frameworks/base/services/java/com/android/server/net/
H A DNetworkStatsService.java947 if (mTime.getCacheAge() > mSettings.getTimeCacheMaxAge()) {
H A DNetworkPolicyManagerService.java2031 if (mTime.getCacheAge() > TIME_CACHE_MAX_AGE) {

Completed in 317 milliseconds