Home
last modified time | relevance | path

Searched refs:hasCache (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/util/
DTrustedTime.java35 public boolean hasCache(); in hasCache() method
DNtpTrustedTime.java95 public boolean hasCache() { in hasCache() method in NtpTrustedTime
/frameworks/base/services/java/com/android/server/net/
DNetworkStatsService.java796 final long currentTime = mTime.hasCache() ? mTime.currentTimeMillis() in performPollLocked()
977 final long now = mTime.hasCache() ? mTime.currentTimeMillis() : System.currentTimeMillis(); in performSample()
981 final long trustedTime = mTime.hasCache() ? mTime.currentTimeMillis() : -1; in performSample()
1236 if (mTime.hasCache()) { in writeNetworkStats()
1280 if (mTime.hasCache()) { in writeUidStatsLocked()
DNetworkPolicyManagerService.java1561 return mTime.hasCache() ? mTime.currentTimeMillis() : System.currentTimeMillis(); in currentTimeMillis()
/frameworks/base/services/java/com/android/server/
DThrottleService.java247 long bestNow = mTime.hasCache() ? mTime.currentTimeMillis() in ntpToWallTime()
596 if (!mTime.hasCache()) { in checkThrottleAndPostNotification()
763 if (mTime.hasCache()) { in onResetAlarm()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DThrottleServiceTest.java273 expect(mMockTime.hasCache()).andReturn(true).anyTimes(); in expectTime()
DNetworkPolicyManagerServiceTest.java711 expect(mTime.hasCache()).andReturn(true).anyTimes(); in expectCurrentTime()
DNetworkStatsServiceTest.java815 expect(mTime.hasCache()).andReturn(true).anyTimes(); in expectCurrentTime()
/frameworks/base/core/java/android/webkit/
DWebViewDatabase.java778 boolean hasCache() { in hasCache() method in WebViewDatabase