Home
last modified time | relevance | path

Searched refs:mWorkSource (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/os/
DPowerManager.java1139 private WorkSource mWorkSource; field in PowerManager.WakeLock
1232 mService.acquireWakeLock(mToken, mFlags, mTag, mPackageName, mWorkSource, in acquireLocked()
1315 changed = mWorkSource != null; in setWorkSource()
1316 mWorkSource = null; in setWorkSource()
1317 } else if (mWorkSource == null) { in setWorkSource()
1319 mWorkSource = new WorkSource(ws); in setWorkSource()
1321 changed = mWorkSource.diff(ws); in setWorkSource()
1323 mWorkSource.set(ws); in setWorkSource()
1329 mService.updateWakeLockWorkSource(mToken, mWorkSource, mHistoryTag); in setWorkSource()
/frameworks/base/location/java/android/location/
DLocationRequest.java151 private WorkSource mWorkSource = null; field in LocationRequest
244 mWorkSource = src.mWorkSource; in LocationRequest()
522 mWorkSource = workSource; in setWorkSource()
528 return mWorkSource; in getWorkSource()
627 parcel.writeParcelable(mWorkSource, 0); in writeToParcel()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java2183 private WorkSource mWorkSource;
2209 mService.acquireWifiLock(mBinder, mLockType, mTag, mWorkSource);
2290 mWorkSource = null;
2293 if (mWorkSource == null) {
2294 changed = mWorkSource != null;
2295 mWorkSource = new WorkSource(ws);
2297 changed = mWorkSource.diff(ws);
2299 mWorkSource.set(ws);
2305 mService.updateWifiLockWorkSource(mBinder, mWorkSource);
/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeScanner.java275 private final WorkSource mWorkSource; field in BluetoothLeScanner.BleScanCallbackWrapper
292 mWorkSource = workSource; in BleScanCallbackWrapper()
368 mWorkSource, mResultStorages, in onClientRegistered()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java909 if (wakeLock.mWorkSource != null && wakeLock.mWorkSource.getName(0) != null) { in applyWakeLockFlagsOnAcquireLocked()
910 opPackageName = wakeLock.mWorkSource.getName(0); in applyWakeLockFlagsOnAcquireLocked()
911 opUid = wakeLock.mWorkSource.get(0); in applyWakeLockFlagsOnAcquireLocked()
914 opUid = wakeLock.mWorkSource != null ? wakeLock.mWorkSource.get(0) in applyWakeLockFlagsOnAcquireLocked()
1026 wakeLock.mOwnerUid, wakeLock.mOwnerPid, wakeLock.mWorkSource, in notifyWakeLockAcquiredLocked()
1035 wakeLock.mOwnerUid, wakeLock.mOwnerPid, wakeLock.mWorkSource, in notifyWakeLockChangingLocked()
1045 wakeLock.mWorkSource, wakeLock.mHistoryTag); in notifyWakeLockReleasedLocked()
2999 public WorkSource mWorkSource; field in PowerManagerService.WakeLock
3012 mWorkSource = copyWorkSource(workSource); in WakeLock()
3053 return Objects.equal(mWorkSource, workSource); in hasSameWorkSource()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java1537 WorkSource mWorkSource; field in WifiServiceImpl.WifiLock
1542 mWorkSource = ws; in WifiLock()
1585 ws.add(mLocks.mList.get(i).mWorkSource); in updateWorkSource()
1660 mBatteryStats.noteFullWifiLockAcquiredFromSource(wifiLock.mWorkSource); in noteAcquireWifiLock()
1670 mBatteryStats.noteFullWifiLockReleasedFromSource(wifiLock.mWorkSource); in noteReleaseWifiLock()
1722 wl.mWorkSource = ws != null ? new WorkSource(ws) : new WorkSource(uid); in updateWifiLockWorkSource()
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java643 final WorkSource mWorkSource; // WorkSource for battery blame, or null to assign to caller. field in LocationManagerService.Receiver
672 mWorkSource = workSource; in Receiver()
1442 if (record.mReceiver.mWorkSource != null in applyRequirementsLocked()
1443 && record.mReceiver.mWorkSource.size() > 0 in applyRequirementsLocked()
1444 && record.mReceiver.mWorkSource.getName(0) != null) { in applyRequirementsLocked()
1447 worksource.add(record.mReceiver.mWorkSource); in applyRequirementsLocked()
DAlarmManagerService.java833 final WorkSource mWorkSource; field in AlarmManagerService.InFlight
845 mWorkSource = workSource; in InFlight()
2870 if (inflight.mWorkSource != null && inflight.mWorkSource.size() > 0) { in updateStatsLocked()
2871 for (int wi=0; wi<inflight.mWorkSource.size(); wi++) { in updateStatsLocked()
2873 … inflight.mPendingIntent, inflight.mWorkSource.get(wi), inflight.mTag); in updateStatsLocked()
2902 setWakelockWorkSource(inFlight.mPendingIntent, inFlight.mWorkSource, in updateTrackingLocked()
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java349 private WorkSource mWorkSource = null; field in GnssLocationProvider
1172 mWorkSource = source; in handleSetRequest()
1178 if (mProviderRequest == null || mWorkSource == null) { in updateRequirements()
1201 updateClientUids(mWorkSource); in updateRequirements()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java1798 private final WorkSource mWorkSource; field in WifiScanningServiceImpl.ClientInfo
1805 mWorkSource = new WorkSource(uid); in ClientInfo()
1849 mBatteryStats.noteWifiBatchedScanStartedFromSource(mWorkSource, csph); in reportBatchedScanStart()
1860 mBatteryStats.noteWifiBatchedScanStoppedFromSource(mWorkSource); in reportBatchedScanStop()