Searched refs:inQuotaTimeElapsed (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/utils/quota/ |
D | CountQuotaTracker.java | 91 public long inQuotaTimeElapsed; field in CountQuotaTracker.ExecutionStats 99 + "inQuotaTime=" + inQuotaTimeElapsed; in toString() 110 && this.inQuotaTimeElapsed == other.inQuotaTimeElapsed; in equals() 122 result = 31 * result + Long.hashCode(inQuotaTimeElapsed); in hashCode() 202 stats.inQuotaTimeElapsed = times.peekFirst() + stats.windowSizeMs; in noteEvent() 292 return getExecutionStatsLocked(userId, packageName, tag).inQuotaTimeElapsed; in getInQuotaTimeElapsedLocked() 413 stats.inQuotaTimeElapsed = Long.MAX_VALUE; in updateExecutionStatsLocked() 415 stats.inQuotaTimeElapsed = 0; in updateExecutionStatsLocked() 443 stats.inQuotaTimeElapsed = Math.max(stats.inQuotaTimeElapsed, in updateExecutionStatsLocked() 798 stats.inQuotaTimeElapsed); in dump()
|
D | QuotaTracker.java | 481 void addAlarmLocked(@NonNull Uptc uptc, long inQuotaTimeElapsed) { in addAlarmLocked() argument 483 mAlarmQueue.offer(new Pair<>(uptc, inQuotaTimeElapsed)); in addAlarmLocked()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | QuotaController.java | 203 public long inQuotaTimeElapsed; field in QuotaController.ExecutionStats 243 + "inQuotaTime=" + inQuotaTimeElapsed + ", " in toString() 264 && this.inQuotaTimeElapsed == other.inQuotaTimeElapsed in equals() 289 result = 31 * result + hashLong(inQuotaTimeElapsed); in hashCode() 869 stats.inQuotaTimeElapsed = Long.MAX_VALUE; in updateExecutionStatsLocked() 871 stats.inQuotaTimeElapsed = 0; in updateExecutionStatsLocked() 887 stats.inQuotaTimeElapsed = Math.max(stats.inQuotaTimeElapsed, in updateExecutionStatsLocked() 891 stats.inQuotaTimeElapsed = Math.max(stats.inQuotaTimeElapsed, in updateExecutionStatsLocked() 895 stats.inQuotaTimeElapsed = Math.max(stats.inQuotaTimeElapsed, in updateExecutionStatsLocked() 934 stats.inQuotaTimeElapsed = Math.max(stats.inQuotaTimeElapsed, in updateExecutionStatsLocked() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/quota/ |
D | CountQuotaTrackerTest.java | 372 expectedStats.inQuotaTimeElapsed = now; in testUpdateExecutionStatsLocked_NoTimer() 379 expectedStats.inQuotaTimeElapsed = now + HOUR_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer() 386 expectedStats.inQuotaTimeElapsed = now + 4 * HOUR_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer() 393 expectedStats.inQuotaTimeElapsed = now + 5 * HOUR_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer() 447 expectedStats.inQuotaTimeElapsed = now + HOUR_IN_MILLIS; in testGetExecutionStatsLocked_Values() 457 expectedStats.inQuotaTimeElapsed = now + 19 * HOUR_IN_MILLIS; in testGetExecutionStatsLocked_Values()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | QuotaControllerTest.java | 542 expectedStats.inQuotaTimeElapsed = now + 11 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer() 556 expectedStats.inQuotaTimeElapsed = now + 5 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer() 571 expectedStats.inQuotaTimeElapsed = now + 65 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer() 584 expectedStats.inQuotaTimeElapsed = now + 4 * HOUR_IN_MILLIS + 5 * MINUTE_IN_MILLIS; in testUpdateExecutionStatsLocked_NoTimer() 602 expectedStats.inQuotaTimeElapsed = now + 6 * HOUR_IN_MILLIS + MINUTE_IN_MILLIS in testUpdateExecutionStatsLocked_NoTimer() 619 expectedStats.inQuotaTimeElapsed = now + 6 * HOUR_IN_MILLIS + MINUTE_IN_MILLIS in testUpdateExecutionStatsLocked_NoTimer() 669 expectedStats.inQuotaTimeElapsed = in testUpdateExecutionStatsLocked_WithTimer() 689 expectedStats.inQuotaTimeElapsed = in testUpdateExecutionStatsLocked_WithTimer() 738 expectedStats.inQuotaTimeElapsed = now + 3 * MINUTE_IN_MILLIS in testGetExecutionStatsLocked_Values() 753 expectedStats.inQuotaTimeElapsed = now + 6 * HOUR_IN_MILLIS + 3 * MINUTE_IN_MILLIS in testGetExecutionStatsLocked_Values() [all …]
|