Home
last modified time | relevance | path

Searched refs:newWorkSource (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiLockManager.java189 WorkSource newWorkSource = new WorkSource(ws); in acquireWifiLock() local
191 return addLock(new WifiLock(lockMode, tag, binder, newWorkSource)); in acquireWifiLock()
266 WorkSource newWorkSource = new WorkSource(ws); in updateWifiLockWorkSource() local
269 Slog.d(TAG, "updateWifiLockWakeSource: " + wl + ", newWorkSource=" + newWorkSource); in updateWifiLockWorkSource()
281 setBlameHiPerfWs(newWorkSource, true); in updateWifiLockWorkSource()
286 addWsToLlWatchList(newWorkSource); in updateWifiLockWorkSource()
295 wl.mWorkSource = newWorkSource; in updateWifiLockWorkSource()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java284 int newOwnerPid, WorkSource newWorkSource, String newHistoryTag) { in onWakeLockChanging() argument
288 if (workSource != null && newWorkSource != null in onWakeLockChanging()
294 + ", workSource=" + newWorkSource); in onWakeLockChanging()
301 monitorType, newWorkSource, newOwnerPid, newTag, newHistoryTag, in onWakeLockChanging()
309 newWorkSource, newHistoryTag); in onWakeLockChanging()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLockManagerTest.java329 WorkSource newWorkSource = new WorkSource(DEFAULT_TEST_UID_2); in testUpdateWifiLockWorkSourceCalledWithWorkSource() local
333 mWifiLockManager.updateWifiLockWorkSource(mBinder, newWorkSource); in testUpdateWifiLockWorkSourceCalledWithWorkSource()
335 inOrder.verify(mBatteryStats).noteFullWifiLockAcquiredFromSource(eq(newWorkSource)); in testUpdateWifiLockWorkSourceCalledWithWorkSource()
348 WorkSource newWorkSource = new WorkSource(Binder.getCallingUid()); in testUpdateWifiLockWorkSourceCalledWithUID() local
352 mWifiLockManager.updateWifiLockWorkSource(mBinder, newWorkSource); in testUpdateWifiLockWorkSourceCalledWithUID()
354 inOrder.verify(mBatteryStats).noteFullWifiLockAcquiredFromSource(eq(newWorkSource)); in testUpdateWifiLockWorkSourceCalledWithUID()