Home
last modified time | relevance | path

Searched refs:BatteryStatsHelper (Results 1 – 14 of 14) 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.java64 public class BatteryStatsHelper { class
67 private static final String TAG = BatteryStatsHelper.class.getSimpleName();
168 public BatteryStatsHelper(Context context) { in BatteryStatsHelper() method in BatteryStatsHelper
172 public BatteryStatsHelper(Context context, boolean collectBatteryBroadcast) { in BatteryStatsHelper() method in BatteryStatsHelper
176 public BatteryStatsHelper(Context context, boolean collectBatteryBroadcast, boolean wifiOnly) { in BatteryStatsHelper() method in BatteryStatsHelper
DBatteryStatsImpl.java13543 byte[] raw = BatteryStatsHelper.readFully(stream); in readLocked()
/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.java43 import com.android.internal.os.BatteryStatsHelper;
3518 BatteryStatsHelper.makemAh(powerDrainMaMs / (double) (1000*60*60))); in printControllerActivity()
3528 dumpCheckinLocked(context, pw, which, reqUid, BatteryStatsHelper.checkWifiOnly(context)); in dumpCheckinLocked()
3805 final BatteryStatsHelper helper = new BatteryStatsHelper(context, false, wifiOnly); in dumpCheckinLocked()
3811 BatteryStatsHelper.makemAh(helper.getPowerProfile().getBatteryCapacity()), in dumpCheckinLocked()
3812 BatteryStatsHelper.makemAh(helper.getComputedPower()), in dumpCheckinLocked()
3813 BatteryStatsHelper.makemAh(helper.getMinDrainedPower()), in dumpCheckinLocked()
3814 BatteryStatsHelper.makemAh(helper.getMaxDrainedPower())); in dumpCheckinLocked()
3868 BatteryStatsHelper.makemAh(bs.totalPowerMah), in dumpCheckinLocked()
3870 BatteryStatsHelper.makemAh(bs.screenPowerMah), in dumpCheckinLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java57 import com.android.internal.os.BatteryStatsHelper;
1398 if (BatteryStatsHelper.checkWifiOnly(mContext)) { in dump()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt7657 Lcom/android/internal/os/BatteryStatsHelper;-><init>(Landroid/content/Context;)V
7658 Lcom/android/internal/os/BatteryStatsHelper;-><init>(Landroid/content/Context;Z)V
7659 Lcom/android/internal/os/BatteryStatsHelper;-><init>(Landroid/content/Context;ZZ)V
7660 Lcom/android/internal/os/BatteryStatsHelper;->clearStats()V
7661 Lcom/android/internal/os/BatteryStatsHelper;->create(Landroid/os/Bundle;)V
7662 Lcom/android/internal/os/BatteryStatsHelper;->dropFile(Landroid/content/Context;Ljava/lang/String;)V
7663 Lcom/android/internal/os/BatteryStatsHelper;->getBatteryBroadcast()Landroid/content/Intent;
7664 Lcom/android/internal/os/BatteryStatsHelper;->getMaxPower()D
7665 Lcom/android/internal/os/BatteryStatsHelper;->getStats()Landroid/os/BatteryStats;
7666 Lcom/android/internal/os/BatteryStatsHelper;->getTotalPower()D
[all …]
Dboot-image-profile.txt4177 …ked(Landroid/util/proto/ProtoOutputStream;Lcom/android/internal/os/BatteryStatsHelper;Ljava/util/L…
4179 …toSystemLocked(Landroid/util/proto/ProtoOutputStream;Lcom/android/internal/os/BatteryStatsHelper;)V
8623 HPLcom/android/internal/os/BatteryStatsHelper$1;->compare(Lcom/android/internal/os/BatterySipper;Lc…
8624 HPLcom/android/internal/os/BatteryStatsHelper$1;->compare(Ljava/lang/Object;Ljava/lang/Object;)I
8625 HPLcom/android/internal/os/BatteryStatsHelper;->addAmbientDisplayUsage()V
8626 HPLcom/android/internal/os/BatteryStatsHelper;->addBluetoothUsage()V
8627 HPLcom/android/internal/os/BatteryStatsHelper;->addIdleUsage()V
8628 HPLcom/android/internal/os/BatteryStatsHelper;->addMemoryUsage()V
8629 HPLcom/android/internal/os/BatteryStatsHelper;->addPhoneUsage()V
8630 HPLcom/android/internal/os/BatteryStatsHelper;->addRadioUsage()V
[all …]