Searched refs:getStrongestLockMode (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiLockManagerTest.java | 128 assertThat(mWifiLockManager.getStrongestLockMode(), in acquireWifiLockSuccessful() 180 assertEquals(WifiManager.WIFI_MODE_NO_LOCKS_HELD, mWifiLockManager.getStrongestLockMode()); in newWifiLockManagerShouldNotHaveAnyLocks() 193 assertEquals(WifiManager.WIFI_MODE_FULL_HIGH_PERF, mWifiLockManager.getStrongestLockMode()); in acquireWifiLockWithValidParamsShouldSucceed() 207 mWifiLockManager.getStrongestLockMode()); in secondCallToAcquireWifiLockWithSameBinderShouldFail() 225 assertEquals(WifiManager.WIFI_MODE_NO_LOCKS_HELD, mWifiLockManager.getStrongestLockMode()); in releaseWifiLockShouldSucceed() 243 assertEquals(WifiManager.WIFI_MODE_FULL_HIGH_PERF, mWifiLockManager.getStrongestLockMode()); in releaseLocksForOneCallerNotImpactOtherCallers() 245 assertEquals(WifiManager.WIFI_MODE_FULL_HIGH_PERF, mWifiLockManager.getStrongestLockMode()); in releaseLocksForOneCallerNotImpactOtherCallers() 247 assertEquals(WifiManager.WIFI_MODE_NO_LOCKS_HELD, mWifiLockManager.getStrongestLockMode()); in releaseLocksForOneCallerNotImpactOtherCallers() 271 assertEquals(WifiManager.WIFI_MODE_NO_LOCKS_HELD, mWifiLockManager.getStrongestLockMode()); in checkForProperValueForGetStrongestLockMode() 274 assertEquals(WifiManager.WIFI_MODE_FULL_HIGH_PERF, mWifiLockManager.getStrongestLockMode()); in checkForProperValueForGetStrongestLockMode() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiLockManager.java | 242 synchronized int getStrongestLockMode() { in getStrongestLockMode() method in WifiLockManager 675 final int newLockMode = getStrongestLockMode(); in updateOpMode() 712 setNewMode(newPrimaryClientModeManager, getStrongestLockMode()); in onChange()
|