Home
last modified time | relevance | path

Searched refs:DrainType (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DBatterySipper.java27 public DrainType drainType;
79 public enum DrainType { enum in BatterySipper
94 public BatterySipper(DrainType drainType, Uid uid, double value) { in BatterySipper()
109 if (drainType == DrainType.OVERCOUNTED) { in compareTo()
112 } else if (other.drainType == DrainType.OVERCOUNTED) { in compareTo()
DBatteryStatsHelper.java40 import com.android.internal.os.BatterySipper.DrainType;
466 BatterySipper bs = new BatterySipper(DrainType.UNACCOUNTED, null, amount); in refreshStats()
479 BatterySipper bs = new BatterySipper(DrainType.OVERCOUNTED, null, amount); in refreshStats()
499 final BatterySipper app = new BatterySipper(BatterySipper.DrainType.APP, u, 0); in processAppUsage()
561 addEntry(BatterySipper.DrainType.PHONE, phoneOnTimeMs, phoneOnPower); in addPhoneUsage()
588 addEntry(BatterySipper.DrainType.SCREEN, screenOnTimeMs, power); in addScreenUsage()
593 BatterySipper radio = new BatterySipper(BatterySipper.DrainType.CELL, null, 0); in addRadioUsage()
631 addEntry(BatterySipper.DrainType.IDLE, mTypeBatteryRealtimeUs / 1000, totalPowerMah); in addIdleUsage()
643 BatterySipper bs = new BatterySipper(DrainType.WIFI, null, 0); in addWiFiUsage()
656 BatterySipper bs = new BatterySipper(BatterySipper.DrainType.BLUETOOTH, null, 0); in addBluetoothUsage()
[all …]
/frameworks/base/
Dcompiled-classes-phone5336 com.android.internal.os.BatterySipper$DrainType