Searched refs:mBatteryStatsService (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/ |
D | NetworkManagementServiceTest.java | 62 @Mock private IBatteryStats.Stub mBatteryStatsService; field in NetworkManagementServiceTest 74 return mBatteryStatsService;
|
/frameworks/base/services/core/java/com/android/server/ |
D | VibratorService.java | 135 private final IBatteryStats mBatteryStatsService; field in VibratorService 356 mBatteryStatsService = IBatteryStats.Stub.asInterface(ServiceManager.getService( in VibratorService() 1182 mBatteryStatsService.noteVibratorOn(uid, millis); in noteVibratorOnLocked() 1193 mBatteryStatsService.noteVibratorOff(mCurVibUid); in noteVibratorOffLocked()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 1124 final BatteryStatsService mBatteryStatsService; field in ActivityManagerService 2233 mService.mBatteryStatsService.systemServicesReady(); in onBootPhase() 2244 mService.mBatteryStatsService.onCleanupUser(userId); in onCleanupUser() 2404 mBatteryStatsService = null; in ActivityManagerService() 2499 mBatteryStatsService = new BatteryStatsService(systemContext, systemDir, in ActivityManagerService() 2501 mBatteryStatsService.getActiveStatistics().readLocked(); in ActivityManagerService() 2502 mBatteryStatsService.scheduleWriteToDisk(); in ActivityManagerService() 2504 : mBatteryStatsService.getActiveStatistics().getIsOnBattery(); in ActivityManagerService() 2505 mBatteryStatsService.getActiveStatistics().setCallback(this); in ActivityManagerService() 2598 mBatteryStatsService.publish(); in start() [all …]
|
D | ProcessList.java | 2009 mService.mBatteryStatsService.noteProcessStart(app.processName, app.info.uid); in handleProcessStartedLocked() 2243 mService.mBatteryStatsService.noteProcessFinish(app.processName, app.info.uid); in removeProcessLocked() 2245 mService.mBatteryStatsService.removeIsolatedUid(app.uid, app.info.uid); in removeProcessLocked() 2349 mService.mBatteryStatsService.addIsolatedUid(uid, info.uid); in newProcessRecordLocked()
|
D | ProcessRecord.java | 1556 if (mService.mBatteryStatsService != null) { in appNotResponding() 1557 mService.mBatteryStatsService.noteProcessAnr(processName, uid); in appNotResponding()
|
D | AppErrors.java | 483 mService.mBatteryStatsService.noteProcessCrash(r.processName, r.uid); in crashApplicationInner()
|
D | UserController.java | 2276 mService.mBatteryStatsService.noteEvent(code, name, uid);
|
D | ActiveServices.java | 2175 final BatteryStatsImpl stats = mAm.mBatteryStatsService.getActiveStatistics(); in retrieveServiceLocked()
|