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.java77 public long expirationTimeElapsed; field in CountQuotaTracker.ExecutionStats
95 return "expirationTime=" + expirationTimeElapsed + ", " in toString()
106 return this.expirationTimeElapsed == other.expirationTimeElapsed in equals()
118 result = 31 * result + Long.hashCode(expirationTimeElapsed); in hashCode()
195 stats.expirationTimeElapsed = Math.min(stats.expirationTimeElapsed, in noteEvent()
393 if (stats.expirationTimeElapsed <= mInjector.getElapsedRealtime() in getExecutionStatsLocked()
421 stats.expirationTimeElapsed = nowElapsed + mMaxPeriodMs; in updateExecutionStatsLocked()
448 stats.expirationTimeElapsed = nowElapsed + emptyTimeMs; in updateExecutionStatsLocked()
457 appStats.expirationTimeElapsed = nowElapsed; in invalidateAllExecutionStatsLocked()
473 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.java391 expectedStats.expirationTimeElapsed = now + 24 * HOUR_IN_MILLIS; in testOnAppRemovedLocked()
431 expectedStats.expirationTimeElapsed = now + 24 * HOUR_IN_MILLIS; in testOnUserRemovedLocked()
470 expectedStats.expirationTimeElapsed = now + 24 * HOUR_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
477 expectedStats.expirationTimeElapsed = now + 18 * HOUR_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
488 expectedStats.expirationTimeElapsed = now; in testUpdateExecutionStatsLocked_NoTimer()
500 expectedStats.expirationTimeElapsed = now; in testUpdateExecutionStatsLocked_NoTimer()
512 expectedStats.expirationTimeElapsed = now + 44 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer()
523 expectedStats.expirationTimeElapsed = now; in testUpdateExecutionStatsLocked_NoTimer()
536 expectedStats.expirationTimeElapsed = now; in testUpdateExecutionStatsLocked_NoTimer()
550 expectedStats.expirationTimeElapsed = now; in testUpdateExecutionStatsLocked_NoTimer()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java175 public long expirationTimeElapsed; field in QuotaController.ExecutionStats
234 return "expirationTime=" + expirationTimeElapsed + ", " in toString()
255 return this.expirationTimeElapsed == other.expirationTimeElapsed in equals()
280 result = 31 * result + hashLong(expirationTimeElapsed); in hashCode()
844 || stats.expirationTimeElapsed <= sElapsedRealtimeClock.millis() in getExecutionStatsLocked()
876 stats.expirationTimeElapsed = nowElapsed + MAX_PERIOD_MS; in updateExecutionStatsLocked()
885 stats.expirationTimeElapsed = nowElapsed; in updateExecutionStatsLocked()
982 stats.expirationTimeElapsed = nowElapsed + emptyTimeMs; in updateExecutionStatsLocked()
995 stats.expirationTimeElapsed = nowElapsed; in invalidateAllExecutionStatsLocked()
1011 stats.expirationTimeElapsed = nowElapsed; in invalidateAllExecutionStatsLocked()
[all …]