Searched refs:DrainType (Results 1 – 9 of 9) 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; 139 public enum DrainType { enum in BatterySipper 158 public BatterySipper(DrainType drainType, Uid uid, double value) { in BatterySipper() 173 if (drainType == DrainType.OVERCOUNTED) { in compareTo() 176 } else if (other.drainType == DrainType.OVERCOUNTED) { in compareTo()
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 5591 enum DrainType { enum 5612 optional DrainType drain_type = 1;
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 7314 if (bs.drainType != BatterySipper.DrainType.APP) { in dumpProtoAppsLocked()
|
/frameworks/base/config/ |
D | preloaded-classes | 4559 com.android.internal.os.BatterySipper$DrainType
|
D | hiddenapi-greylist-max-o.txt | 87687 …com/android/internal/os/BatterySipper$DrainType;->AMBIENT_DISPLAY:Lcom/android/internal/os/Battery… 87688 Lcom/android/internal/os/BatterySipper$DrainType;->BLUETOOTH:Lcom/android/internal/os/BatterySipper… 87689 Lcom/android/internal/os/BatterySipper$DrainType;->CAMERA:Lcom/android/internal/os/BatterySipper$Dr… 87690 Lcom/android/internal/os/BatterySipper$DrainType;->CELL:Lcom/android/internal/os/BatterySipper$Drai… 87691 Lcom/android/internal/os/BatterySipper$DrainType;->FLASHLIGHT:Lcom/android/internal/os/BatterySippe… 87692 Lcom/android/internal/os/BatterySipper$DrainType;->IDLE:Lcom/android/internal/os/BatterySipper$Drai… 87693 Lcom/android/internal/os/BatterySipper$DrainType;->MEMORY:Lcom/android/internal/os/BatterySipper$Dr… 87694 Lcom/android/internal/os/BatterySipper$DrainType;->OVERCOUNTED:Lcom/android/internal/os/BatterySipp… 87695 Lcom/android/internal/os/BatterySipper$DrainType;->PHONE:Lcom/android/internal/os/BatterySipper$Dra… 87696 Lcom/android/internal/os/BatterySipper$DrainType;->SCREEN:Lcom/android/internal/os/BatterySipper$Dr… [all …]
|
D | boot-image-profile.txt | 20409 HSPLcom/android/internal/os/BatterySipper$DrainType;-><init>(Ljava/lang/String;I)V 20410 HPLcom/android/internal/os/BatterySipper$DrainType;->values()[Lcom/android/internal/os/BatterySippe… 37369 Lcom/android/internal/os/BatterySipper$DrainType;
|