/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | XmlUtilTest.java | 25 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/ |
D | WifiConfigurationTest.java | 28 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/ |
D | WifiConfigManager.java | 36 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 …]
|
D | WifiNetworkSelector.java | 551 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()
|
D | NetworkListStoreData.java | 25 import android.net.wifi.WifiConfiguration.NetworkSelectionStatus; 232 NetworkSelectionStatus status = null; in parseNetwork()
|
D | CarrierNetworkEvaluator.java | 158 WifiConfiguration.NetworkSelectionStatus nss = null; in evaluateNetworks()
|
D | SavedNetworkEvaluator.java | 218 WifiConfiguration.NetworkSelectionStatus status = in evaluateNetworks()
|
D | NetworkSuggestionEvaluator.java | 150 WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_ENABLE)) { in addCandidateToWifiConfigManager()
|
D | ClientModeImpl.java | 2205 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 …]
|
D | SupplicantStateTracker.java | 349 WifiConfiguration.NetworkSelectionStatus in processMessage()
|
D | ScoredNetworkEvaluator.java | 310 WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_ENABLE)) { in getCandidateConfiguration()
|
D | WifiConnectivityManager.java | 19 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/ |
D | WifiUtils.java | 59 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()
|
D | AccessPoint.java | 1161 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/ |
D | WifiConfigManagerTest.java | 37 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 …]
|
D | WifiNetworkSelectorTestUtil.java | 31 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()
|
D | WifiLastResortWatchdogTest.java | 105 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 …]
|
D | WifiConfigurationTestUtil.java | 28 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()
|
D | WifiConfigurationUtilTest.java | 866 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()
|
D | ClientModeImplTest.java | 19 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()
|
D | WifiNetworkSelectorTest.java | 35 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/ |
D | XmlUtil.java | 31 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/ |
D | WifiConfiguration.java | 1103 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/ |
D | PasspointNetworkEvaluatorTest.java | 641 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/ |
D | PasspointNetworkEvaluator.java | 232 WifiConfiguration.NetworkSelectionStatus status = in createWifiConfigForProvider()
|