/frameworks/base/tests/BatteryStatsPerfTest/src/com/android/internal/os/ |
D | BatteryStatsHelperPerfTest.java | 52 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/ |
D | BatteryStatsHelper.java | 66 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
|
D | IdlePowerCalculator.java | 34 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
|
D | WakelockPowerCalculator.java | 33 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
|
D | BluetoothPowerCalculator.java | 33 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
|
D | BatteryUsageStatsProvider.java | 73 if (!BatteryStatsHelper.checkWifiOnly(mContext)) { in getPowerCalculators()
|
D | CpuPowerCalculator.java | 32 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
|
D | ScreenPowerCalculator.java | 39 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
|
D | MobileRadioPowerCalculator.java | 32 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
|
D | WifiPowerCalculator.java | 35 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsHelperTest.java | 99 private BatteryStatsHelper mBatteryStatsHelper; 136 mBatteryStatsHelper = spy(new BatteryStatsHelper(mContext)); in setUp()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 52 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/ |
D | StatsPullAtomService.java | 168 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/ |
D | BatteryStatsService.java | 79 import com.android.internal.os.BatteryStatsHelper; 2430 if (BatteryStatsHelper.checkWifiOnly(mContext)) { in dump()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 38479 …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/ |
D | preloaded-classes | 8980 com.android.internal.os.BatteryStatsHelper
|
D | boot-image-profile.txt | 33212 Lcom/android/internal/os/BatteryStatsHelper;
|
/frameworks/base/config/ |
D | preloaded-classes | 9001 com.android.internal.os.BatteryStatsHelper
|
D | boot-image-profile.txt | 42876 Lcom/android/internal/os/BatteryStatsHelper;
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 7711 // Currently, this is from BatteryStatsHelper.getComputedPower() (not getTotalPower()).
|