/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 | MemoryPowerCalculator.java | 10 private static final boolean DEBUG = BatteryStatsHelper.DEBUG;
|
D | BatteryStatsHelper.java | 64 public class BatteryStatsHelper { class 67 private static final String TAG = BatteryStatsHelper.class.getSimpleName(); 164 public BatteryStatsHelper(Context context) { in BatteryStatsHelper() method in BatteryStatsHelper 168 public BatteryStatsHelper(Context context, boolean collectBatteryBroadcast) { in BatteryStatsHelper() method in BatteryStatsHelper 172 public BatteryStatsHelper(Context context, boolean collectBatteryBroadcast, boolean wifiOnly) { in BatteryStatsHelper() method in BatteryStatsHelper
|
D | BatteryStatsImpl.java | 11153 byte[] raw = BatteryStatsHelper.readFully(stream); in readLocked()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | BatteryInfo.java | 29 import com.android.internal.os.BatteryStatsHelper; 107 BatteryStatsHelper statsHelper = new BatteryStatsHelper(context, true); in getBatteryInfo()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsHelperTest.java | 85 private BatteryStatsHelper mBatteryStatsHelper; 113 mBatteryStatsHelper = spy(new BatteryStatsHelper(mContext)); in setUp()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 43 import com.android.internal.os.BatteryStatsHelper; 3033 BatteryStatsHelper.makemAh(powerDrainMaMs / (double) (1000*60*60))); in printControllerActivity() 3042 dumpCheckinLocked(context, pw, which, reqUid, BatteryStatsHelper.checkWifiOnly(context)); in dumpCheckinLocked() 3279 final BatteryStatsHelper helper = new BatteryStatsHelper(context, false, wifiOnly); in dumpCheckinLocked() 3285 BatteryStatsHelper.makemAh(helper.getPowerProfile().getBatteryCapacity()), in dumpCheckinLocked() 3286 BatteryStatsHelper.makemAh(helper.getComputedPower()), in dumpCheckinLocked() 3287 BatteryStatsHelper.makemAh(helper.getMinDrainedPower()), in dumpCheckinLocked() 3288 BatteryStatsHelper.makemAh(helper.getMaxDrainedPower())); in dumpCheckinLocked() 3336 BatteryStatsHelper.makemAh(bs.totalPowerMah), in dumpCheckinLocked() 3338 BatteryStatsHelper.makemAh(bs.screenPowerMah), in dumpCheckinLocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 63 import com.android.internal.os.BatteryStatsHelper; 1302 if (BatteryStatsHelper.checkWifiOnly(mContext)) { in dump()
|
/frameworks/base/services/ |
D | profile-classes | 3179 Lcom/android/internal/os/BatteryStatsHelper; 3180 Lcom/android/internal/os/BatteryStatsHelper$1;
|
/frameworks/base/ |
D | compiled-classes-phone | 5338 com.android.internal.os.BatteryStatsHelper
|