HomeSort by relevance Sort by last modified time
    Searched refs:BatteryStats (Results 1 - 16 of 16) sorted by null

  /packages/apps/Settings/src/com/android/settings/fuelgauge/
BatteryHistoryPreference.java 21 import android.os.BatteryStats;
36 private BatteryStats mStats;
38 public BatteryHistoryPreference(Context context, BatteryStats stats) {
44 BatteryStats getStats() {
BatteryStatsHelper.java 19 import static android.os.BatteryStats.NETWORK_MOBILE_RX_BYTES;
20 import static android.os.BatteryStats.NETWORK_MOBILE_TX_BYTES;
21 import static android.os.BatteryStats.NETWORK_WIFI_RX_BYTES;
22 import static android.os.BatteryStats.NETWORK_WIFI_TX_BYTES;
30 import android.os.BatteryStats;
31 import android.os.BatteryStats.Uid;
87 private int mStatsType = BatteryStats.STATS_SINCE_CHARGED;
159 ServiceManager.getService(BatteryStats.SERVICE_NAME));
389 Map<String, ? extends BatteryStats.Uid.Proc> processStats = u.getProcessStats();
397 for (Map.Entry<String, ? extends BatteryStats.Uid.Proc> en
    [all...]
PowerUsageSummary.java 24 import android.os.BatteryStats;
65 private int mStatsType = BatteryStats.STATS_SINCE_CHARGED;
175 if (mStatsType == BatteryStats.STATS_SINCE_CHARGED) {
176 mStatsType = BatteryStats.STATS_SINCE_UNPLUGGED;
178 mStatsType = BatteryStats.STATS_SINCE_CHARGED;
BatteryHistoryChart.java 28 import android.os.BatteryStats;
30 import android.os.BatteryStats.HistoryItem;
136 BatteryStats mStats;
337 void setStats(BatteryStats stats) {
341 BatteryStats.STATS_SINCE_CHARGED);
526 if (rec.cmd == BatteryStats.HistoryItem.CMD_UPDATE) {
633 } else if (rec.cmd != BatteryStats.HistoryItem.CMD_OVERFLOW) {
BatterySipper.java 28 import android.os.BatteryStats.Uid;
  /frameworks/base/core/java/android/os/
BatteryStats.java 41 public abstract class BatteryStats implements Parcelable {
46 public static final String SERVICE_NAME = "batterystats";
385 * @see BatteryStats#getCpuSpeedSteps()
    [all...]
  /frameworks/base/services/java/com/android/server/power/
Notifier.java 32 import android.os.BatteryStats;
109 public Notifier(Looper looper, Context context, IBatteryStats batteryStats,
113 mBatteryStats = batteryStats;
185 return BatteryStats.WAKE_TYPE_PARTIAL;
187 return BatteryStats.WAKE_TYPE_FULL;
  /packages/apps/Settings/src/com/android/settings/
BatteryInfo.java 25 import android.os.BatteryStats;
168 BatteryStats.SERVICE_NAME));
  /frameworks/base/services/java/com/android/server/am/
BatteryStatsService.java 25 import android.os.BatteryStats;
63 ServiceManager.addService(BatteryStats.SERVICE_NAME, asBinder());
71 Slog.w("BatteryStats", "Writing battery stats before shutdown...");
81 IBinder b = ServiceManager.getService(BatteryStats.SERVICE_NAME);
497 pw.println("Battery stats (batterystats) dump options:");
511 pw.println("Permission Denial: can't dump BatteryStats from from pid="
  /frameworks/base/services/java/com/android/server/
BatteryService.java 19 import android.os.BatteryStats;
510 IBinder batteryInfoService = ServiceManager.getService(BatteryStats.SERVICE_NAME);
520 dumpFile = new File(DUMPSYS_DATA_PATH + BatteryStats.SERVICE_NAME + ".dump");
    [all...]
VibratorService.java 27 import android.os.BatteryStats;
148 BatteryStats.SERVICE_NAME));
NetworkManagementService.java 47 import android.os.BatteryStats;
361 IBatteryStats.Stub.asInterface(ServiceManager.getService(BatteryStats.SERVICE_NAME))
    [all...]
  /frameworks/base/core/java/com/android/internal/os/
BatteryStatsImpl.java 26 import android.os.BatteryStats;
75 public final class BatteryStatsImpl extends BatteryStats {
362 public static class Counter extends BatteryStats.Counter implements Unpluggable {
576 public static abstract class Timer extends BatteryStats.Timer implements Unpluggable {
    [all...]
  /frameworks/base/core/java/android/app/
ActivityManager.java 19 import android.os.BatteryStats;
    [all...]
  /frameworks/base/services/java/com/android/server/location/
GpsLocationProvider.java 45 import android.os.BatteryStats;
473 BatteryStats.SERVICE_NAME));
    [all...]
  /frameworks/base/wifi/java/android/net/wifi/
WifiStateMachine.java 58 import android.os.BatteryStats;
652 BatteryStats.SERVICE_NAME));
    [all...]

Completed in 136 milliseconds