Searched refs:getStrongestLockMode (Results 1 – 2 of 2) sorted by relevance
104 assertThat(mWifiLockManager.getStrongestLockMode(), in acquireWifiLockSuccessful()160 assertEquals(WifiManager.WIFI_MODE_NO_LOCKS_HELD, mWifiLockManager.getStrongestLockMode()); in newWifiLockManagerShouldNotHaveAnyLocks()173 assertEquals(WifiManager.WIFI_MODE_FULL_HIGH_PERF, mWifiLockManager.getStrongestLockMode()); in acquireWifiLockWithValidParamsShouldSucceed()187 mWifiLockManager.getStrongestLockMode()); in secondCallToAcquireWifiLockWithSameBinderShouldFail()205 assertEquals(WifiManager.WIFI_MODE_NO_LOCKS_HELD, mWifiLockManager.getStrongestLockMode()); in releaseWifiLockShouldSucceed()223 assertEquals(WifiManager.WIFI_MODE_FULL_HIGH_PERF, mWifiLockManager.getStrongestLockMode()); in releaseLocksForOneCallerNotImpactOtherCallers()225 assertEquals(WifiManager.WIFI_MODE_FULL_HIGH_PERF, mWifiLockManager.getStrongestLockMode()); in releaseLocksForOneCallerNotImpactOtherCallers()227 assertEquals(WifiManager.WIFI_MODE_NO_LOCKS_HELD, mWifiLockManager.getStrongestLockMode()); in releaseLocksForOneCallerNotImpactOtherCallers()251 assertEquals(WifiManager.WIFI_MODE_NO_LOCKS_HELD, mWifiLockManager.getStrongestLockMode()); in checkForProperValueForGetStrongestLockMode()254 assertEquals(WifiManager.WIFI_MODE_FULL_HIGH_PERF, mWifiLockManager.getStrongestLockMode()); in checkForProperValueForGetStrongestLockMode()[all …]
211 public synchronized int getStrongestLockMode() { in getStrongestLockMode() method in WifiLockManager565 final int newLockMode = getStrongestLockMode(); in updateOpMode()