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

  /frameworks/base/core/java/android/os/health/
SystemHealthManager.java 43 private final IBatteryStats mBatteryStats;
50 mBatteryStats = IBatteryStats.Stub.asInterface(
80 final HealthStatsParceler parceler = mBatteryStats.takeUidSnapshot(uid);
115 final HealthStatsParceler[] parcelers = mBatteryStats.takeUidSnapshots(uids);
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
WifiLockManagerTest.java 54 @Mock IBatteryStats mBatteryStats;
67 mWifiLockManager = new WifiLockManager(mContext, mBatteryStats);
78 InOrder inOrder = inOrder(binder, mBatteryStats);
80 inOrder.verify(mBatteryStats).noteFullWifiLockAcquiredFromSource(ws);
88 InOrder inOrder = inOrder(binder, mBatteryStats);
90 inOrder.verify(mBatteryStats).noteFullWifiLockReleasedFromSource(any(WorkSource.class));
242 InOrder inOrder = inOrder(mBatteryStats);
243 inOrder.verify(mBatteryStats).noteFullWifiLockReleasedFromSource(mWorkSource);
244 inOrder.verify(mBatteryStats).noteFullWifiLockAcquiredFromSource(eq(newWorkSource));
261 InOrder inOrder = inOrder(mBatteryStats);
    [all...]
  /frameworks/base/core/java/android/os/
BatteryManager.java 208 private final IBatteryStats mBatteryStats;
215 mBatteryStats = IBatteryStats.Stub.asInterface(
229 return mBatteryStats.isCharging();
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiLockManager.java 41 private final IBatteryStats mBatteryStats;
54 mBatteryStats = batteryStats;
156 mBatteryStats.noteFullWifiLockReleasedFromSource(wl.mWorkSource);
158 mBatteryStats.noteFullWifiLockAcquiredFromSource(wl.mWorkSource);
191 mBatteryStats.noteFullWifiLockAcquiredFromSource(lock.mWorkSource);
233 mBatteryStats.noteFullWifiLockReleasedFromSource(wifiLock.mWorkSource);
SupplicantStateTracker.java 52 private final IBatteryStats mBatteryStats;
95 mBatteryStats = (IBatteryStats)ServiceManager.getService(BatteryStats.SERVICE_NAME);
193 mBatteryStats.noteWifiSupplicantStateChanged(supplState, failedAuth);
WifiServiceImpl.java 138 private final IBatteryStats mBatteryStats;
336 mBatteryStats = BatteryStatsService.getService();
344 mWifiLockManager = new WifiLockManager(mContext, mBatteryStats);
    [all...]
WifiStateMachine.java     [all...]
  /frameworks/base/services/core/java/com/android/server/power/
Notifier.java 88 private final IBatteryStats mBatteryStats;
134 mBatteryStats = batteryStats;
160 mBatteryStats.noteInteractive(true);
182 mBatteryStats.noteStartWakelockFromSource(workSource, ownerPid, tag,
185 mBatteryStats.noteStartWakelock(ownerUid, ownerPid, tag, historyTag,
208 mBatteryStats.noteLongPartialWakelockStart(tag, historyTag, workSource.get(i));
211 mBatteryStats.noteLongPartialWakelockStart(tag, historyTag, ownerUid);
229 mBatteryStats.noteLongPartialWakelockFinish(tag, historyTag, workSource.get(i));
232 mBatteryStats.noteLongPartialWakelockFinish(tag, historyTag, ownerUid);
261 mBatteryStats.noteChangeWakelockFromSource(workSource, ownerPid, tag, historyTag
    [all...]
PowerManagerService.java 191 private IBatteryStats mBatteryStats;
590 mBatteryStats = BatteryStatsService.getService();
591 mNotifier = new Notifier(Looper.getMainLooper(), mContext, mBatteryStats,
    [all...]
  /frameworks/base/services/core/java/com/android/server/connectivity/
DataConnectionStats.java 41 private final IBatteryStats mBatteryStats;
50 mBatteryStats = BatteryStatsService.getService();
94 mBatteryStats.notePhoneDataConnectionState(networkType, visible);
  /frameworks/base/services/core/java/com/android/server/job/
JobServiceContext.java 107 private final IBatteryStats mBatteryStats;
150 mBatteryStats = batteryStats;
210 mBatteryStats.noteJobStart(job.getBatteryName(), job.getSourceUid());
590 mBatteryStats.noteJobFinish(mRunningJob.getBatteryName(),
JobSchedulerService.java 147 IBatteryStats mBatteryStats;
    [all...]
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
WifiScanningServiceTest.java 84 @Mock IBatteryStats mBatteryStats;
113 mWifiScannerImplFactory, mBatteryStats, mWifiInjector);
390 mWifiScannerImplFactory, mBatteryStats);
489 verify(mBatteryStats).noteWifiScanStartedFromSource(eq(workSource));
499 verify(mBatteryStats).noteWifiScanStoppedFromSource(eq(workSource));
583 verifyNoMoreInteractions(mBatteryStats);
618 verify(mBatteryStats).noteWifiScanStartedFromSource(eq(workSource));
629 verify(mBatteryStats).noteWifiScanStoppedFromSource(eq(workSource));
    [all...]
  /frameworks/base/services/core/java/com/android/server/display/
DisplayPowerController.java 124 private final IBatteryStats mBatteryStats;
266 mBatteryStats = BatteryStatsService.getService();
476 mBatteryStats.noteScreenState(mPowerState.getScreenState());
477 mBatteryStats.noteScreenBrightness(mPowerState.getScreenBrightness());
    [all...]
  /frameworks/base/services/core/java/com/android/server/am/
ProcessRecord.java 62 private final BatteryStatsImpl mBatteryStats; // where to collect runtime statistics
352 synchronized (mBatteryStats) {
353 wtime = mBatteryStats.getProcessWakeTime(info.uid,
446 mBatteryStats = _batteryStats;
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
ScanManager.java 86 private IBatteryStats mBatteryStats;
106 mBatteryStats = IBatteryStats.Stub.asInterface(ServiceManager.getService("batterystats"));
242 mBatteryStats.noteBleScanStarted(client.workSource);
271 mBatteryStats.noteBleScanStopped(client.workSource);
    [all...]
  /frameworks/base/services/core/java/com/android/server/
TelephonyRegistry.java 131 private final IBatteryStats mBatteryStats;
292 mBatteryStats = BatteryStatsService.getService();
    [all...]
BatteryService.java 109 private final IBatteryStats mBatteryStats;
156 mBatteryStats = BatteryStatsService.getService();
359 mBatteryStats.setBatteryState(mBatteryProps.batteryStatus, mBatteryProps.batteryHealth,
    [all...]
DeviceIdleController.java 116 private IBatteryStats mBatteryStats;
    [all...]
NetworkManagementService.java 213 private IBatteryStats mBatteryStats;
355 if (mBatteryStats != null) {
356 return mBatteryStats;
358 mBatteryStats = IBatteryStats.Stub.asInterface(ServiceManager.getService(
360 return mBatteryStats;
    [all...]
  /frameworks/base/services/usage/java/com/android/server/usage/
UsageStatsService.java 134 private IBatteryStats mBatteryStats;
223 mBatteryStats = IBatteryStats.Stub.asInterface(
516 mBatteryStats.noteEvent(BatteryStats.HistoryItem.EVENT_PACKAGE_INACTIVE,
519 mBatteryStats.noteEvent(BatteryStats.HistoryItem.EVENT_PACKAGE_ACTIVE,
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
WifiScanningServiceImpl.java 265 private final IBatteryStats mBatteryStats;
276 mBatteryStats = batteryStats;
616 mBatteryStats.noteWifiScanStartedFromSource(mScanWorkSource);
626 mBatteryStats.noteWifiScanStoppedFromSource(mScanWorkSource);
    [all...]
  /frameworks/base/services/core/java/com/android/server/location/
GnssLocationProvider.java 411 private final IBatteryStats mBatteryStats;
729 mBatteryStats = IBatteryStats.Stub.asInterface(ServiceManager.getService(
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
AdapterService.java 204 private IBatteryStats mBatteryStats;
520 mBatteryStats = IBatteryStats.Stub.asInterface(ServiceManager.getService(
579 mBatteryStats.noteResetBleScan();
    [all...]
  /frameworks/base/services/core/java/com/android/server/content/
SyncManager.java 212 private final IBatteryStats mBatteryStats;
565 mBatteryStats = IBatteryStats.Stub.asInterface(ServiceManager.getService(
    [all...]

Completed in 7102 milliseconds