Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java390 expectedStats.sessionCountLimit = mQcConstants.MAX_SESSION_COUNT_RARE; in testOnAppRemovedLocked()
430 expectedStats.sessionCountLimit = mQcConstants.MAX_SESSION_COUNT_RARE; in testOnUserRemovedLocked()
464 inputStats.sessionCountLimit = expectedStats.sessionCountLimit = 100; in testUpdateExecutionStatsLocked_NoTimer()
529 inputStats.sessionCountLimit = expectedStats.sessionCountLimit = 2; in testUpdateExecutionStatsLocked_NoTimer()
544 inputStats.sessionCountLimit = expectedStats.sessionCountLimit = 100; in testUpdateExecutionStatsLocked_NoTimer()
641 expectedStats.sessionCountLimit = mQcConstants.MAX_SESSION_COUNT_ACTIVE; in testGetExecutionStatsLocked_Values()
654 expectedStats.sessionCountLimit = mQcConstants.MAX_SESSION_COUNT_WORKING; in testGetExecutionStatsLocked_Values()
669 expectedStats.sessionCountLimit = mQcConstants.MAX_SESSION_COUNT_FREQUENT; in testGetExecutionStatsLocked_Values()
684 expectedStats.sessionCountLimit = mQcConstants.MAX_SESSION_COUNT_RARE; in testGetExecutionStatsLocked_Values()
714 expectedStats.sessionCountLimit = mQcConstants.MAX_SESSION_COUNT_ACTIVE; in testGetExecutionStatsLocked_Values_BeginningOfTime()
[all …]
/frameworks/base/services/core/java/com/android/server/job/controllers/
DQuotaController.java261 public int sessionCountLimit; field in QuotaController.ExecutionStats
319 + "sessionCountLimit=" + sessionCountLimit + ", " in toString()
339 && this.sessionCountLimit == other.sessionCountLimit in equals()
364 result = 31 * result + hashLong(sessionCountLimit); in hashCode()
950 final int sessionCountLimit = mMaxBucketSessionCounts[standbyBucket]; in getExecutionStatsLocked() local
956 || stats.sessionCountLimit != sessionCountLimit) { in getExecutionStatsLocked()
960 stats.sessionCountLimit = sessionCountLimit; in getExecutionStatsLocked()
1046 if (sessionCountInWindow >= stats.sessionCountLimit) { in updateExecutionStatsLocked()
1409 && stats.sessionCountInWindow < stats.sessionCountLimit) { in maybeScheduleStartAlarmLocked()
2750 es.sessionCountLimit); in dumpControllerStateLocked()