Searched refs:ExecutionStats (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | QuotaController.java | 252 static class ExecutionStats { class in QuotaController 334 if (obj instanceof ExecutionStats) { in equals() 335 ExecutionStats other = (ExecutionStats) obj; in equals() 395 private final UserPackageMap<ExecutionStats[]> mExecutionStatsCache = new UserPackageMap<>(); 778 ExecutionStats stats = getExecutionStatsLocked(userId, packageName, standbyBucket); in isWithinQuotaLocked() 784 private boolean isUnderJobCountQuotaLocked(@NonNull ExecutionStats stats, in isUnderJobCountQuotaLocked() 794 private boolean isUnderSessionCountQuotaLocked(@NonNull ExecutionStats stats, in isUnderSessionCountQuotaLocked() 831 private long getRemainingExecutionTimeLocked(@NonNull ExecutionStats stats) { in getRemainingExecutionTimeLocked() 855 final ExecutionStats stats = getExecutionStatsLocked(userId, packageName, standbyBucket); in getTimeUntilQuotaConsumedLocked() 924 ExecutionStats getExecutionStatsLocked(final int userId, @NonNull final String packageName, in getExecutionStatsLocked() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | QuotaControllerTest.java | 77 import com.android.server.job.controllers.QuotaController.ExecutionStats; 386 ExecutionStats expectedStats = new ExecutionStats(); in testOnAppRemovedLocked() 426 ExecutionStats expectedStats = new ExecutionStats(); in testOnUserRemovedLocked() 459 ExecutionStats expectedStats = new ExecutionStats(); in testUpdateExecutionStatsLocked_NoTimer() 460 ExecutionStats inputStats = new ExecutionStats(); in testUpdateExecutionStatsLocked_NoTimer() 636 ExecutionStats expectedStats = new ExecutionStats(); in testGetExecutionStatsLocked_Values() 709 ExecutionStats expectedStats = new ExecutionStats(); in testGetExecutionStatsLocked_Values_BeginningOfTime() 906 final ExecutionStats originalStatsActive = mQuotaController.getExecutionStatsLocked(0, in testGetExecutionStatsLocked_Caching() 908 final ExecutionStats originalStatsWorking = mQuotaController.getExecutionStatsLocked(0, in testGetExecutionStatsLocked_Caching() 910 final ExecutionStats originalStatsFrequent = mQuotaController.getExecutionStatsLocked(0, in testGetExecutionStatsLocked_Caching() [all …]
|
/frameworks/base/core/proto/android/server/ |
D | jobscheduler.proto | 514 message ExecutionStats { message 616 repeated ExecutionStats execution_stats = 4;
|
/frameworks/base/services/ |
D | art-profile | 7779 …atsLocked(ILjava/lang/String;IZ)Lcom/android/server/job/controllers/QuotaController$ExecutionStats; 7783 …->isUnderJobCountQuotaLocked(Lcom/android/server/job/controllers/QuotaController$ExecutionStats;I)Z 7799 …tatsLocked(ILjava/lang/String;Lcom/android/server/job/controllers/QuotaController$ExecutionStats;)V 19368 Lcom/android/server/job/controllers/QuotaController$ExecutionStats;
|