/frameworks/base/core/java/com/android/internal/os/ |
PowerCalculator.java | 26 * @param app The BatterySipper that represents the power use of an app. 34 public abstract void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, 39 * @param app The BatterySipper that will represent this remaining power. 47 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs,
|
BatterySipper.java | 23 public class BatterySipper implements Comparable<BatterySipper> { 94 public BatterySipper(DrainType drainType, Uid uid, double value) { 106 public int compareTo(BatterySipper other) { 136 * Add stats from other to this BatterySipper. 138 public void add(BatterySipper other) { 175 * @return the sum of all the power in this BatterySipper.
|
BatteryStatsHelper.java | 40 import com.android.internal.os.BatterySipper.DrainType; 79 private final List<BatterySipper> mUsageList = new ArrayList<>(); 84 private final List<BatterySipper> mWifiSippers = new ArrayList<>(); 89 private final List<BatterySipper> mBluetoothSippers = new ArrayList<>(); 91 private final SparseArray<List<BatterySipper>> mUserSippers = new SparseArray<>(); 93 private final List<BatterySipper> mMobilemsppList = new ArrayList<>(); 418 BatterySipper bs = mUsageList.get(i); 426 List<BatterySipper> user = mUserSippers.valueAt(i); 428 BatterySipper bs = user.get(j); 435 Collections.sort(mMobilemsppList, new Comparator<BatterySipper>() { [all...] |
CameraPowerCalculator.java | 33 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs,
|
FlashlightPowerCalculator.java | 31 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs,
|
WakelockPowerCalculator.java | 33 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, 61 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs,
|
BluetoothPowerCalculator.java | 37 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, 67 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs,
|
WifiPowerCalculator.java | 41 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, 75 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs,
|
WifiPowerEstimator.java | 51 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, 88 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs,
|
SensorPowerCalculator.java | 35 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs,
|
MobileRadioPowerCalculator.java | 62 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs, 96 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs,
|
CpuPowerCalculator.java | 32 public void calculateApp(BatterySipper app, BatteryStats.Uid u, long rawRealtimeUs,
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
PowerUsageSummary.java | 38 import com.android.internal.os.BatterySipper; 39 import com.android.internal.os.BatterySipper.DrainType; 196 private static List<BatterySipper> getCoalescedUsageList(final List<BatterySipper> sippers) { 197 final SparseArray<BatterySipper> uidList = new SparseArray<>(); 199 final ArrayList<BatterySipper> results = new ArrayList<>(); 202 BatterySipper sipper = sippers.get(i); 223 // Replace the BatterySipper with a new one with the real UID set. 224 BatterySipper newSipper = new BatterySipper(sipper.drainType [all...] |
BatteryEntry.java | 33 import com.android.internal.os.BatterySipper; 41 * Wraps the power usage data of a BatterySipper with information about package name 116 public final BatterySipper sipper; 129 public BatteryEntry(Context context, Handler handler, UserManager um, BatterySipper sipper) {
|
PowerUsageDetail.java | 46 import com.android.internal.os.BatterySipper; 47 import com.android.internal.os.BatterySipper.DrainType; 151 if (entry.sipper.drainType == BatterySipper.DrainType.APP) { 329 private BatterySipper.DrainType mDrainType; 392 mDrainType = (BatterySipper.DrainType) args.getSerializable(EXTRA_DRAIN_TYPE); [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
InstalledAppDetails.java | 77 import com.android.internal.os.BatterySipper; 176 private BatterySipper mSipper; [all...] |
/frameworks/base/core/java/android/os/ |
BatteryStats.java | 42 import com.android.internal.os.BatterySipper; [all...] |
/external/robolectric/v3/runtime/ |
android-all-4.4_r1-robolectric-1.jar | |
android-all-5.0.0_r2-robolectric-1.jar | |
android-all-5.1.1_r9-robolectric-1.jar | |
/frameworks/base/ |
compiled-classes-phone | [all...] |