Searched refs:mBatteryStatsService (Results 1 – 6 of 6) sorted by relevance
87 private final IBatteryStats mBatteryStatsService; field in VibratorService208 mBatteryStatsService = IBatteryStats.Stub.asInterface(ServiceManager.getService( in VibratorService()743 mBatteryStatsService.noteVibratorOn(uid, millis); in noteVibratorOnLocked()752 mBatteryStatsService.noteVibratorOff(mCurVibUid); in noteVibratorOffLocked()
1198 final BatteryStatsService mBatteryStatsService; field in ActivityManagerService2227 mBatteryStatsService.noteEvent(BatteryStats.HistoryItem.EVENT_USER_RUNNING_START, in handleMessage()2246 mBatteryStatsService.noteEvent( in handleMessage()2249 mBatteryStatsService.noteEvent( in handleMessage()2695 mBatteryStatsService = null; in ActivityManagerService()2764 mBatteryStatsService = new BatteryStatsService(systemDir, mHandler); in ActivityManagerService()2765 mBatteryStatsService.getActiveStatistics().readLocked(); in ActivityManagerService()2766 mBatteryStatsService.scheduleWriteToDisk(); in ActivityManagerService()2768 : mBatteryStatsService.getActiveStatistics().getIsOnBattery(); in ActivityManagerService()2769 mBatteryStatsService.getActiveStatistics().setCallback(this); in ActivityManagerService()[all …]
367 mService.mBatteryStatsService.noteProcessCrash(r.processName, r.uid); in crashApplicationInner()959 mService.mBatteryStatsService.noteProcessAnr(app.processName, app.uid); in appNotResponding()
1714 mService.mBatteryStatsService.noteEvent(code, name, uid);
1467 && mService.mBatteryStatsService.isOnBattery()) { in completePauseLocked()1471 BatteryStatsImpl bsi = mService.mBatteryStatsService.getActiveStatistics(); in completePauseLocked()
1749 final BatteryStatsImpl stats = mAm.mBatteryStatsService.getActiveStatistics(); in retrieveServiceLocked()