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.java394 expectedStats.sessionCountLimit = mQcConstants.MAX_SESSION_COUNT_RARE; in testOnAppRemovedLocked()
434 expectedStats.sessionCountLimit = mQcConstants.MAX_SESSION_COUNT_RARE; in testOnUserRemovedLocked()
468 inputStats.sessionCountLimit = expectedStats.sessionCountLimit = 100; in testUpdateExecutionStatsLocked_NoTimer()
533 inputStats.sessionCountLimit = expectedStats.sessionCountLimit = 2; in testUpdateExecutionStatsLocked_NoTimer()
548 inputStats.sessionCountLimit = expectedStats.sessionCountLimit = 100; in testUpdateExecutionStatsLocked_NoTimer()
634 inputStats.sessionCountLimit = expectedStats.sessionCountLimit = in testUpdateExecutionStatsLocked_WithTimer()
718 expectedStats.sessionCountLimit = mQcConstants.MAX_SESSION_COUNT_ACTIVE; in testGetExecutionStatsLocked_Values()
731 expectedStats.sessionCountLimit = mQcConstants.MAX_SESSION_COUNT_WORKING; in testGetExecutionStatsLocked_Values()
746 expectedStats.sessionCountLimit = mQcConstants.MAX_SESSION_COUNT_FREQUENT; in testGetExecutionStatsLocked_Values()
761 expectedStats.sessionCountLimit = mQcConstants.MAX_SESSION_COUNT_RARE; in testGetExecutionStatsLocked_Values()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java179 public int sessionCountLimit; field in QuotaController.ExecutionStats
237 + "sessionCountLimit=" + sessionCountLimit + ", " in toString()
258 && this.sessionCountLimit == other.sessionCountLimit in equals()
283 result = 31 * result + hashLong(sessionCountLimit); in hashCode()
841 final int sessionCountLimit = mMaxBucketSessionCounts[standbyBucket]; in getExecutionStatsLocked() local
847 || stats.sessionCountLimit != sessionCountLimit) { in getExecutionStatsLocked()
851 stats.sessionCountLimit = sessionCountLimit; in getExecutionStatsLocked()
867 if (stats.jobCountLimit == 0 || stats.sessionCountLimit == 0) { in updateExecutionStatsLocked()
948 if (sessionCountInWindow >= stats.sessionCountLimit) { in updateExecutionStatsLocked()
1313 && stats.sessionCountInWindow < stats.sessionCountLimit) { in maybeScheduleStartAlarmLocked()
[all …]