/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsHelperTest.java | 71 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/ |
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<>(); 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 …]
|
D | BatterySipper.java | 25 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()
|
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 | MobileRadioPowerCalculator.java | 62 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp() 96 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 | SensorPowerCalculator.java | 35 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, in calculateApp()
|
D | CpuPowerCalculator.java | 32 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; 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/ |
D | profile-classes | 3177 Lcom/android/internal/os/BatterySipper; 3178 Lcom/android/internal/os/BatterySipper$DrainType;
|