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.java193 WorkSource newWorkSource = new WorkSource(ws); in acquireWifiLock() local
195 return addLock(new WifiLock(lockMode, tag, binder, newWorkSource)); in acquireWifiLock()
270 WorkSource newWorkSource = new WorkSource(ws); in updateWifiLockWorkSource() local
273 Slog.d(TAG, "updateWifiLockWakeSource: " + wl + ", newWorkSource=" + newWorkSource); in updateWifiLockWorkSource()
285 setBlameHiPerfWs(newWorkSource, true); in updateWifiLockWorkSource()
290 addWsToLlWatchList(newWorkSource); in updateWifiLockWorkSource()
299 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.java340 WorkSource newWorkSource = new WorkSource(DEFAULT_TEST_UID_2); in testUpdateWifiLockWorkSourceCalledWithWorkSource() local
344 mWifiLockManager.updateWifiLockWorkSource(mBinder, newWorkSource); in testUpdateWifiLockWorkSourceCalledWithWorkSource()
346 inOrder.verify(mBatteryStats).noteFullWifiLockAcquiredFromSource(eq(newWorkSource)); in testUpdateWifiLockWorkSourceCalledWithWorkSource()
359 WorkSource newWorkSource = new WorkSource(Binder.getCallingUid()); in testUpdateWifiLockWorkSourceCalledWithUID() local
363 mWifiLockManager.updateWifiLockWorkSource(mBinder, newWorkSource); in testUpdateWifiLockWorkSourceCalledWithUID()
365 inOrder.verify(mBatteryStats).noteFullWifiLockAcquiredFromSource(eq(newWorkSource)); in testUpdateWifiLockWorkSourceCalledWithUID()