Home
last modified time | relevance | path

Searched refs:BatteryStatsImpl (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DBackupRecord.java19 import com.android.internal.os.BatteryStatsImpl;
31 final BatteryStatsImpl.Uid.Pkg.Serv stats;
39 BackupRecord(BatteryStatsImpl.Uid.Pkg.Serv _agentStats, ApplicationInfo _appInfo, in BackupRecord()
DBatteryStatsService.java52 import com.android.internal.os.BatteryStatsImpl;
77 final BatteryStatsImpl mStats;
88 class BatteryStatsHandler extends Handler implements BatteryStatsImpl.ExternalStatsSync {
169 mStats = new BatteryStatsImpl(systemDir, handler, mHandler); in BatteryStatsService()
223 public BatteryStatsImpl getActiveStatistics() { in getActiveStatistics()
874 final boolean onBattery = plugType == BatteryStatsImpl.BATTERY_PLUGGED_NONE; in setBatteryState()
1166 BatteryStatsImpl checkinStats = new BatteryStatsImpl( in dump()
1341 if (BatteryStatsImpl.DEBUG_ENERGY) { in updateExternalStats()
DServiceRecord.java20 import com.android.internal.os.BatteryStatsImpl;
66 final BatteryStatsImpl.Uid.Pkg.Serv stats;
308 BatteryStatsImpl.Uid.Pkg.Serv servStats, ComponentName name, in ServiceRecord()
DProcessRecord.java28 import com.android.internal.os.BatteryStatsImpl;
59 private final BatteryStatsImpl mBatteryStats; // where to collect runtime statistics
73 BatteryStatsImpl.Uid.Proc curProcBatteryStats;
406 ProcessRecord(BatteryStatsImpl _batteryStats, ApplicationInfo _info, in ProcessRecord()
DActiveServices.java43 import com.android.internal.os.BatteryStatsImpl;
1074 BatteryStatsImpl.Uid.Pkg.Serv ss = null; in retrieveServiceLocked()
1075 BatteryStatsImpl stats = mAm.mBatteryStatsService.getActiveStatistics(); in retrieveServiceLocked()
DActivityManagerService.java84 import com.android.internal.os.BatteryStatsImpl;
264 implements Watchdog.Monitor, BatteryStatsImpl.BatteryCallback {
2505 final BatteryStatsImpl bstats = mBatteryStatsService.getActiveStatistics(); in updateCpuStatsNow()
2522 BatteryStatsImpl.Uid.Proc ps = pr.curProcBatteryStats; in updateCpuStatsNow()
2530 BatteryStatsImpl.Uid.Proc ps = st.batteryStats; in updateCpuStatsNow()
3400 final BatteryStatsImpl stats = mBatteryStatsService.getActiveStatistics(); in updateUsageStats()
4649 BatteryStatsImpl stats = mBatteryStatsService.getActiveStatistics(); in appDiedLocked()
10124 BatteryStatsImpl stats = mBatteryStatsService.getActiveStatistics(); in newProcessRecordLocked()
11134 final BatteryStatsImpl stats = mBatteryStatsService.getActiveStatistics(); in noteWakeupAlarm()
11140 BatteryStatsImpl.Uid.Pkg pkg = in noteWakeupAlarm()
[all …]
DActivityStack.java31 import com.android.internal.os.BatteryStatsImpl;
1070 BatteryStatsImpl bsi = mService.mBatteryStatsService.getActiveStatistics(); in completePauseLocked()
1072 BatteryStatsImpl.Uid.Proc ps = in completePauseLocked()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.aidl19 parcelable BatteryStatsImpl;
DBatteryStatsHelper.java205 return com.android.internal.os.BatteryStatsImpl.CREATOR.createFromParcel(parcel); in statsFromFile()
753 private static BatteryStatsImpl getStats(IBatteryStats service) { in getStats()
763 BatteryStatsImpl stats = com.android.internal.os.BatteryStatsImpl.CREATOR in getStats()
773 return new BatteryStatsImpl(); in getStats()
DBatteryStatsImpl.java94 public final class BatteryStatsImpl extends BatteryStats { class
154 synchronized (BatteryStatsImpl.this) { in handleMessage()
169 synchronized (BatteryStatsImpl.this) { in handleMessage()
201 final SparseArray<BatteryStatsImpl.Uid> mUidStats =
202 new SparseArray<BatteryStatsImpl.Uid>();
497 public BatteryStatsImpl() { in BatteryStatsImpl() method in BatteryStatsImpl
1372 public void addDuration(BatteryStatsImpl stats, long durationMillis) { in addDuration()
1383 public void abortLastDuration(BatteryStatsImpl stats) { in abortLastDuration()
2005 final BatteryStatsImpl.Uid uid = mUidStats.valueAt(i); in computeHistoryStepDetails()
2043 final BatteryStatsImpl.Uid uid = mUidStats.valueAt(i); in computeHistoryStepDetails()
[all …]
DProcessCpuTracker.java184 public BatteryStatsImpl.Uid.Proc batteryStats;
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl19 import com.android.internal.os.BatteryStatsImpl;