Searched refs:DrainType (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/com/android/internal/os/ |
D | BatterySipper.java | 28 public DrainType drainType; 51 public enum DrainType { enum in BatterySipper 65 public BatterySipper(DrainType drainType, Uid uid, double[] values) { in BatterySipper() 85 if (drainType == DrainType.OVERCOUNTED) { in compareTo() 88 } else if (other.drainType == DrainType.OVERCOUNTED) { in compareTo()
|
D | BatteryStatsHelper.java | 47 import com.android.internal.os.BatterySipper.DrainType; 380 addEntryNoTotal(BatterySipper.DrainType.UNACCOUNTED, 0, amount); in refreshStats() 383 addEntryNoTotal(BatterySipper.DrainType.OVERCOUNTED, 0, amount); in refreshStats() 586 BatterySipper app = new BatterySipper(BatterySipper.DrainType.APP, u, in processAppUsage() 667 BatterySipper bs = addEntry(BatterySipper.DrainType.PHONE, phoneOnTimeMs, phoneOnPower); in addPhoneUsage() 691 addEntry(BatterySipper.DrainType.SCREEN, screenOnTimeMs, power); in addScreenUsage() 731 addEntry(BatterySipper.DrainType.CELL, signalTimeMs, power); in addRadioUsage() 778 BatterySipper bs = addEntry(BatterySipper.DrainType.WIFI, runningTimeMs, in addWiFiUsage() 793 addEntry(BatterySipper.DrainType.IDLE, idleTimeMs, idlePower); in addIdleUsage() 813 BatterySipper bs = addEntry(BatterySipper.DrainType.BLUETOOTH, btOnTimeMs, in addBluetoothUsage() [all …]
|