Home
last modified time | relevance | path

Searched refs:expirationTimeElapsed (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/utils/quota/
DCountQuotaTracker.java76 public long expirationTimeElapsed; field in CountQuotaTracker.ExecutionStats
94 return "expirationTime=" + expirationTimeElapsed + ", " in toString()
105 return this.expirationTimeElapsed == other.expirationTimeElapsed in equals()
117 result = 31 * result + Long.hashCode(expirationTimeElapsed); in hashCode()
194 stats.expirationTimeElapsed = Math.min(stats.expirationTimeElapsed, in noteEvent()
391 if (stats.expirationTimeElapsed <= mInjector.getElapsedRealtime() in getExecutionStatsLocked()
419 stats.expirationTimeElapsed = nowElapsed + mMaxPeriodMs; in updateExecutionStatsLocked()
446 stats.expirationTimeElapsed = nowElapsed + emptyTimeMs; in updateExecutionStatsLocked()
455 appStats.expirationTimeElapsed = nowElapsed; in invalidateAllExecutionStatsLocked()
471 stats.expirationTimeElapsed = nowElapsed; in invalidateAllExecutionStatsLocked()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/quota/
DCountQuotaTrackerTest.java325 expectedStats.expirationTimeElapsed = now + 24 * HOUR_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
334 expectedStats.expirationTimeElapsed = now; in testUpdateExecutionStatsLocked_NoTimer()
340 expectedStats.expirationTimeElapsed = now + 2 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
346 expectedStats.expirationTimeElapsed = now + 3 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
354 expectedStats.expirationTimeElapsed = now + 44 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
360 expectedStats.expirationTimeElapsed = now + 45 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
368 expectedStats.expirationTimeElapsed = now; in testUpdateExecutionStatsLocked_NoTimer()
377 expectedStats.expirationTimeElapsed = now + HOUR_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
384 expectedStats.expirationTimeElapsed = now + HOUR_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
391 expectedStats.expirationTimeElapsed = now + 2 * HOUR_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java557 expectedStats.expirationTimeElapsed = now + 24 * HOUR_IN_MILLIS; in testOnAppRemovedLocked()
619 expectedStats.expirationTimeElapsed = now + 24 * HOUR_IN_MILLIS; in testOnUserRemovedLocked()
667 expectedStats.expirationTimeElapsed = now + 24 * HOUR_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
677 expectedStats.expirationTimeElapsed = now + 18 * HOUR_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
690 expectedStats.expirationTimeElapsed = now; in testUpdateExecutionStatsLocked_NoTimer()
704 expectedStats.expirationTimeElapsed = now; in testUpdateExecutionStatsLocked_NoTimer()
718 expectedStats.expirationTimeElapsed = now + 44 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
731 expectedStats.expirationTimeElapsed = now; in testUpdateExecutionStatsLocked_NoTimer()
746 expectedStats.expirationTimeElapsed = now; in testUpdateExecutionStatsLocked_NoTimer()
762 expectedStats.expirationTimeElapsed = now; in testUpdateExecutionStatsLocked_NoTimer()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java138 public long expirationTimeElapsed; field in QuotaController.ExecutionStats
199 return "expirationTime=" + expirationTimeElapsed + ", " in toString()
221 return this.expirationTimeElapsed == other.expirationTimeElapsed in equals()
247 result = 31 * result + hashLong(expirationTimeElapsed); in hashCode()
1261 || stats.expirationTimeElapsed <= sElapsedRealtimeClock.millis() in getExecutionStatsLocked()
1296 stats.expirationTimeElapsed = nowElapsed + MAX_PERIOD_MS; in updateExecutionStatsLocked()
1305 stats.expirationTimeElapsed = nowElapsed; in updateExecutionStatsLocked()
1432 stats.expirationTimeElapsed = nowElapsed + emptyTimeMs; in updateExecutionStatsLocked()
1445 stats.expirationTimeElapsed = nowElapsed; in invalidateAllExecutionStatsLocked()
1461 stats.expirationTimeElapsed = nowElapsed; in invalidateAllExecutionStatsLocked()
[all …]