Lines Matching refs:ws
447 BatchedScanRequest(BatchedScanSettings settings, IBinder binder, WorkSource ws) {
452 workSource = ws;
1449 WifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) {
1450 super(lockMode, tag, binder, ws);
1491 synchronized void updateWorkSource(WorkSource ws) {
1493 ws.add(mLocks.mList.get(i).mWorkSource);
1539 public boolean acquireWifiLock(IBinder binder, int lockMode, String tag, WorkSource ws) {
1548 if (ws != null && ws.size() == 0) {
1549 ws = null;
1551 if (ws != null) {
1554 if (ws == null) {
1555 ws = new WorkSource(Binder.getCallingUid());
1557 WifiLock wifiLock = new WifiLock(lockMode, tag, binder, ws);
1612 public void updateWifiLockWorkSource(IBinder lock, WorkSource ws) {
1615 if (ws != null && ws.size() == 0) {
1616 ws = null;
1618 if (ws != null) {
1630 wl.mWorkSource = ws != null ? new WorkSource(ws) : new WorkSource(uid);
1687 DeathRecipient(int mode, String tag, IBinder binder, WorkSource ws) {
1692 mWorkSource = ws;