Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DCpuPowerCalculator.java24 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()
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;
113 + " power=" + BatteryStatsHelper.makemAh(app.mobileRadioPowerMah)); in calculateApp()
129 + BatteryStatsHelper.makemAh(p)); in calculateRemaining()
143 + " 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()
DWifiPowerEstimator.java25 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
83 BatteryStatsHelper.makemAh(app.wifiPowerMah)); in calculateApp()
DBluetoothPowerCalculator.java22 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
90 + " power=" + BatteryStatsHelper.makemAh(powerMah)); in calculateRemaining()
DMemoryPowerCalculator.java10 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
DBatteryStatsHelper.java66 public class BatteryStatsHelper { class
69 private static final String TAG = BatteryStatsHelper.class.getSimpleName();
174 public BatteryStatsHelper(Context context) { in BatteryStatsHelper() method in BatteryStatsHelper
179 public BatteryStatsHelper(Context context, boolean collectBatteryBroadcast) { in BatteryStatsHelper() method in BatteryStatsHelper
184 public BatteryStatsHelper(Context context, boolean collectBatteryBroadcast, boolean wifiOnly) { in BatteryStatsHelper() method in BatteryStatsHelper
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsHelperTest.java100 private BatteryStatsHelper mBatteryStatsHelper;
137 mBatteryStatsHelper = spy(new BatteryStatsHelper(mContext)); in setUp()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java120 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()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java59 import com.android.internal.os.BatteryStatsHelper;
1452 if (BatteryStatsHelper.checkWifiOnly(mContext)) { in dump()
/frameworks/base/cmds/statsd/src/
Datoms.proto4986 // Currently, this is from BatteryStatsHelper.getComputedPower() (not getTotalPower()).
/frameworks/base/config/
Dpreloaded-classes4561 com.android.internal.os.BatteryStatsHelper