Searched refs:DrainType (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsHelperTest.java | 106 mNormalBatterySipper.drainType = BatterySipper.DrainType.APP; in setUp() 112 mScreenBatterySipper.drainType = BatterySipper.DrainType.SCREEN; in setUp() 115 mSystemBatterySipper.drainType = BatterySipper.DrainType.APP; in setUp() 120 mOvercountedBatterySipper.drainType = BatterySipper.DrainType.OVERCOUNTED; in setUp() 123 mUnaccountedBatterySipper.drainType = BatterySipper.DrainType.UNACCOUNTED; in setUp() 126 mWifiBatterySipper.drainType = BatterySipper.DrainType.WIFI; in setUp() 129 mBluetoothBatterySipper.drainType = BatterySipper.DrainType.BLUETOOTH; in setUp() 132 mIdleBatterySipper.drainType = BatterySipper.DrainType.IDLE; in setUp() 142 mNormalBatterySipper.drainType = BatterySipper.DrainType.UNACCOUNTED; in testShouldHideSipper_TypeUnAccounted_ReturnTrue() 148 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 | 45 import com.android.internal.os.BatterySipper.DrainType; 507 BatterySipper bs = new BatterySipper(DrainType.UNACCOUNTED, null, amount); in refreshStats() 520 BatterySipper bs = new BatterySipper(DrainType.OVERCOUNTED, null, amount); in refreshStats() 555 final BatterySipper app = new BatterySipper(BatterySipper.DrainType.APP, u, 0); in processAppUsage() 621 addEntry(BatterySipper.DrainType.PHONE, phoneOnTimeMs, phoneOnPower); in addPhoneUsage() 648 addEntry(BatterySipper.DrainType.SCREEN, screenOnTimeMs, power); in addScreenUsage() 663 addEntry(DrainType.AMBIENT_DISPLAY, ambientDisplayMs, power); in addAmbientDisplayUsage() 668 BatterySipper radio = new BatterySipper(BatterySipper.DrainType.CELL, null, 0); in addRadioUsage() 706 addEntry(BatterySipper.DrainType.IDLE, mTypeBatteryRealtimeUs / 1000, totalPowerMah); in addIdleUsage() 718 BatterySipper bs = new BatterySipper(DrainType.WIFI, null, 0); in addWiFiUsage() [all …]
|
D | BatterySipper.java | 28 public DrainType drainType; 119 public enum DrainType { enum in BatterySipper 136 public BatterySipper(DrainType drainType, Uid uid, double value) { in BatterySipper() 151 if (drainType == DrainType.OVERCOUNTED) { in compareTo() 154 } else if (other.drainType == DrainType.OVERCOUNTED) { in compareTo()
|
/frameworks/base/config/ |
D | hiddenapi-light-greylist.txt | 7638 Lcom/android/internal/os/BatterySipper$DrainType;->APP:Lcom/android/internal/os/BatterySipper$Drain… 7639 Lcom/android/internal/os/BatterySipper$DrainType;->values()[Lcom/android/internal/os/BatterySipper$… 7640 Lcom/android/internal/os/BatterySipper;-><init>(Lcom/android/internal/os/BatterySipper$DrainType;La… 7645 Lcom/android/internal/os/BatterySipper;->drainType:Lcom/android/internal/os/BatterySipper$DrainType;
|
D | boot-image-profile.txt | 8614 HPLcom/android/internal/os/BatterySipper$DrainType;-><init>(Ljava/lang/String;I)V 8615 HPLcom/android/internal/os/BatterySipper$DrainType;->values()[Lcom/android/internal/os/BatterySippe… 8616 HPLcom/android/internal/os/BatterySipper;-><init>(Lcom/android/internal/os/BatterySipper$DrainType;… 59898 Lcom/android/internal/os/BatterySipper$DrainType;
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 7137 if (bs.drainType != BatterySipper.DrainType.APP) { in dumpProtoAppsLocked()
|