Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DPowerManager.java631 private WorkSource mWorkSource; field in PowerManager.WakeLock
717 mService.acquireWakeLock(mToken, mFlags, mTag, mWorkSource); in acquireLocked()
797 changed = mWorkSource != null; in setWorkSource()
798 mWorkSource = null; in setWorkSource()
799 } else if (mWorkSource == null) { in setWorkSource()
801 mWorkSource = new WorkSource(ws); in setWorkSource()
803 changed = mWorkSource.diff(ws); in setWorkSource()
805 mWorkSource.set(ws); in setWorkSource()
811 mService.updateWakeLockWorkSource(mToken, mWorkSource); in setWorkSource()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java1610 private WorkSource mWorkSource; field in WifiManager.WifiLock
1636 mService.acquireWifiLock(mBinder, mLockType, mTag, mWorkSource); in acquire()
1715 mWorkSource = null; in setWorkSource()
1716 } else if (mWorkSource == null) { in setWorkSource()
1717 changed = mWorkSource != null; in setWorkSource()
1718 mWorkSource = new WorkSource(ws); in setWorkSource()
1720 changed = mWorkSource.diff(ws); in setWorkSource()
1722 mWorkSource.set(ws); in setWorkSource()
1727 mService.updateWifiLockWorkSource(mBinder, mWorkSource); in setWorkSource()
/frameworks/base/services/java/com/android/server/wifi/
DWifiService.java921 ws.add(mLocks.mList.get(i).mWorkSource); in updateWorkSource()
996 mBatteryStats.noteFullWifiLockAcquiredFromSource(wifiLock.mWorkSource); in noteAcquireWifiLock()
1006 mBatteryStats.noteFullWifiLockReleasedFromSource(wifiLock.mWorkSource); in noteReleaseWifiLock()
1058 wl.mWorkSource = ws != null ? new WorkSource(ws) : new WorkSource(uid); in updateWifiLockWorkSource()
1113 WorkSource mWorkSource; field in WifiService.DeathRecipient
1120 mWorkSource = ws; in DeathRecipient()
/frameworks/base/services/java/com/android/server/power/
DPowerManagerService.java789 wakeLock.mOwnerUid, wakeLock.mOwnerPid, wakeLock.mWorkSource); in notifyWakeLockAcquiredLocked()
796 wakeLock.mOwnerUid, wakeLock.mOwnerPid, wakeLock.mWorkSource); in notifyWakeLockReleasedLocked()
2423 public WorkSource mWorkSource; field in PowerManagerService.WakeLock
2432 mWorkSource = copyWorkSource(workSource); in WakeLock()
2461 return Objects.equal(mWorkSource, workSource); in hasSameWorkSource()
2465 mWorkSource = copyWorkSource(workSource); in updateWorkSource()
2472 + " (uid=" + mOwnerUid + ", pid=" + mOwnerPid + ", ws=" + mWorkSource + ")"; in toString()