Searched refs:BatteryStatsHelper (Results 1 – 13 of 13) sorted by relevance
24 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;48 + BatteryStatsHelper.makemAh(cpuSpeedStepPower / MICROSEC_IN_HR)); in calculateApp()65 + BatteryStatsHelper.makemAh(power / MICROSEC_IN_HR)); in calculateApp()77 + BatteryStatsHelper.makemAh(app.cpuPowerMah)); in calculateApp()
24 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;56 + " power=" + BatteryStatsHelper.makemAh(app.wakeLockPowerMah)); in calculateApp()70 + BatteryStatsHelper.makemAh(power)); in calculateRemaining()
24 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;113 + " power=" + BatteryStatsHelper.makemAh(app.mobileRadioPowerMah)); in calculateApp()129 + BatteryStatsHelper.makemAh(p)); in calculateRemaining()143 + " power=" + BatteryStatsHelper.makemAh(p)); in calculateRemaining()
26 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()
25 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;83 BatteryStatsHelper.makemAh(app.wifiPowerMah)); in calculateApp()
22 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;90 + " power=" + BatteryStatsHelper.makemAh(powerMah)); in calculateRemaining()
10 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
66 public class BatteryStatsHelper { class69 private static final String TAG = BatteryStatsHelper.class.getSimpleName();174 public BatteryStatsHelper(Context context) { in BatteryStatsHelper() method in BatteryStatsHelper179 public BatteryStatsHelper(Context context, boolean collectBatteryBroadcast) { in BatteryStatsHelper() method in BatteryStatsHelper184 public BatteryStatsHelper(Context context, boolean collectBatteryBroadcast, boolean wifiOnly) { in BatteryStatsHelper() method in BatteryStatsHelper
100 private BatteryStatsHelper mBatteryStatsHelper;137 mBatteryStatsHelper = spy(new BatteryStatsHelper(mContext)); in setUp()
120 import com.android.internal.os.BatteryStatsHelper;297 private BatteryStatsHelper mBatteryStatsHelper = null;1709 private BatteryStatsHelper getBatteryStatsHelper() { in getBatteryStatsHelper()1714 mBatteryStatsHelper = new BatteryStatsHelper(mContext, false); in getBatteryStatsHelper()1738 BatteryStatsHelper bsHelper = getBatteryStatsHelper(); in pullDeviceCalculatedPowerUse()
59 import com.android.internal.os.BatteryStatsHelper;1452 if (BatteryStatsHelper.checkWifiOnly(mContext)) { in dump()
4986 // Currently, this is from BatteryStatsHelper.getComputedPower() (not getTotalPower()).
4561 com.android.internal.os.BatteryStatsHelper