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;
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()
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.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.java101 private BatteryStatsHelper mBatteryStatsHelper;
138 mBatteryStatsHelper = spy(new BatteryStatsHelper(mContext)); in setUp()
/frameworks/base/core/java/android/os/
DBatteryStats.java51 import com.android.internal.os.BatteryStatsHelper;
3665 BatteryStatsHelper.makemAh(powerDrainMaMs / MILLISECONDS_IN_HOUR)); in printControllerActivity()
3687 dumpCheckinLocked(context, pw, which, reqUid, BatteryStatsHelper.checkWifiOnly(context)); in dumpCheckinLocked()
3957 final BatteryStatsHelper helper = new BatteryStatsHelper(context, false, wifiOnly); in dumpCheckinLocked()
3963 BatteryStatsHelper.makemAh(helper.getPowerProfile().getBatteryCapacity()), in dumpCheckinLocked()
3964 BatteryStatsHelper.makemAh(helper.getComputedPower()), in dumpCheckinLocked()
3965 BatteryStatsHelper.makemAh(helper.getMinDrainedPower()), in dumpCheckinLocked()
3966 BatteryStatsHelper.makemAh(helper.getMaxDrainedPower())); in dumpCheckinLocked()
4020 BatteryStatsHelper.makemAh(bs.totalPowerMah), in dumpCheckinLocked()
4022 BatteryStatsHelper.makemAh(bs.screenPowerMah), in dumpCheckinLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java56 import com.android.internal.os.BatteryStatsHelper;
1432 if (BatteryStatsHelper.checkWifiOnly(mContext)) { in dump()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java139 import com.android.internal.os.BatteryStatsHelper;
317 private BatteryStatsHelper mBatteryStatsHelper = null;
2805 private BatteryStatsHelper getBatteryStatsHelper() {
2811 mBatteryStatsHelper = new BatteryStatsHelper(mContext, false);
2846 BatteryStatsHelper bsHelper = getBatteryStatsHelper();
/frameworks/base/config/
Dboot-image-profile.txt28190 HSPLcom/android/internal/os/BatteryStatsHelper$1;-><init>(Lcom/android/internal/os/BatteryStatsHelp…
28191 HSPLcom/android/internal/os/BatteryStatsHelper$1;->compare(Lcom/android/internal/os/BatterySipper;L…
28192 HSPLcom/android/internal/os/BatteryStatsHelper$1;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
28193 HSPLcom/android/internal/os/BatteryStatsHelper;-><init>(Landroid/content/Context;ZZ)V
28194 HSPLcom/android/internal/os/BatteryStatsHelper;->addAmbientDisplayUsage()V
28195 HSPLcom/android/internal/os/BatteryStatsHelper;->addBluetoothUsage()V
28196 HSPLcom/android/internal/os/BatteryStatsHelper;->addEntry(Lcom/android/internal/os/BatterySipper$Dr…
28197 HSPLcom/android/internal/os/BatteryStatsHelper;->addIdleUsage()V
28198 HSPLcom/android/internal/os/BatteryStatsHelper;->addMemoryUsage()V
28199 HSPLcom/android/internal/os/BatteryStatsHelper;->addPhoneUsage()V
[all …]
Dpreloaded-classes8246 com.android.internal.os.BatteryStatsHelper$1
8247 com.android.internal.os.BatteryStatsHelper
/frameworks/base/cmds/statsd/src/
Datoms.proto6647 // Currently, this is from BatteryStatsHelper.getComputedPower() (not getTotalPower()).