Home
last modified time | relevance | path

Searched refs:getStrongestLockMode (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLockManagerTest.java104 assertThat(mWifiLockManager.getStrongestLockMode(), in acquireWifiLockSuccessful()
160 assertEquals(WifiManager.WIFI_MODE_NO_LOCKS_HELD, mWifiLockManager.getStrongestLockMode()); in newWifiLockManagerShouldNotHaveAnyLocks()
184 assertEquals(WifiManager.WIFI_MODE_FULL_HIGH_PERF, mWifiLockManager.getStrongestLockMode()); in acquireWifiLockWithValidParamsShouldSucceed()
198 mWifiLockManager.getStrongestLockMode()); in secondCallToAcquireWifiLockWithSameBinderShouldFail()
216 assertEquals(WifiManager.WIFI_MODE_NO_LOCKS_HELD, mWifiLockManager.getStrongestLockMode()); in releaseWifiLockShouldSucceed()
234 assertEquals(WifiManager.WIFI_MODE_FULL_HIGH_PERF, mWifiLockManager.getStrongestLockMode()); in releaseLocksForOneCallerNotImpactOtherCallers()
236 assertEquals(WifiManager.WIFI_MODE_FULL_HIGH_PERF, mWifiLockManager.getStrongestLockMode()); in releaseLocksForOneCallerNotImpactOtherCallers()
238 assertEquals(WifiManager.WIFI_MODE_NO_LOCKS_HELD, mWifiLockManager.getStrongestLockMode()); in releaseLocksForOneCallerNotImpactOtherCallers()
262 assertEquals(WifiManager.WIFI_MODE_NO_LOCKS_HELD, mWifiLockManager.getStrongestLockMode()); in checkForProperValueForGetStrongestLockMode()
265 assertEquals(WifiManager.WIFI_MODE_FULL_HIGH_PERF, mWifiLockManager.getStrongestLockMode()); in checkForProperValueForGetStrongestLockMode()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiLockManager.java215 public synchronized int getStrongestLockMode() { in getStrongestLockMode() method in WifiLockManager
563 final int newLockMode = getStrongestLockMode(); in updateOpMode()