/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsHelperTest.java | 79 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 …]
|
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 | 45 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 …]
|
D | BatterySipper.java | 25 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()
|
D | PowerCalculator.java | 34 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()
|
D | MemoryPowerCalculator.java | 25 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp() 29 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs, in calculateRemaining()
|
D | WakelockPowerCalculator.java | 33 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp() 61 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs, in calculateRemaining()
|
D | BluetoothPowerCalculator.java | 37 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp() 67 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs, in calculateRemaining()
|
D | WifiPowerEstimator.java | 51 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp() 88 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs, in calculateRemaining()
|
D | WifiPowerCalculator.java | 41 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp() 75 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs, in calculateRemaining()
|
D | CameraPowerCalculator.java | 33 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
|
D | FlashlightPowerCalculator.java | 31 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
|
D | MobileRadioPowerCalculator.java | 84 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp() 118 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs, in calculateRemaining()
|
D | MediaPowerCalculator.java | 36 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
|
D | SensorPowerCalculator.java | 38 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
|
D | CpuPowerCalculator.java | 33 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 42 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/ |
D | hiddenapi-light-greylist.txt | 7638 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 …]
|
D | boot-image-profile.txt | 8614 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 …]
|