Home
last modified time | relevance | path

Searched refs:BatteryStatsHelper (Results 1 – 15 of 15) 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()
DMemoryPowerCalculator.java10 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
DBatteryStatsHelper.java64 public class BatteryStatsHelper { class
67 private static final String TAG = BatteryStatsHelper.class.getSimpleName();
164 public BatteryStatsHelper(Context context) { in BatteryStatsHelper() method in BatteryStatsHelper
168 public BatteryStatsHelper(Context context, boolean collectBatteryBroadcast) { in BatteryStatsHelper() method in BatteryStatsHelper
172 public BatteryStatsHelper(Context context, boolean collectBatteryBroadcast, boolean wifiOnly) { in BatteryStatsHelper() method in BatteryStatsHelper
DBatteryStatsImpl.java11153 byte[] raw = BatteryStatsHelper.readFully(stream); in readLocked()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DBatteryInfo.java29 import com.android.internal.os.BatteryStatsHelper;
107 BatteryStatsHelper statsHelper = new BatteryStatsHelper(context, true); in getBatteryInfo()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsHelperTest.java85 private BatteryStatsHelper mBatteryStatsHelper;
113 mBatteryStatsHelper = spy(new BatteryStatsHelper(mContext)); in setUp()
/frameworks/base/core/java/android/os/
DBatteryStats.java43 import com.android.internal.os.BatteryStatsHelper;
3033 BatteryStatsHelper.makemAh(powerDrainMaMs / (double) (1000*60*60))); in printControllerActivity()
3042 dumpCheckinLocked(context, pw, which, reqUid, BatteryStatsHelper.checkWifiOnly(context)); in dumpCheckinLocked()
3279 final BatteryStatsHelper helper = new BatteryStatsHelper(context, false, wifiOnly); in dumpCheckinLocked()
3285 BatteryStatsHelper.makemAh(helper.getPowerProfile().getBatteryCapacity()), in dumpCheckinLocked()
3286 BatteryStatsHelper.makemAh(helper.getComputedPower()), in dumpCheckinLocked()
3287 BatteryStatsHelper.makemAh(helper.getMinDrainedPower()), in dumpCheckinLocked()
3288 BatteryStatsHelper.makemAh(helper.getMaxDrainedPower())); in dumpCheckinLocked()
3336 BatteryStatsHelper.makemAh(bs.totalPowerMah), in dumpCheckinLocked()
3338 BatteryStatsHelper.makemAh(bs.screenPowerMah), in dumpCheckinLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java63 import com.android.internal.os.BatteryStatsHelper;
1302 if (BatteryStatsHelper.checkWifiOnly(mContext)) { in dump()
/frameworks/base/services/
Dprofile-classes3179 Lcom/android/internal/os/BatteryStatsHelper;
3180 Lcom/android/internal/os/BatteryStatsHelper$1;
/frameworks/base/
Dcompiled-classes-phone5338 com.android.internal.os.BatteryStatsHelper