Searched refs:newBucket (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | AppStandbyController.java | 691 int newBucket = Math.max(oldBucket, STANDBY_BUCKET_ACTIVE); // Undo EXEMPTED in checkAndUpdateStandbyState() local 701 newBucket = app.lastPredictedBucket; in checkAndUpdateStandbyState() 704 Slog.d(TAG, "Restored predicted newBucket = " + newBucket); in checkAndUpdateStandbyState() 707 newBucket = getBucketForLocked(packageName, userId, in checkAndUpdateStandbyState() 710 Slog.d(TAG, "Evaluated AOSP newBucket = " + newBucket); in checkAndUpdateStandbyState() 718 if (newBucket >= STANDBY_BUCKET_ACTIVE in checkAndUpdateStandbyState() 720 newBucket = STANDBY_BUCKET_ACTIVE; in checkAndUpdateStandbyState() 725 } else if (newBucket >= STANDBY_BUCKET_WORKING_SET in checkAndUpdateStandbyState() 727 newBucket = STANDBY_BUCKET_WORKING_SET; in checkAndUpdateStandbyState() 729 reason = (newBucket == oldBucket) in checkAndUpdateStandbyState() [all …]
|
D | AppIdleHistory.java | 231 int newBucket, int usageReason, long elapsedRealtime, long timeout) { in reportUsage() argument 236 if (newBucket == STANDBY_BUCKET_ACTIVE) { in reportUsage() 239 } else if (newBucket == STANDBY_BUCKET_WORKING_SET) { in reportUsage() 244 newBucket); in reportUsage() 254 if (appUsageHistory.currentBucket > newBucket) { in reportUsage() 255 appUsageHistory.currentBucket = newBucket; in reportUsage() 281 public AppUsageHistory reportUsage(String packageName, int userId, int newBucket, in reportUsage() argument 285 return reportUsage(history, packageName, newBucket, usageReason, nowElapsed, timeout); in reportUsage()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | JobStatus.java | 725 public void setStandbyBucket(int newBucket) { in setStandbyBucket() argument 726 standbyBucket = newBucket; in setStandbyBucket()
|