Searched refs:avoidBadWifi (Results 1 – 5 of 5) sorted by relevance
118 assertFalse(tracker.avoidBadWifi) in testUpdateAvoidBadWifi()122 assertTrue(tracker.avoidBadWifi) in testUpdateAvoidBadWifi()153 assertFalse(tracker.avoidBadWifi) in testOnActiveDataSubscriptionIdChanged()
309 private void doDefaultIPv6ProvisioningConfigurationAndProvisioningLossTest(boolean avoidBadWifi) in doDefaultIPv6ProvisioningConfigurationAndProvisioningLossTest() argument311 when(mCm.shouldAvoidBadWifi()).thenReturn(avoidBadWifi); in doDefaultIPv6ProvisioningConfigurationAndProvisioningLossTest()337 boolean avoidBadWifi) throws Exception { in doDefaultDualStackProvisioningConfigurationTest() argument338 when(mCm.shouldAvoidBadWifi()).thenReturn(avoidBadWifi); in doDefaultDualStackProvisioningConfigurationTest()347 if (avoidBadWifi) { // Provisioning failure is expected only when avoidBadWifi is true in doDefaultDualStackProvisioningConfigurationTest()
733 return networkCapabilities.hasTransport(TRANSPORT_CELLULAR) && !mConnService.avoidBadWifi(); in yieldToBadWiFi()
4582 public boolean avoidBadWifi() { in avoidBadWifi() method in ConnectivityService4595 return avoidBadWifi(); in shouldAvoidBadWifi()4614 pw.println("Bad Wi-Fi avoidance: " + avoidBadWifi()); in dumpAvoidBadWifiSettings()
4871 assertFalse(mService.avoidBadWifi()); in testAvoidBadWifiConfig_controlledBySettings()4877 assertTrue(mService.avoidBadWifi()); in testAvoidBadWifiConfig_controlledBySettings()4883 assertFalse(mService.avoidBadWifi()); in testAvoidBadWifiConfig_controlledBySettings()4897 assertTrue(mService.avoidBadWifi()); in testAvoidBadWifiConfig_ignoreSettings()