Home
last modified time | relevance | path

Searched refs:ExecutionStats (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/utils/quota/
DCountQuotaTracker.java71 static class ExecutionStats { class in CountQuotaTracker
103 if (obj instanceof ExecutionStats) { in equals()
104 ExecutionStats other = (ExecutionStats) obj; in equals()
133 private final UptcMap<ExecutionStats> mExecutionStatsCache = new UptcMap<>();
192 final ExecutionStats stats = getExecutionStatsLocked(userId, packageName, tag); in noteEvent()
361 private boolean isWithinQuotaLocked(@NonNull final ExecutionStats stats) { in isWithinQuotaLocked()
366 private boolean isUnderCountQuotaLocked(@NonNull ExecutionStats stats) { in isUnderCountQuotaLocked()
374 ExecutionStats getExecutionStatsLocked(final int userId, @NonNull final String packageName, in getExecutionStatsLocked()
381 private ExecutionStats getExecutionStatsLocked(final int userId, in getExecutionStatsLocked()
384 final ExecutionStats stats = in getExecutionStatsLocked()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java133 static class ExecutionStats { class in QuotaController
219 if (obj instanceof ExecutionStats) { in equals()
220 ExecutionStats other = (ExecutionStats) obj; in equals()
291 private final SparseArrayMap<String, ExecutionStats[]> mExecutionStatsCache =
909 final ExecutionStats stats = getExecutionStatsLocked(jobStatus.getSourceUserId(),
945 ExecutionStats stats = getExecutionStatsLocked(userId, packageName, standbyBucket);
952 private boolean isUnderJobCountQuotaLocked(@NonNull ExecutionStats stats) { in isUnderJobCountQuotaLocked()
961 private boolean isUnderSessionCountQuotaLocked(@NonNull ExecutionStats stats) { in isUnderSessionCountQuotaLocked()
997 private long getRemainingExecutionTimeLocked(@NonNull ExecutionStats stats) { in getRemainingExecutionTimeLocked()
1072 final ExecutionStats stats = getExecutionStatsLocked(userId, packageName, standbyBucket); in getTimeUntilQuotaConsumedLocked()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/quota/
DCountQuotaTrackerTest.java57 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()
747 ExecutionStats stats = in testLogEvent_GlobalQuotaFree()
768 ExecutionStats stats = in testLogEvent_GlobalQuotaNotFree()
787 ExecutionStats stats = in testLogEvent_UptcQuotaFree()
808 ExecutionStats stats = in testLogEvent_UptcQuotaNotFree()
/frameworks/base/core/proto/android/util/
Dquotatracker.proto100 message ExecutionStats { message
128 repeated ExecutionStats execution_stats = 4;
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java95 import com.android.server.job.controllers.QuotaController.ExecutionStats;
556 ExecutionStats expectedStats = new ExecutionStats(); in testOnAppRemovedLocked()
617 ExecutionStats expectedStats = new ExecutionStats(); in testOnUserRemovedLocked()
659 ExecutionStats expectedStats = new ExecutionStats(); in testUpdateExecutionStatsLocked_NoTimer()
660 ExecutionStats inputStats = new ExecutionStats(); in testUpdateExecutionStatsLocked_NoTimer()
851 ExecutionStats expectedStats = new ExecutionStats(); in testUpdateExecutionStatsLocked_WithTimer()
852 ExecutionStats inputStats = new ExecutionStats(); in testUpdateExecutionStatsLocked_WithTimer()
949 ExecutionStats expectedStats = new ExecutionStats(); in testGetExecutionStatsLocked_Values()
1032 ExecutionStats expectedStats = new ExecutionStats(); in testGetExecutionStatsLocked_Values_BeginningOfTime()
1251 final ExecutionStats originalStatsActive; in testGetExecutionStatsLocked_Caching()
[all …]
/frameworks/base/core/proto/android/server/
Djobscheduler.proto615 message ExecutionStats { message
729 repeated ExecutionStats execution_stats = 4;
/frameworks/base/services/
Dart-profile1883 …a/lang/String;IZ)Lcom/android/server/job/controllers/QuotaController$ExecutionStats;+]Landroid/uti…
1886 …tRemainingExecutionTimeLocked(Lcom/android/server/job/controllers/QuotaController$ExecutionStats;)J
1903 …java/lang/String;Lcom/android/server/job/controllers/QuotaController$ExecutionStats;)V+]Landroid/u…
3376 …Ljava/lang/String;)Lcom/android/server/utils/quota/CountQuotaTracker$ExecutionStats;+]Lcom/android…
3377 …java/lang/String;Z)Lcom/android/server/utils/quota/CountQuotaTracker$ExecutionStats;+]Landroid/uti…
3381 …;Ljava/lang/String;Lcom/android/server/utils/quota/CountQuotaTracker$ExecutionStats;)V+]Landroid/u…
Dart-wear-profile13389 PLcom/android/server/job/controllers/QuotaController$ExecutionStats;-><init>()V
13473 …tatsLocked(ILjava/lang/String;I)Lcom/android/server/job/controllers/QuotaController$ExecutionStats;
13474 …atsLocked(ILjava/lang/String;IZ)Lcom/android/server/job/controllers/QuotaController$ExecutionStats;
13482 …->isUnderJobCountQuotaLocked(Lcom/android/server/job/controllers/QuotaController$ExecutionStats;I)Z
13483 …UnderSessionCountQuotaLocked(Lcom/android/server/job/controllers/QuotaController$ExecutionStats;I)Z
13500 …tatsLocked(ILjava/lang/String;Lcom/android/server/job/controllers/QuotaController$ExecutionStats;)V
24588 PLcom/android/server/utils/quota/CountQuotaTracker$ExecutionStats;-><init>()V
24589 …3xHBfIQStDjbYyHs(Ljava/lang/Void;)Lcom/android/server/utils/quota/CountQuotaTracker$ExecutionStats;
24595 …va/lang/String;Ljava/lang/String;)Lcom/android/server/utils/quota/CountQuotaTracker$ExecutionStats;
24596 …a/lang/String;Ljava/lang/String;Z)Lcom/android/server/utils/quota/CountQuotaTracker$ExecutionStats;
[all …]