Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLockManagerTest.java236 WorkSource newWorkSource = new WorkSource(DEFAULT_TEST_UID_2); in testUpdateWifiLockWorkSourceCalledWithWorkSource() local
240 mWifiLockManager.updateWifiLockWorkSource(mBinder, newWorkSource); in testUpdateWifiLockWorkSourceCalledWithWorkSource()
243 inOrder.verify(mBatteryStats).noteFullWifiLockAcquiredFromSource(eq(newWorkSource)); in testUpdateWifiLockWorkSourceCalledWithWorkSource()
255 WorkSource newWorkSource = new WorkSource(Binder.getCallingUid()); in testUpdateWifiLockWorkSourceCalledWithUID() local
262 inOrder.verify(mBatteryStats).noteFullWifiLockAcquiredFromSource(eq(newWorkSource)); in testUpdateWifiLockWorkSourceCalledWithUID()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiLockManager.java146 WorkSource newWorkSource; in updateWifiLockWorkSource() local
148 newWorkSource = new WorkSource(Binder.getCallingUid()); in updateWifiLockWorkSource()
151 newWorkSource = new WorkSource(ws); in updateWifiLockWorkSource()
157 wl.mWorkSource = newWorkSource; in updateWifiLockWorkSource()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java249 int newOwnerPid, WorkSource newWorkSource, String newHistoryTag) { in onWakeLockChanging() argument
253 if (workSource != null && newWorkSource != null in onWakeLockChanging()
259 + ", workSource=" + newWorkSource); in onWakeLockChanging()
266 monitorType, newWorkSource, newOwnerPid, newTag, newHistoryTag, in onWakeLockChanging()
274 newWorkSource, newHistoryTag); in onWakeLockChanging()