Home
last modified time | relevance | path

Searched refs:BatterySipper (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsHelperTest.java80 private BatterySipper mWifiBatterySipper;
82 private BatterySipper mBluetoothBatterySipper;
84 private BatterySipper mIdleBatterySipper;
86 private BatterySipper mNormalBatterySipper;
88 private BatterySipper mScreenBatterySipper;
90 private BatterySipper mOvercountedBatterySipper;
92 private BatterySipper mUnaccountedBatterySipper;
94 private BatterySipper mSystemBatterySipper;
96 private BatterySipper mCellBatterySipper;
107 mNormalBatterySipper.drainType = BatterySipper.DrainType.APP; in setUp()
[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;
94 private final List<BatterySipper> mUsageList = new ArrayList<>();
99 private final List<BatterySipper> mWifiSippers = new ArrayList<>();
104 private final List<BatterySipper> mBluetoothSippers = new ArrayList<>();
106 private final SparseArray<List<BatterySipper>> mUserSippers = new SparseArray<>();
108 private final List<BatterySipper> mMobilemsppList = new ArrayList<>();
481 BatterySipper bs = mUsageList.get(i); in refreshStats()
489 List<BatterySipper> user = mUserSippers.valueAt(i); in refreshStats()
491 BatterySipper bs = user.get(j); in refreshStats()
498 Collections.sort(mMobilemsppList, new Comparator<BatterySipper>() { in refreshStats()
[all …]
DBatterySipper.java26 public class BatterySipper implements Comparable<BatterySipper> { class
158 public BatterySipper(DrainType drainType, Uid uid, double value) { in BatterySipper() method in BatterySipper
170 public int compareTo(BatterySipper other) { in compareTo()
205 public void add(BatterySipper other) { in add()
DPowerCalculator.java35 public abstract void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
49 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs, in calculateRemaining()
DMemoryPowerCalculator.java25 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
29 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs, in calculateRemaining()
DWakelockPowerCalculator.java33 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
61 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs, in calculateRemaining()
DBluetoothPowerCalculator.java37 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
67 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs, in calculateRemaining()
DWifiPowerEstimator.java51 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
88 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs, in calculateRemaining()
DWifiPowerCalculator.java41 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
75 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs, in calculateRemaining()
DCameraPowerCalculator.java33 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
DFlashlightPowerCalculator.java31 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
DMobileRadioPowerCalculator.java84 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
118 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs, in calculateRemaining()
DMediaPowerCalculator.java36 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
DSensorPowerCalculator.java38 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
DCpuPowerCalculator.java33 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java120 import com.android.internal.os.BatterySipper;
1786 final List<BatterySipper> sippers = getBatteryStatsHelper().getUsageList(); in pullDeviceCalculatedPowerBlameUid()
1790 for (BatterySipper bs : sippers) { in pullDeviceCalculatedPowerBlameUid()
1803 final List<BatterySipper> sippers = getBatteryStatsHelper().getUsageList(); in pullDeviceCalculatedPowerBlameOther()
1807 for (BatterySipper bs : sippers) { in pullDeviceCalculatedPowerBlameOther()
/frameworks/base/core/java/android/os/
DBatteryStats.java46 import com.android.internal.os.BatterySipper;
3981 final List<BatterySipper> sippers = helper.getUsageList(); in dumpCheckinLocked()
3990 final BatterySipper bs = sippers.get(i); in dumpCheckinLocked()
5127 List<BatterySipper> sippers = helper.getUsageList(); in dumpLocked()
5139 final BatterySipper bs = sippers.get(i); in dumpLocked()
5267 final BatterySipper bs = sippers.get(i); in dumpLocked()
7309 SparseArray<BatterySipper> uidToSipper = new SparseArray<>(); in dumpProtoAppsLocked()
7310 final List<BatterySipper> sippers = helper.getUsageList(); in dumpProtoAppsLocked()
7313 final BatterySipper bs = sippers.get(i); in dumpProtoAppsLocked()
7314 if (bs.drainType != BatterySipper.DrainType.APP) { in dumpProtoAppsLocked()
[all …]
/frameworks/base/config/
Dboot-image-profile.txt20409 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…
20411 HSPLcom/android/internal/os/BatterySipper;->add(Lcom/android/internal/os/BatterySipper;)V
20412 HSPLcom/android/internal/os/BatterySipper;->compareTo(Lcom/android/internal/os/BatterySipper;)I
20413 HSPLcom/android/internal/os/BatterySipper;->compareTo(Ljava/lang/Object;)I
20414 HSPLcom/android/internal/os/BatterySipper;->computeMobilemspp()V
20415 HSPLcom/android/internal/os/BatterySipper;->getUid()I
20416 HSPLcom/android/internal/os/BatterySipper;->sumPower()D
20417 …yStatsHelper$1;->compare(Lcom/android/internal/os/BatterySipper;Lcom/android/internal/os/BatterySi…
20448 …om/android/internal/os/BatteryStatsHelper;->isTypeService(Lcom/android/internal/os/BatterySipper;)Z
[all …]
Dhiddenapi-greylist-max-o.txt87687 Lcom/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 …]
Dpreloaded-classes4559 com.android.internal.os.BatterySipper$DrainType
4560 com.android.internal.os.BatterySipper