Home
last modified time | relevance | path

Searched refs:BatteryStatsHelper (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DCpuPowerCalculator.java24 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
58 + speed + " ratio=" + BatteryStatsHelper.makemAh(ratio) + " power=" in calculateApp()
59 + BatteryStatsHelper.makemAh(cpuSpeedStepPower / (60 * 60 * 1000))); in calculateApp()
68 + BatteryStatsHelper.makemAh(app.cpuPowerMah)); in calculateApp()
DWakelockPowerCalculator.java24 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
56 + " power=" + BatteryStatsHelper.makemAh(app.wakeLockPowerMah)); in calculateApp()
70 + BatteryStatsHelper.makemAh(power)); in calculateRemaining()
DMobileRadioPowerCalculator.java24 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
91 + " power=" + BatteryStatsHelper.makemAh(app.mobileRadioPowerMah)); in calculateApp()
107 + BatteryStatsHelper.makemAh(p)); in calculateRemaining()
121 + " power=" + BatteryStatsHelper.makemAh(p)); in calculateRemaining()
DWifiPowerCalculator.java26 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
70 txTime + "ms power=" + BatteryStatsHelper.makemAh(app.wifiPowerMah)); in calculateApp()
96 Log.d(TAG, "left over WiFi power: " + BatteryStatsHelper.makemAh(app.wifiPowerMah)); in calculateRemaining()
DBluetoothPowerCalculator.java22 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
90 + " power=" + BatteryStatsHelper.makemAh(powerMah)); in calculateRemaining()
DWifiPowerEstimator.java25 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
83 BatteryStatsHelper.makemAh(app.wifiPowerMah)); in calculateApp()
DBatteryStatsHelper.java58 public final class BatteryStatsHelper { class
61 private static final String TAG = BatteryStatsHelper.class.getSimpleName();
153 public BatteryStatsHelper(Context context) { in BatteryStatsHelper() method in BatteryStatsHelper
157 public BatteryStatsHelper(Context context, boolean collectBatteryBroadcast) { in BatteryStatsHelper() method in BatteryStatsHelper
161 public BatteryStatsHelper(Context context, boolean collectBatteryBroadcast, boolean wifiOnly) { in BatteryStatsHelper() method in BatteryStatsHelper
DBatteryStatsImpl.java9933 byte[] raw = BatteryStatsHelper.readFully(stream); in readLocked()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DBatteryInfo.java30 import com.android.internal.os.BatteryStatsHelper;
107 BatteryStatsHelper statsHelper = new BatteryStatsHelper(context, true); in getBatteryInfo()
/frameworks/base/core/java/android/os/
DBatteryStats.java41 import com.android.internal.os.BatteryStatsHelper;
2787 BatteryStatsHelper.makemAh(powerDrainMaMs / (double) (1000*60*60))); in printControllerActivity()
2796 dumpCheckinLocked(context, pw, which, reqUid, BatteryStatsHelper.checkWifiOnly(context)); in dumpCheckinLocked()
3031 final BatteryStatsHelper helper = new BatteryStatsHelper(context, false, wifiOnly); in dumpCheckinLocked()
3037 BatteryStatsHelper.makemAh(helper.getPowerProfile().getBatteryCapacity()), in dumpCheckinLocked()
3038 BatteryStatsHelper.makemAh(helper.getComputedPower()), in dumpCheckinLocked()
3039 BatteryStatsHelper.makemAh(helper.getMinDrainedPower()), in dumpCheckinLocked()
3040 BatteryStatsHelper.makemAh(helper.getMaxDrainedPower())); in dumpCheckinLocked()
3088 BatteryStatsHelper.makemAh(bs.totalPowerMah)); in dumpCheckinLocked()
3322 printer.print(BatteryStatsHelper.makemAh(power)); in printmAh()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java58 import com.android.internal.os.BatteryStatsHelper;
1251 if (BatteryStatsHelper.checkWifiOnly(mContext)) { in dump()
/frameworks/base/
Dcompiled-classes-phone5337 com.android.internal.os.BatteryStatsHelper
5338 com.android.internal.os.BatteryStatsHelper$1