/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsHelperTest.java | 80 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 …]
|
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 | 47 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 …]
|
D | BatterySipper.java | 26 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()
|
D | PowerCalculator.java | 35 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()
|
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/services/core/java/com/android/server/stats/ |
D | StatsCompanionService.java | 120 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/ |
D | BatteryStats.java | 46 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/ |
D | boot-image-profile.txt | 20409 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 …]
|
D | hiddenapi-greylist-max-o.txt | 87687 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 …]
|
D | preloaded-classes | 4559 com.android.internal.os.BatterySipper$DrainType 4560 com.android.internal.os.BatterySipper
|