Searched refs:DrainType (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsHelperTest.java | 107 mNormalBatterySipper.drainType = BatterySipper.DrainType.APP; in setUp() 113 mScreenBatterySipper.drainType = BatterySipper.DrainType.SCREEN; in setUp() 116 mSystemBatterySipper.drainType = BatterySipper.DrainType.APP; in setUp() 121 mOvercountedBatterySipper.drainType = BatterySipper.DrainType.OVERCOUNTED; in setUp() 124 mUnaccountedBatterySipper.drainType = BatterySipper.DrainType.UNACCOUNTED; in setUp() 127 mWifiBatterySipper.drainType = BatterySipper.DrainType.WIFI; in setUp() 130 mBluetoothBatterySipper.drainType = BatterySipper.DrainType.BLUETOOTH; in setUp() 133 mIdleBatterySipper.drainType = BatterySipper.DrainType.IDLE; in setUp() 143 mNormalBatterySipper.drainType = BatterySipper.DrainType.UNACCOUNTED; in testShouldHideSipper_TypeUnAccounted_ReturnTrue() 149 mNormalBatterySipper.drainType = BatterySipper.DrainType.OVERCOUNTED; in testShouldHideSipper_TypeOverAccounted_ReturnTrue() [all …]
|
D | PowerCalculatorTest.java | 64 BatterySipper app = new BatterySipper(BatterySipper.DrainType.APP, null, 0); in testMediaPowerCalculator()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsHelper.java | 47 import com.android.internal.os.BatterySipper.DrainType; 529 BatterySipper bs = new BatterySipper(DrainType.UNACCOUNTED, null, amount); in refreshStats() 542 BatterySipper bs = new BatterySipper(DrainType.OVERCOUNTED, null, amount); in refreshStats() 577 final BatterySipper app = new BatterySipper(BatterySipper.DrainType.APP, u, 0); in processAppUsage() 643 addEntry(BatterySipper.DrainType.PHONE, phoneOnTimeMs, phoneOnPower); in addPhoneUsage() 670 addEntry(BatterySipper.DrainType.SCREEN, screenOnTimeMs, power); in addScreenUsage() 685 addEntry(DrainType.AMBIENT_DISPLAY, ambientDisplayMs, power); in addAmbientDisplayUsage() 690 BatterySipper radio = new BatterySipper(BatterySipper.DrainType.CELL, null, 0); in addRadioUsage() 728 addEntry(BatterySipper.DrainType.IDLE, mTypeBatteryRealtimeUs / 1000, totalPowerMah); in addIdleUsage() 740 BatterySipper bs = new BatterySipper(DrainType.WIFI, null, 0); in addWiFiUsage() [all …]
|
D | BatterySipper.java | 32 public DrainType drainType; 137 public enum DrainType { enum in BatterySipper 156 public BatterySipper(DrainType drainType, Uid uid, double value) { in BatterySipper() 171 if (drainType == DrainType.OVERCOUNTED) { in compareTo() 174 } else if (other.drainType == DrainType.OVERCOUNTED) { in compareTo()
|
/frameworks/base/config/ |
D | hiddenapi-greylist.txt | 735 Lcom/android/internal/os/BatterySipper$DrainType;->values()[Lcom/android/internal/os/BatterySipper$…
|
D | preloaded-classes | 4559 com.android.internal.os.BatterySipper$DrainType
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 5012 enum DrainType { enum 5033 optional DrainType drain_type = 1;
|