Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsHelperTest.java79 private BatterySipper mWifiBatterySipper;
81 private BatterySipper mBluetoothBatterySipper;
83 private BatterySipper mIdleBatterySipper;
85 private BatterySipper mNormalBatterySipper;
87 private BatterySipper mScreenBatterySipper;
89 private BatterySipper mOvercountedBatterySipper;
91 private BatterySipper mUnaccountedBatterySipper;
93 private BatterySipper mSystemBatterySipper;
95 private BatterySipper mCellBatterySipper;
106 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.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<>();
459 BatterySipper bs = mUsageList.get(i); in refreshStats()
467 List<BatterySipper> user = mUserSippers.valueAt(i); in refreshStats()
469 BatterySipper bs = user.get(j); in refreshStats()
476 Collections.sort(mMobilemsppList, new Comparator<BatterySipper>() { in refreshStats()
[all …]
DBatterySipper.java25 public class BatterySipper implements Comparable<BatterySipper> { class
136 public BatterySipper(DrainType drainType, Uid uid, double value) { in BatterySipper() method in BatterySipper
148 public int compareTo(BatterySipper other) { in compareTo()
180 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()
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/core/java/android/os/
DBatteryStats.java42 import com.android.internal.os.BatterySipper;
3808 final List<BatterySipper> sippers = helper.getUsageList(); in dumpCheckinLocked()
3817 final BatterySipper bs = sippers.get(i); in dumpCheckinLocked()
4968 List<BatterySipper> sippers = helper.getUsageList(); in dumpLocked()
4980 final BatterySipper bs = sippers.get(i); in dumpLocked()
5108 final BatterySipper bs = sippers.get(i); in dumpLocked()
7132 SparseArray<BatterySipper> uidToSipper = new SparseArray<>(); in dumpProtoAppsLocked()
7133 final List<BatterySipper> sippers = helper.getUsageList(); in dumpProtoAppsLocked()
7136 final BatterySipper bs = sippers.get(i); in dumpProtoAppsLocked()
7137 if (bs.drainType != BatterySipper.DrainType.APP) { in dumpProtoAppsLocked()
[all …]
/frameworks/base/config/
Dhiddenapi-light-greylist.txt7638 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…
7641 Lcom/android/internal/os/BatterySipper;->add(Lcom/android/internal/os/BatterySipper;)V
7642 Lcom/android/internal/os/BatterySipper;->cpuFgTimeMs:J
7643 Lcom/android/internal/os/BatterySipper;->cpuPowerMah:D
7644 Lcom/android/internal/os/BatterySipper;->cpuTimeMs:J
7645 Lcom/android/internal/os/BatterySipper;->drainType:Lcom/android/internal/os/BatterySipper$DrainType;
7646 Lcom/android/internal/os/BatterySipper;->getPackages()[Ljava/lang/String;
7647 Lcom/android/internal/os/BatterySipper;->getUid()I
[all …]
Dboot-image-profile.txt8614 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;…
8617 HPLcom/android/internal/os/BatterySipper;->add(Lcom/android/internal/os/BatterySipper;)V
8618 HPLcom/android/internal/os/BatterySipper;->compareTo(Lcom/android/internal/os/BatterySipper;)I
8619 HPLcom/android/internal/os/BatterySipper;->compareTo(Ljava/lang/Object;)I
8620 HPLcom/android/internal/os/BatterySipper;->computeMobilemspp()V
8621 HPLcom/android/internal/os/BatterySipper;->getUid()I
8622 HPLcom/android/internal/os/BatterySipper;->sumPower()D
8623 …yStatsHelper$1;->compare(Lcom/android/internal/os/BatterySipper;Lcom/android/internal/os/BatterySi…
[all …]