Searched refs:BatteryStatsHelper (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/core/java/com/android/internal/os/ |
D | CpuPowerCalculator.java | 24 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()
|
D | WakelockPowerCalculator.java | 24 private static final boolean DEBUG = BatteryStatsHelper.DEBUG; 56 + " power=" + BatteryStatsHelper.makemAh(app.wakeLockPowerMah)); in calculateApp() 70 + BatteryStatsHelper.makemAh(power)); in calculateRemaining()
|
D | MobileRadioPowerCalculator.java | 24 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()
|
D | WifiPowerCalculator.java | 26 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()
|
D | BluetoothPowerCalculator.java | 22 private static final boolean DEBUG = BatteryStatsHelper.DEBUG; 90 + " power=" + BatteryStatsHelper.makemAh(powerMah)); in calculateRemaining()
|
D | WifiPowerEstimator.java | 25 private static final boolean DEBUG = BatteryStatsHelper.DEBUG; 83 BatteryStatsHelper.makemAh(app.wifiPowerMah)); in calculateApp()
|
D | BatteryStatsHelper.java | 58 public final class BatteryStatsHelper { class 61 private static final String TAG = BatteryStatsHelper.class.getSimpleName(); 153 public BatteryStatsHelper(Context context) { in BatteryStatsHelper() method in BatteryStatsHelper 157 public BatteryStatsHelper(Context context, boolean collectBatteryBroadcast) { in BatteryStatsHelper() method in BatteryStatsHelper 161 public BatteryStatsHelper(Context context, boolean collectBatteryBroadcast, boolean wifiOnly) { in BatteryStatsHelper() method in BatteryStatsHelper
|
D | BatteryStatsImpl.java | 9933 byte[] raw = BatteryStatsHelper.readFully(stream); in readLocked()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | BatteryInfo.java | 30 import com.android.internal.os.BatteryStatsHelper; 107 BatteryStatsHelper statsHelper = new BatteryStatsHelper(context, true); in getBatteryInfo()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 41 import com.android.internal.os.BatteryStatsHelper; 2787 BatteryStatsHelper.makemAh(powerDrainMaMs / (double) (1000*60*60))); in printControllerActivity() 2796 dumpCheckinLocked(context, pw, which, reqUid, BatteryStatsHelper.checkWifiOnly(context)); in dumpCheckinLocked() 3031 final BatteryStatsHelper helper = new BatteryStatsHelper(context, false, wifiOnly); in dumpCheckinLocked() 3037 BatteryStatsHelper.makemAh(helper.getPowerProfile().getBatteryCapacity()), in dumpCheckinLocked() 3038 BatteryStatsHelper.makemAh(helper.getComputedPower()), in dumpCheckinLocked() 3039 BatteryStatsHelper.makemAh(helper.getMinDrainedPower()), in dumpCheckinLocked() 3040 BatteryStatsHelper.makemAh(helper.getMaxDrainedPower())); in dumpCheckinLocked() 3088 BatteryStatsHelper.makemAh(bs.totalPowerMah)); in dumpCheckinLocked() 3322 printer.print(BatteryStatsHelper.makemAh(power)); in printmAh() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 58 import com.android.internal.os.BatteryStatsHelper; 1251 if (BatteryStatsHelper.checkWifiOnly(mContext)) { in dump()
|
/frameworks/base/ |
D | compiled-classes-phone | 5337 com.android.internal.os.BatteryStatsHelper 5338 com.android.internal.os.BatteryStatsHelper$1
|