Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsHelperTest.java71 private BatterySipper mNormalBatterySipper;
73 private BatterySipper mScreenBatterySipper;
75 private BatterySipper mOvercountedBatterySipper;
77 private BatterySipper mUnaccountedBatterySipper;
79 private BatterySipper mSystemBatterySipper;
81 private BatterySipper mCellBatterySipper;
92 mNormalBatterySipper.drainType = BatterySipper.DrainType.APP; in setUp()
98 mScreenBatterySipper.drainType = BatterySipper.DrainType.SCREEN; in setUp()
101 mSystemBatterySipper.drainType = BatterySipper.DrainType.APP; in setUp()
106 mOvercountedBatterySipper.drainType = BatterySipper.DrainType.OVERCOUNTED; in setUp()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHelper.java45 import com.android.internal.os.BatterySipper.DrainType;
89 private final List<BatterySipper> mUsageList = new ArrayList<>();
94 private final List<BatterySipper> mWifiSippers = new ArrayList<>();
99 private final List<BatterySipper> mBluetoothSippers = new ArrayList<>();
101 private final SparseArray<List<BatterySipper>> mUserSippers = new SparseArray<>();
103 private final List<BatterySipper> mMobilemsppList = new ArrayList<>();
451 BatterySipper bs = mUsageList.get(i); in refreshStats()
459 List<BatterySipper> user = mUserSippers.valueAt(i); in refreshStats()
461 BatterySipper bs = user.get(j); in refreshStats()
468 Collections.sort(mMobilemsppList, new Comparator<BatterySipper>() { in refreshStats()
[all …]
DBatterySipper.java25 public class BatterySipper implements Comparable<BatterySipper> { class
131 public BatterySipper(DrainType drainType, Uid uid, double value) { in BatterySipper() method in BatterySipper
143 public int compareTo(BatterySipper other) { in compareTo()
175 public void add(BatterySipper other) { in add()
DPowerCalculator.java34 public abstract void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
47 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()
DMobileRadioPowerCalculator.java62 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
96 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()
DSensorPowerCalculator.java35 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
DCpuPowerCalculator.java32 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
/frameworks/base/core/java/android/os/
DBatteryStats.java42 import com.android.internal.os.BatterySipper;
3282 final List<BatterySipper> sippers = helper.getUsageList(); in dumpCheckinLocked()
3290 final BatterySipper bs = sippers.get(i); in dumpCheckinLocked()
4261 List<BatterySipper> sippers = helper.getUsageList(); in dumpLocked()
4273 final BatterySipper bs = sippers.get(i); in dumpLocked()
4398 final BatterySipper bs = sippers.get(i); in dumpLocked()
/frameworks/base/services/
Dprofile-classes3177 Lcom/android/internal/os/BatterySipper;
3178 Lcom/android/internal/os/BatterySipper$DrainType;