Searched refs:ExecutionStats (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/core/java/com/android/server/utils/quota/ |
D | CountQuotaTracker.java | 72 static class ExecutionStats { class in CountQuotaTracker 104 if (obj instanceof ExecutionStats) { in equals() 105 ExecutionStats other = (ExecutionStats) obj; in equals() 134 private final UptcMap<ExecutionStats> mExecutionStatsCache = new UptcMap<>(); 193 final ExecutionStats stats = getExecutionStatsLocked(userId, packageName, tag); in noteEvent() 363 private boolean isWithinQuotaLocked(@NonNull final ExecutionStats stats) { in isWithinQuotaLocked() 368 private boolean isUnderCountQuotaLocked(@NonNull ExecutionStats stats) { in isUnderCountQuotaLocked() 376 ExecutionStats getExecutionStatsLocked(final int userId, @NonNull final String packageName, in getExecutionStatsLocked() 383 private ExecutionStats getExecutionStatsLocked(final int userId, in getExecutionStatsLocked() 386 final ExecutionStats stats = in getExecutionStatsLocked() [all …]
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | QuotaController.java | 170 static class ExecutionStats { class in QuotaController 253 if (obj instanceof ExecutionStats) { in equals() 254 ExecutionStats other = (ExecutionStats) obj; in equals() 314 private final SparseArrayMap<ExecutionStats[]> mExecutionStatsCache = new SparseArrayMap<>(); 669 ExecutionStats stats = getExecutionStatsLocked(userId, packageName, standbyBucket); in isWithinQuotaLocked() 675 private boolean isUnderJobCountQuotaLocked(@NonNull ExecutionStats stats, in isUnderJobCountQuotaLocked() 685 private boolean isUnderSessionCountQuotaLocked(@NonNull ExecutionStats stats, in isUnderSessionCountQuotaLocked() 722 private long getRemainingExecutionTimeLocked(@NonNull ExecutionStats stats) { in getRemainingExecutionTimeLocked() 746 final ExecutionStats stats = getExecutionStatsLocked(userId, packageName, standbyBucket); in getTimeUntilQuotaConsumedLocked() 815 ExecutionStats getExecutionStatsLocked(final int userId, @NonNull final String packageName, in getExecutionStatsLocked() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/quota/ |
D | CountQuotaTrackerTest.java | 57 import com.android.server.utils.quota.CountQuotaTracker.ExecutionStats; 319 ExecutionStats expectedStats = new ExecutionStats(); in testUpdateExecutionStatsLocked_NoTimer() 320 ExecutionStats inputStats = new ExecutionStats(); in testUpdateExecutionStatsLocked_NoTimer() 422 ExecutionStats expectedStats = new ExecutionStats(); in testGetExecutionStatsLocked_Values() 477 ExecutionStats expectedStats = new ExecutionStats(); in testGetExecutionStatsLocked_Values_BeginningOfTime() 734 ExecutionStats stats = in testLogEvent_GlobalQuotaFree() 755 ExecutionStats stats = in testLogEvent_GlobalQuotaNotFree() 774 ExecutionStats stats = in testLogEvent_UptcQuotaFree() 795 ExecutionStats stats = in testLogEvent_UptcQuotaNotFree()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | QuotaControllerTest.java | 79 import com.android.server.job.controllers.QuotaController.ExecutionStats; 390 ExecutionStats expectedStats = new ExecutionStats(); in testOnAppRemovedLocked() 430 ExecutionStats expectedStats = new ExecutionStats(); in testOnUserRemovedLocked() 463 ExecutionStats expectedStats = new ExecutionStats(); in testUpdateExecutionStatsLocked_NoTimer() 464 ExecutionStats inputStats = new ExecutionStats(); in testUpdateExecutionStatsLocked_NoTimer() 630 ExecutionStats expectedStats = new ExecutionStats(); in testUpdateExecutionStatsLocked_WithTimer() 631 ExecutionStats inputStats = new ExecutionStats(); in testUpdateExecutionStatsLocked_WithTimer() 713 ExecutionStats expectedStats = new ExecutionStats(); in testGetExecutionStatsLocked_Values() 786 ExecutionStats expectedStats = new ExecutionStats(); in testGetExecutionStatsLocked_Values_BeginningOfTime() 983 final ExecutionStats originalStatsActive = mQuotaController.getExecutionStatsLocked(0, in testGetExecutionStatsLocked_Caching() [all …]
|
/frameworks/base/core/proto/android/util/ |
D | quotatracker.proto | 100 message ExecutionStats { message 128 repeated ExecutionStats execution_stats = 4;
|
/frameworks/base/core/proto/android/server/ |
D | jobscheduler.proto | 575 message ExecutionStats { message 676 repeated ExecutionStats execution_stats = 4;
|
/frameworks/base/services/ |
D | art-profile | 32909 HSPLcom/android/server/utils/quota/CountQuotaTracker$ExecutionStats;-><init>()V 32910 HPLcom/android/server/utils/quota/CountQuotaTracker$ExecutionStats;->toString()Ljava/lang/String; 32918 …va/lang/String;Ljava/lang/String;)Lcom/android/server/utils/quota/CountQuotaTracker$ExecutionStats; 32919 …a/lang/String;Ljava/lang/String;Z)Lcom/android/server/utils/quota/CountQuotaTracker$ExecutionStats; 32924 …acker;->isUnderCountQuotaLocked(Lcom/android/server/utils/quota/CountQuotaTracker$ExecutionStats;)Z 32927 …taTracker;->isWithinQuotaLocked(Lcom/android/server/utils/quota/CountQuotaTracker$ExecutionStats;)Z 32929 …a/lang/String;Ljava/lang/String;Lcom/android/server/utils/quota/CountQuotaTracker$ExecutionStats;)V 32930 …a/lang/String;Ljava/lang/String;Lcom/android/server/utils/quota/CountQuotaTracker$ExecutionStats;)V 32933 …r;->lambda$new$5(Ljava/lang/Void;)Lcom/android/server/utils/quota/CountQuotaTracker$ExecutionStats; 32938 …a/lang/String;Ljava/lang/String;Lcom/android/server/utils/quota/CountQuotaTracker$ExecutionStats;)V [all …]
|