Home
last modified time | relevance | path

Searched refs:NetworkSelectionStatus (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DXmlUtilTest.java25 import android.net.wifi.WifiConfiguration.NetworkSelectionStatus;
265 NetworkSelectionStatus status = new NetworkSelectionStatus(); in testEnabledNetworkSelectionStatusSerializeDeserialize()
266 status.setNetworkSelectionStatus(NetworkSelectionStatus.NETWORK_SELECTION_ENABLED); in testEnabledNetworkSelectionStatusSerializeDeserialize()
267 status.setNetworkSelectionDisableReason(NetworkSelectionStatus.NETWORK_SELECTION_ENABLE); in testEnabledNetworkSelectionStatusSerializeDeserialize()
281 NetworkSelectionStatus status = new NetworkSelectionStatus(); in testTemporarilyDisabledNetworkSelectionStatusSerializeDeserialize()
283 NetworkSelectionStatus.NETWORK_SELECTION_TEMPORARY_DISABLED); in testTemporarilyDisabledNetworkSelectionStatusSerializeDeserialize()
285 NetworkSelectionStatus.DISABLED_ASSOCIATION_REJECTION); in testTemporarilyDisabledNetworkSelectionStatusSerializeDeserialize()
301 NetworkSelectionStatus status = new NetworkSelectionStatus(); in testDeprecatedNetworkSelectionStatusDeserialize()
303 NetworkSelectionStatus.NETWORK_SELECTION_TEMPORARY_DISABLED); in testDeprecatedNetworkSelectionStatusDeserialize()
305 NetworkSelectionStatus.DISABLED_DHCP_FAILURE); in testDeprecatedNetworkSelectionStatusDeserialize()
[all …]
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiConfigurationTest.java28 import android.net.wifi.WifiConfiguration.NetworkSelectionStatus;
96 NetworkSelectionStatus networkSelectionStatus = new NetworkSelectionStatus(); in testNetworkSelectionStatusCopy()
99 NetworkSelectionStatus copy = new NetworkSelectionStatus(); in testNetworkSelectionStatusCopy()
107 NetworkSelectionStatus networkSelectionStatus = new NetworkSelectionStatus(); in testNetworkSelectionStatusParcel()
119 NetworkSelectionStatus copy = new NetworkSelectionStatus(); in testNetworkSelectionStatusParcel()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java36 import android.net.wifi.WifiConfiguration.NetworkSelectionStatus;
366 WifiConfiguration.NetworkSelectionStatus.INVALID_NETWORK_SELECTION_DISABLE_TIMESTAMP;
1087 NetworkSelectionStatus.NETWORK_SELECTION_PERMANENTLY_DISABLED); in setDefaultsInWifiConfiguration()
1089 NetworkSelectionStatus.DISABLED_BY_WIFI_MANAGER); in setDefaultsInWifiConfiguration()
1561 NetworkSelectionStatus status = config.getNetworkSelectionStatus(); in setNetworkSelectionEnabled()
1563 != NetworkSelectionStatus.NETWORK_SELECTION_ENABLED) { in setNetworkSelectionEnabled()
1569 NetworkSelectionStatus.NETWORK_SELECTION_ENABLED); in setNetworkSelectionEnabled()
1571 NetworkSelectionStatus.INVALID_NETWORK_SELECTION_DISABLE_TIMESTAMP); in setNetworkSelectionEnabled()
1572 status.setNetworkSelectionDisableReason(NetworkSelectionStatus.NETWORK_SELECTION_ENABLE); in setNetworkSelectionEnabled()
1584 NetworkSelectionStatus status = config.getNetworkSelectionStatus(); in setNetworkSelectionTemporarilyDisabled()
[all …]
DWifiNetworkSelector.java551 WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_ENABLE); in setUserConnectChoice()
567 WifiConfiguration.NetworkSelectionStatus status = network.getNetworkSelectionStatus(); in setLegacyUserConnectChoice()
617 WifiConfiguration.NetworkSelectionStatus status = network.getNetworkSelectionStatus(); in updateConfiguredNetworks()
620 for (int index = WifiConfiguration.NetworkSelectionStatus in updateConfiguredNetworks()
622 index < WifiConfiguration.NetworkSelectionStatus in updateConfiguredNetworks()
631 .append(WifiConfiguration.NetworkSelectionStatus in updateConfiguredNetworks()
663 WifiConfiguration.NetworkSelectionStatus tempStatus = in overrideCandidateWithUserConnectChoice()
DNetworkListStoreData.java25 import android.net.wifi.WifiConfiguration.NetworkSelectionStatus;
232 NetworkSelectionStatus status = null; in parseNetwork()
DCarrierNetworkEvaluator.java158 WifiConfiguration.NetworkSelectionStatus nss = null; in evaluateNetworks()
DSavedNetworkEvaluator.java218 WifiConfiguration.NetworkSelectionStatus status = in evaluateNetworks()
DNetworkSuggestionEvaluator.java150 WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_ENABLE)) { in addCandidateToWifiConfigManager()
DClientModeImpl.java2205 WifiConfiguration.NetworkSelectionStatus netWorkSelectionStatus = in getLogRecString()
2425 WifiConfiguration.NetworkSelectionStatus.DISABLED_DHCP_FAILURE); in getLogRecString()
3233 WifiConfiguration.NetworkSelectionStatus.DISABLED_DHCP_FAILURE); in handleSuccessfulIpConfiguration()
3250 WifiConfiguration.NetworkSelectionStatus.DISABLED_DHCP_FAILURE); in handleIPv4Failure()
3273 WifiConfiguration.NetworkSelectionStatus.DISABLED_DHCP_FAILURE); in handleIpConfigurationLost()
4006 WifiConfiguration.NetworkSelectionStatus in processMessage()
4027 int disableReason = WifiConfiguration.NetworkSelectionStatus in processMessage()
4032 disableReason = WifiConfiguration.NetworkSelectionStatus in processMessage()
4044 disableReason = WifiConfiguration.NetworkSelectionStatus in processMessage()
4201 WifiConfiguration.NetworkSelectionStatus in processMessage()
[all …]
DSupplicantStateTracker.java349 WifiConfiguration.NetworkSelectionStatus in processMessage()
DScoredNetworkEvaluator.java310 WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_ENABLE)) { in getCandidateConfiguration()
DWifiConnectivityManager.java19 import static android.net.wifi.WifiConfiguration.NetworkSelectionStatus.DISABLED_NO_INTERNET_PERMAN…
20 import static android.net.wifi.WifiConfiguration.NetworkSelectionStatus.DISABLED_NO_INTERNET_TEMPOR…
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.java59 WifiConfiguration.NetworkSelectionStatus networkStatus = in buildLoggingSummary()
61 for (int index = WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_ENABLE; in buildLoggingSummary()
62 index < WifiConfiguration.NetworkSelectionStatus in buildLoggingSummary()
65 summary.append(" " + WifiConfiguration.NetworkSelectionStatus in buildLoggingSummary()
DAccessPoint.java1161 WifiConfiguration.NetworkSelectionStatus networkStatus = in getSettingsSummary()
1164 case WifiConfiguration.NetworkSelectionStatus.DISABLED_AUTHENTICATION_FAILURE: in getSettingsSummary()
1167 case WifiConfiguration.NetworkSelectionStatus.DISABLED_BY_WRONG_PASSWORD: in getSettingsSummary()
1170 case WifiConfiguration.NetworkSelectionStatus.DISABLED_DHCP_FAILURE: in getSettingsSummary()
1171 case WifiConfiguration.NetworkSelectionStatus.DISABLED_DNS_FAILURE: in getSettingsSummary()
1174 case WifiConfiguration.NetworkSelectionStatus.DISABLED_ASSOCIATION_REJECTION: in getSettingsSummary()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java37 import android.net.wifi.WifiConfiguration.NetworkSelectionStatus;
1024 networkId, NetworkSelectionStatus.NETWORK_SELECTION_ENABLE, 0); in testNetworkSelectionStatus()
1028 int assocRejectReason = NetworkSelectionStatus.DISABLED_ASSOCIATION_REJECTION; in testNetworkSelectionStatus()
1035 networkId, NetworkSelectionStatus.DISABLED_ASSOCIATION_REJECTION); in testNetworkSelectionStatus()
1039 result.getNetworkId(), NetworkSelectionStatus.DISABLED_BY_WIFI_MANAGER, 0); in testNetworkSelectionStatus()
1041 networkId, NetworkSelectionStatus.DISABLED_BY_WIFI_MANAGER); in testNetworkSelectionStatus()
1045 result.getNetworkId(), NetworkSelectionStatus.NETWORK_SELECTION_ENABLE, 0); in testNetworkSelectionStatus()
1062 networkId, NetworkSelectionStatus.NETWORK_SELECTION_ENABLE, 0); in testNetworkSelectionStatusTemporarilyDisabledDueToNoInternet()
1067 result.getNetworkId(), NetworkSelectionStatus.DISABLED_NO_INTERNET_TEMPORARY, 1); in testNetworkSelectionStatusTemporarilyDisabledDueToNoInternet()
1069 networkId, NetworkSelectionStatus.DISABLED_NO_INTERNET_TEMPORARY); in testNetworkSelectionStatusTemporarilyDisabledDueToNoInternet()
[all …]
DWifiNetworkSelectorTestUtil.java31 import android.net.wifi.WifiConfiguration.NetworkSelectionStatus;
268 NetworkSelectionStatus in prepareConfigStore()
411 eq(WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_ENABLE))) in setupEphemeralNetwork()
415 WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_ENABLE); in setupEphemeralNetwork()
DWifiLastResortWatchdogTest.java105 WifiConfiguration.NetworkSelectionStatus networkSelectionStatus = in createFilteredQnsCandidates()
106 mock(WifiConfiguration.NetworkSelectionStatus.class); in createFilteredQnsCandidates()
129 WifiConfiguration.NetworkSelectionStatus networkSelectionStatus = in createFilteredQnsCandidates()
130 mock(WifiConfiguration.NetworkSelectionStatus.class); in createFilteredQnsCandidates()
1613 WifiConfiguration.NetworkSelectionStatus networkSelectionStatus = in testUpdateNetworkWithNullConfig()
1614 mock(WifiConfiguration.NetworkSelectionStatus.class); in testUpdateNetworkWithNullConfig()
1649 WifiConfiguration.NetworkSelectionStatus networkSelectionStatusFalse = in testUpdateNetworkWithHasEverConnectedTrue()
1650 mock(WifiConfiguration.NetworkSelectionStatus.class); in testUpdateNetworkWithHasEverConnectedTrue()
1668 WifiConfiguration.NetworkSelectionStatus networkSelectionStatusTrue = in testUpdateNetworkWithHasEverConnectedTrue()
1669 mock(WifiConfiguration.NetworkSelectionStatus.class); in testUpdateNetworkWithHasEverConnectedTrue()
[all …]
DWifiConfigurationTestUtil.java28 import android.net.wifi.WifiConfiguration.NetworkSelectionStatus;
687 NetworkSelectionStatus expected, NetworkSelectionStatus actual) { in assertNetworkSelectionStatusEqualForConfigStore()
691 NetworkSelectionStatus.NETWORK_SELECTION_ENABLED, in assertNetworkSelectionStatusEqualForConfigStore()
694 NetworkSelectionStatus.NETWORK_SELECTION_ENABLE, in assertNetworkSelectionStatusEqualForConfigStore()
DWifiConfigurationUtilTest.java866 WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_ENABLED); in testPnoListComparator()
869 WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_ENABLED); in testPnoListComparator()
872 WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_TEMPORARY_DISABLED); in testPnoListComparator()
875 WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_TEMPORARY_DISABLED); in testPnoListComparator()
878 WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_PERMANENTLY_DISABLED); in testPnoListComparator()
DClientModeImplTest.java19 import static android.net.wifi.WifiConfiguration.NetworkSelectionStatus.DISABLED_NO_INTERNET_TEMPOR…
20 import static android.net.wifi.WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_ENABLE;
1513 eq(WifiConfiguration.NetworkSelectionStatus.DISABLED_AUTHENTICATION_FAILURE)); in testWrongPasswordWithPreviouslyConnected()
1544 eq(WifiConfiguration.NetworkSelectionStatus.DISABLED_BY_WRONG_PASSWORD)); in testWrongPasswordWithNeverConnected()
1570 eq(WifiConfiguration.NetworkSelectionStatus.DISABLED_BY_WRONG_PASSWORD)); in testWrongPasswordWithNullNetwork()
1654 eq(WifiConfiguration.NetworkSelectionStatus in testEapSimNoSubscribedError()
2738 .thenReturn(new WifiConfiguration.NetworkSelectionStatus()); in testConnectedMacRandomizationRandomizationNoneDifferentMac()
2770 .thenReturn(new WifiConfiguration.NetworkSelectionStatus()); in testConnectedMacRandomizationRandomizationNoneSameMac()
2821 .thenReturn(new WifiConfiguration.NetworkSelectionStatus()); in testDoNotSetMacWhenInvalid()
DWifiNetworkSelectorTest.java35 import android.net.wifi.WifiConfiguration.NetworkSelectionStatus;
691 NetworkSelectionStatus.NETWORK_SELECTION_PERMANENTLY_DISABLED); in setUserConnectChoice()
704 NetworkSelectionStatus.NETWORK_SELECTION_ENABLE); in setUserConnectChoice()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java31 import android.net.wifi.WifiConfiguration.NetworkSelectionStatus;
985 public static void writeToXml(XmlSerializer out, NetworkSelectionStatus selectionStatus) in writeToXml()
1007 public static NetworkSelectionStatus parseFromXml(XmlPullParser in, int outerTagDepth) in parseFromXml()
1009 NetworkSelectionStatus selectionStatus = new NetworkSelectionStatus(); in parseFromXml()
1044 Arrays.asList(NetworkSelectionStatus.QUALITY_NETWORK_SELECTION_STATUS) in parseFromXml()
1047 Arrays.asList(NetworkSelectionStatus.QUALITY_NETWORK_SELECTION_DISABLE_REASON) in parseFromXml()
1054 status == NetworkSelectionStatus.NETWORK_SELECTION_TEMPORARY_DISABLED) { in parseFromXml()
1055 status = NetworkSelectionStatus.NETWORK_SELECTION_ENABLED; in parseFromXml()
1056 disableReason = NetworkSelectionStatus.NETWORK_SELECTION_ENABLE; in parseFromXml()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java1103 public static class NetworkSelectionStatus { class in WifiConfiguration
1431 public NetworkSelectionStatus() { in NetworkSelectionStatus() method in WifiConfiguration.NetworkSelectionStatus
1621 public void copy(NetworkSelectionStatus source) { in copy()
1685 private NetworkSelectionStatus mNetworkSelectionStatus = new NetworkSelectionStatus();
1738 public NetworkSelectionStatus getNetworkSelectionStatus() { in getNetworkSelectionStatus()
1746 public void setNetworkSelectionStatus(NetworkSelectionStatus status) { in setNetworkSelectionStatus()
1864 sbuf.append(NetworkSelectionStatus.getNetworkDisableReasonString(index) in toString()
2010 if (mNetworkSelectionStatus.getDisableTime() != NetworkSelectionStatus in toString()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluatorTest.java641 WifiConfiguration.NetworkSelectionStatus selectionStatus = in evaluateNetworkWithDisabledWifiConfig()
642 new WifiConfiguration.NetworkSelectionStatus(); in evaluateNetworkWithDisabledWifiConfig()
644 WifiConfiguration.NetworkSelectionStatus.DISABLED_DHCP_FAILURE); in evaluateNetworkWithDisabledWifiConfig()
646 WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_TEMPORARY_DISABLED); in evaluateNetworkWithDisabledWifiConfig()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluator.java232 WifiConfiguration.NetworkSelectionStatus status = in createWifiConfigForProvider()

12