Home
last modified time | relevance | path

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

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java828 ExecutionStats[] appStats = mExecutionStatsCache.get(userId, packageName); in getExecutionStatsLocked() local
829 if (appStats == null) { in getExecutionStatsLocked()
830 appStats = new ExecutionStats[mBucketPeriodsMs.length]; in getExecutionStatsLocked()
831 mExecutionStatsCache.add(userId, packageName, appStats); in getExecutionStatsLocked()
833 ExecutionStats stats = appStats[standbyBucket]; in getExecutionStatsLocked()
836 appStats[standbyBucket] = stats; in getExecutionStatsLocked()
990 mExecutionStatsCache.forEach((appStats) -> { in invalidateAllExecutionStatsLocked() argument
991 if (appStats != null) { in invalidateAllExecutionStatsLocked()
992 for (int i = 0; i < appStats.length; ++i) { in invalidateAllExecutionStatsLocked()
993 ExecutionStats stats = appStats[i]; in invalidateAllExecutionStatsLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/utils/quota/
DCountQuotaTracker.java455 mExecutionStatsCache.forEach((appStats) -> { in invalidateAllExecutionStatsLocked() argument
456 if (appStats != null) { in invalidateAllExecutionStatsLocked()
457 appStats.expirationTimeElapsed = nowElapsed; in invalidateAllExecutionStatsLocked()
465 final ArrayMap<String, ExecutionStats> appStats = in invalidateAllExecutionStatsLocked() local
467 if (appStats != null) { in invalidateAllExecutionStatsLocked()
469 final int numStats = appStats.size(); in invalidateAllExecutionStatsLocked()
471 final ExecutionStats stats = appStats.valueAt(i); in invalidateAllExecutionStatsLocked()