Home
last modified time | relevance | path

Searched refs:countLimit (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/utils/quota/
H A DCountQuotaTracker.java81 public int countLimit; field in CountQuotaTracker.ExecutionStats
96 + "countLimit=" + countLimit + ", " in toString()
107 && this.countLimit == other.countLimit in equals()
119 result = 31 * result + countLimit; in hashCode()
196 if (stats.countInWindow == stats.countLimit) { in noteEvent()
203 } else if (stats.countLimit > 9 in noteEvent()
367 return stats.countInWindow < stats.countLimit; in isUnderCountQuotaLocked()
393 || stats.countLimit != countLimit) { in getExecutionStatsLocked()
396 stats.countLimit = countLimit; in getExecutionStatsLocked()
409 if (stats.countLimit == 0) { in updateExecutionStatsLocked()
[all …]
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/quota/
H A DCountQuotaTrackerTest.java323 inputStats.countLimit = expectedStats.countLimit = 3; in testUpdateExecutionStatsLocked_NoTimer()
427 expectedStats.countLimit = 10; in testGetExecutionStatsLocked_Values()
436 expectedStats.countLimit = 9; in testGetExecutionStatsLocked_Values()
445 expectedStats.countLimit = 4; in testGetExecutionStatsLocked_Values()
455 expectedStats.countLimit = 3; in testGetExecutionStatsLocked_Values()
480 expectedStats.countLimit = 10; in testGetExecutionStatsLocked_Values_BeginningOfTime()