Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java241 int oldBucket = findBatteryLevelBucket(oldBatteryLevel); in onReceive() local
252 Slog.d(TAG, "bucket " + oldBucket + " --> " + bucket); in onReceive()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppStandbyController.java690 final int oldBucket = app.currentBucket; in checkAndUpdateStandbyState() local
691 int newBucket = Math.max(oldBucket, STANDBY_BUCKET_ACTIVE); // Undo EXEMPTED in checkAndUpdateStandbyState()
729 reason = (newBucket == oldBucket) in checkAndUpdateStandbyState()
737 Slog.d(TAG, " Old bucket=" + oldBucket in checkAndUpdateStandbyState()
740 if (oldBucket < newBucket || predictionLate) { in checkAndUpdateStandbyState()