Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsHelperTest.java107 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 …]
DPowerCalculatorTest.java64 BatterySipper app = new BatterySipper(BatterySipper.DrainType.APP, null, 0); in testMediaPowerCalculator()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHelper.java47 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 …]
DBatterySipper.java32 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/
Dhiddenapi-greylist.txt735 Lcom/android/internal/os/BatterySipper$DrainType;->values()[Lcom/android/internal/os/BatterySipper$
Dhiddenapi-greylist-max-o.txt94014 Lcom/android/internal/os/BatterySipper$DrainType;
94015 Lcom/android/internal/os/BatterySipper$DrainType;-><init>()V
94016 …com/android/internal/os/BatterySipper$DrainType;->AMBIENT_DISPLAY:Lcom/android/internal/os/Battery…
94017 Lcom/android/internal/os/BatterySipper$DrainType;->BLUETOOTH:Lcom/android/internal/os/BatterySipper…
94018 Lcom/android/internal/os/BatterySipper$DrainType;->CAMERA:Lcom/android/internal/os/BatterySipper$Dr…
94019 Lcom/android/internal/os/BatterySipper$DrainType;->CELL:Lcom/android/internal/os/BatterySipper$Drai…
94020 Lcom/android/internal/os/BatterySipper$DrainType;->FLASHLIGHT:Lcom/android/internal/os/BatterySippe…
94021 Lcom/android/internal/os/BatterySipper$DrainType;->IDLE:Lcom/android/internal/os/BatterySipper$Drai…
94022 Lcom/android/internal/os/BatterySipper$DrainType;->MEMORY:Lcom/android/internal/os/BatterySipper$Dr…
94023 Lcom/android/internal/os/BatterySipper$DrainType;->OVERCOUNTED:Lcom/android/internal/os/BatterySipp…
[all …]
Dpreloaded-classes4559 com.android.internal.os.BatterySipper$DrainType
Dboot-image-profile.txt20410 HSPLcom/android/internal/os/BatterySipper$DrainType;-><init>(Ljava/lang/String;I)V
20411 HPLcom/android/internal/os/BatterySipper$DrainType;->values()[Lcom/android/internal/os/BatterySippe…
37370 Lcom/android/internal/os/BatterySipper$DrainType;
/frameworks/base/cmds/statsd/src/
Datoms.proto5012 enum DrainType { enum
5033 optional DrainType drain_type = 1;
/frameworks/base/core/java/android/os/
DBatteryStats.java7258 if (bs.drainType != BatterySipper.DrainType.APP) { in dumpProtoAppsLocked()