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.java192 WorkSource newWorkSource = new WorkSource(ws); in acquireWifiLock() local
193 return addLock(new WifiLock(lockMode, tag, binder, newWorkSource)); in acquireWifiLock()
268 WorkSource newWorkSource = new WorkSource(ws); in updateWifiLockWorkSource() local
271 Log.d(TAG, "updateWifiLockWakeSource: " + wl + ", newWorkSource=" + newWorkSource); in updateWifiLockWorkSource()
283 setBlameHiPerfWs(newWorkSource, true); in updateWifiLockWorkSource()
288 addWsToLlWatchList(newWorkSource); in updateWifiLockWorkSource()
297 wl.mWorkSource = newWorkSource; in updateWifiLockWorkSource()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java296 int newOwnerPid, WorkSource newWorkSource, String newHistoryTag) { in onWakeLockChanging() argument
300 if (workSource != null && newWorkSource != null in onWakeLockChanging()
306 + ", workSource=" + newWorkSource); in onWakeLockChanging()
313 monitorType, newWorkSource, newOwnerPid, newTag, newHistoryTag, in onWakeLockChanging()
321 newWorkSource, newHistoryTag); in onWakeLockChanging()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLockManagerTest.java325 WorkSource newWorkSource = new WorkSource(DEFAULT_TEST_UID_2); in testUpdateWifiLockWorkSourceCalledWithWorkSource() local
329 mWifiLockManager.updateWifiLockWorkSource(mBinder, newWorkSource); in testUpdateWifiLockWorkSourceCalledWithWorkSource()
331 inOrder.verify(mBatteryStats).reportFullWifiLockAcquiredFromSource(eq(newWorkSource)); in testUpdateWifiLockWorkSourceCalledWithWorkSource()
344 WorkSource newWorkSource = new WorkSource(Binder.getCallingUid()); in testUpdateWifiLockWorkSourceCalledWithUID() local
348 mWifiLockManager.updateWifiLockWorkSource(mBinder, newWorkSource); in testUpdateWifiLockWorkSourceCalledWithUID()
350 inOrder.verify(mBatteryStats).reportFullWifiLockAcquiredFromSource(eq(newWorkSource)); in testUpdateWifiLockWorkSourceCalledWithUID()