Searched refs:getStrongestLockMode (Results 1 – 2 of 2) sorted by relevance
104 assertThat(mWifiLockManager.getStrongestLockMode(), in acquireWifiLockSuccessful()156 assertEquals(WifiManager.WIFI_MODE_NO_LOCKS_HELD, mWifiLockManager.getStrongestLockMode()); in newWifiLockManagerShouldNotHaveAnyLocks()169 assertEquals(WifiManager.WIFI_MODE_FULL_HIGH_PERF, mWifiLockManager.getStrongestLockMode()); in acquireWifiLockWithValidParamsShouldSucceed()183 mWifiLockManager.getStrongestLockMode()); in secondCallToAcquireWifiLockWithSameBinderShouldFail()201 assertEquals(WifiManager.WIFI_MODE_NO_LOCKS_HELD, mWifiLockManager.getStrongestLockMode()); in releaseWifiLockShouldSucceed()219 assertEquals(WifiManager.WIFI_MODE_FULL_HIGH_PERF, mWifiLockManager.getStrongestLockMode()); in releaseLocksForOneCallerNotImpactOtherCallers()221 assertEquals(WifiManager.WIFI_MODE_FULL_HIGH_PERF, mWifiLockManager.getStrongestLockMode()); in releaseLocksForOneCallerNotImpactOtherCallers()223 assertEquals(WifiManager.WIFI_MODE_NO_LOCKS_HELD, mWifiLockManager.getStrongestLockMode()); in releaseLocksForOneCallerNotImpactOtherCallers()247 assertEquals(WifiManager.WIFI_MODE_NO_LOCKS_HELD, mWifiLockManager.getStrongestLockMode()); in checkForProperValueForGetStrongestLockMode()250 assertEquals(WifiManager.WIFI_MODE_FULL_HIGH_PERF, mWifiLockManager.getStrongestLockMode()); in checkForProperValueForGetStrongestLockMode()[all …]
213 public synchronized int getStrongestLockMode() { in getStrongestLockMode() method in WifiLockManager567 final int newLockMode = getStrongestLockMode(); in updateOpMode()