Home
last modified time | relevance | path

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

/frameworks/base/tests/BatteryStatsPerfTest/src/com/android/internal/os/
DBatteryStatsHelperPerfTest.java52 final BatteryStatsHelper statsHelper = new BatteryStatsHelper(context, in testGetStats_forceUpdate()
76 final BatteryStatsHelper statsHelper = new BatteryStatsHelper(context, in testGetStats_cached()
96 final BatteryStatsHelper statsHelper = new BatteryStatsHelper(context, in testPowerCalculation()
115 final BatteryStatsHelper statsHelper = new BatteryStatsHelper(context, in testEndToEnd()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHelper.java66 public class BatteryStatsHelper { class
69 private static final String TAG = BatteryStatsHelper.class.getSimpleName();
132 public BatteryStatsHelper(Context context) { in BatteryStatsHelper() method in BatteryStatsHelper
137 public BatteryStatsHelper(Context context, boolean collectBatteryBroadcast) { in BatteryStatsHelper() method in BatteryStatsHelper
142 public BatteryStatsHelper(Context context, boolean collectBatteryBroadcast, boolean wifiOnly) { in BatteryStatsHelper() method in BatteryStatsHelper
DIdlePowerCalculator.java34 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
DWakelockPowerCalculator.java33 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
DBluetoothPowerCalculator.java33 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
DBatteryUsageStatsProvider.java73 if (!BatteryStatsHelper.checkWifiOnly(mContext)) { in getPowerCalculators()
DCpuPowerCalculator.java32 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
DScreenPowerCalculator.java39 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
DMobileRadioPowerCalculator.java32 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
DWifiPowerCalculator.java35 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsHelperTest.java99 private BatteryStatsHelper mBatteryStatsHelper;
136 mBatteryStatsHelper = spy(new BatteryStatsHelper(mContext)); in setUp()
/frameworks/base/core/java/android/os/
DBatteryStats.java52 import com.android.internal.os.BatteryStatsHelper;
3847 BatteryStatsHelper.makemAh(powerDrainMaMs / MILLISECONDS_IN_HOUR)); in printControllerActivity()
3869 dumpCheckinLocked(context, pw, which, reqUid, BatteryStatsHelper.checkWifiOnly(context)); in dumpCheckinLocked()
4140 final BatteryStatsHelper helper = new BatteryStatsHelper(context, false, wifiOnly); in dumpCheckinLocked()
4146 BatteryStatsHelper.makemAh(helper.getPowerProfile().getBatteryCapacity()), in dumpCheckinLocked()
4147 BatteryStatsHelper.makemAh(helper.getComputedPower()), in dumpCheckinLocked()
4148 BatteryStatsHelper.makemAh(helper.getMinDrainedPower()), in dumpCheckinLocked()
4149 BatteryStatsHelper.makemAh(helper.getMaxDrainedPower())); in dumpCheckinLocked()
4203 BatteryStatsHelper.makemAh(bs.totalPowerMah), in dumpCheckinLocked()
4205 BatteryStatsHelper.makemAh(bs.screenPowerMah), in dumpCheckinLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java168 import com.android.internal.os.BatteryStatsHelper;
364 private BatteryStatsHelper mBatteryStatsHelper = null;
3009 private BatteryStatsHelper getBatteryStatsHelper() {
3015 mBatteryStatsHelper = new BatteryStatsHelper(mContext, false);
3050 BatteryStatsHelper bsHelper = getBatteryStatsHelper();
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java79 import com.android.internal.os.BatteryStatsHelper;
2430 if (BatteryStatsHelper.checkWifiOnly(mContext)) { in dump()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt38479 …ked(Landroid/util/proto/ProtoOutputStream;Lcom/android/internal/os/BatteryStatsHelper;Ljava/util/L…
38482 …toSystemLocked(Landroid/util/proto/ProtoOutputStream;Lcom/android/internal/os/BatteryStatsHelper;)V
76633 Lcom/android/internal/os/BatteryStatsHelper;->addAmbientDisplayUsage()V
76634 Lcom/android/internal/os/BatteryStatsHelper;->addBluetoothUsage()V
76635 Lcom/android/internal/os/BatteryStatsHelper;->addEntry(Lcom/android/internal/os/BatterySipper$Drain…
76636 Lcom/android/internal/os/BatteryStatsHelper;->addIdleUsage()V
76637 Lcom/android/internal/os/BatteryStatsHelper;->addMemoryUsage()V
76638 Lcom/android/internal/os/BatteryStatsHelper;->addPhoneUsage()V
76639 Lcom/android/internal/os/BatteryStatsHelper;->addRadioUsage()V
76640 Lcom/android/internal/os/BatteryStatsHelper;->addScreenUsage()V
[all …]
/frameworks/base/boot/
Dpreloaded-classes8980 com.android.internal.os.BatteryStatsHelper
Dboot-image-profile.txt33212 Lcom/android/internal/os/BatteryStatsHelper;
/frameworks/base/config/
Dpreloaded-classes9001 com.android.internal.os.BatteryStatsHelper
Dboot-image-profile.txt42876 Lcom/android/internal/os/BatteryStatsHelper;
/frameworks/proto_logging/stats/
Datoms.proto7711 // Currently, this is from BatteryStatsHelper.getComputedPower() (not getTotalPower()).