Lines Matching refs:ws
729 WorkSource ws, String historyTag, int uid, int pid) {
734 + ", tag=\"" + tag + "\", ws=" + ws + ", uid=" + uid + ", pid=" + pid);
742 if (!wakeLock.hasSameProperties(flags, tag, ws, uid, pid)) {
745 uid, pid, ws, historyTag);
746 wakeLock.updateProperties(flags, tag, packageName, ws, historyTag, uid, pid);
750 wakeLock = new WakeLock(lock, flags, tag, packageName, ws, historyTag, uid, pid);
853 private void updateWakeLockWorkSourceInternal(IBinder lock, WorkSource ws, String historyTag,
860 + " [not found], ws=" + ws);
869 + " [" + wakeLock.mTag + "], ws=" + ws);
872 if (!wakeLock.hasSameWorkSource(ws)) {
875 ws, historyTag);
877 wakeLock.updateWorkSource(ws);
902 String packageName, int uid, int pid, WorkSource ws, String historyTag) {
906 wakeLock.mHistoryTag, flags, tag, packageName, uid, pid, ws, historyTag);
2697 + " (uid=" + mOwnerUid + ", pid=" + mOwnerPid + ", ws=" + mWorkSource + ")";
2819 WorkSource ws, String historyTag) {
2833 if (ws != null && ws.size() != 0) {
2837 ws = null;
2844 acquireWakeLockInternal(lock, flags, tag, packageName, ws, historyTag, uid, pid);
2868 WorkSource ws = null;
2871 ws = new WorkSource();
2875 ws.add(uids[i]);
2878 updateWakeLockWorkSource(lock, ws, null);
2882 public void updateWakeLockWorkSource(IBinder lock, WorkSource ws, String historyTag) {
2888 if (ws != null && ws.size() != 0) {
2892 ws = null;
2898 updateWakeLockWorkSourceInternal(lock, ws, historyTag, callingUid);