/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | XmlUtilTest.java | 24 import android.net.wifi.WifiConfiguration.NetworkSelectionStatus; 237 NetworkSelectionStatus status = new NetworkSelectionStatus(); in testEnabledNetworkSelectionStatusSerializeDeserialize() 238 status.setNetworkSelectionStatus(NetworkSelectionStatus.NETWORK_SELECTION_ENABLED); in testEnabledNetworkSelectionStatusSerializeDeserialize() 239 status.setNetworkSelectionDisableReason(NetworkSelectionStatus.NETWORK_SELECTION_ENABLE); in testEnabledNetworkSelectionStatusSerializeDeserialize() 253 NetworkSelectionStatus status = new NetworkSelectionStatus(); in testTemporarilyDisabledNetworkSelectionStatusSerializeDeserialize() 255 NetworkSelectionStatus.NETWORK_SELECTION_TEMPORARY_DISABLED); in testTemporarilyDisabledNetworkSelectionStatusSerializeDeserialize() 257 NetworkSelectionStatus.DISABLED_ASSOCIATION_REJECTION); in testTemporarilyDisabledNetworkSelectionStatusSerializeDeserialize() 273 NetworkSelectionStatus status = new NetworkSelectionStatus(); in testDeprecatedNetworkSelectionStatusDeserialize() 275 NetworkSelectionStatus.NETWORK_SELECTION_TEMPORARY_DISABLED); in testDeprecatedNetworkSelectionStatusDeserialize() 277 NetworkSelectionStatus.DISABLED_DHCP_FAILURE); in testDeprecatedNetworkSelectionStatusDeserialize() [all …]
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiConfigurationTest.java | 27 import android.net.wifi.WifiConfiguration.NetworkSelectionStatus; 80 NetworkSelectionStatus networkSelectionStatus = new NetworkSelectionStatus(); in testNetworkSelectionStatusCopy() 83 NetworkSelectionStatus copy = new NetworkSelectionStatus(); in testNetworkSelectionStatusCopy() 91 NetworkSelectionStatus networkSelectionStatus = new NetworkSelectionStatus(); in testNetworkSelectionStatusParcel() 103 NetworkSelectionStatus copy = new NetworkSelectionStatus(); in testNetworkSelectionStatusParcel()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigManager.java | 33 import android.net.wifi.WifiConfiguration.NetworkSelectionStatus; 327 WifiConfiguration.NetworkSelectionStatus.INVALID_NETWORK_SELECTION_DISABLE_TIMESTAMP; 902 NetworkSelectionStatus.NETWORK_SELECTION_PERMANENTLY_DISABLED); in setDefaultsInWifiConfiguration() 904 NetworkSelectionStatus.DISABLED_BY_WIFI_MANAGER); in setDefaultsInWifiConfiguration() 1283 NetworkSelectionStatus status = config.getNetworkSelectionStatus(); in setNetworkSelectionEnabled() 1285 NetworkSelectionStatus.NETWORK_SELECTION_ENABLED); in setNetworkSelectionEnabled() 1287 NetworkSelectionStatus.INVALID_NETWORK_SELECTION_DISABLE_TIMESTAMP); in setNetworkSelectionEnabled() 1288 status.setNetworkSelectionDisableReason(NetworkSelectionStatus.NETWORK_SELECTION_ENABLE); in setNetworkSelectionEnabled() 1300 NetworkSelectionStatus status = config.getNetworkSelectionStatus(); in setNetworkSelectionTemporarilyDisabled() 1302 NetworkSelectionStatus.NETWORK_SELECTION_TEMPORARY_DISABLED); in setNetworkSelectionTemporarilyDisabled() [all …]
|
D | SavedNetworkEvaluator.java | 117 WifiConfiguration.NetworkSelectionStatus status = network.getNetworkSelectionStatus(); in updateSavedNetworkSelectionStatus() 120 for (int index = WifiConfiguration.NetworkSelectionStatus in updateSavedNetworkSelectionStatus() 122 index < WifiConfiguration.NetworkSelectionStatus in updateSavedNetworkSelectionStatus() 131 .append(WifiConfiguration.NetworkSelectionStatus in updateSavedNetworkSelectionStatus() 260 WifiConfiguration.NetworkSelectionStatus status = in evaluateNetworks()
|
D | WifiNetworkHistory.java | 22 import android.net.wifi.WifiConfiguration.NetworkSelectionStatus; 145 NetworkSelectionStatus status = config.getNetworkSelectionStatus(); in writeKnownNetworkHistory() 374 NetworkSelectionStatus networkStatus = config.getNetworkSelectionStatus(); in readNetworkHistory() 457 NetworkSelectionStatus.NETWORK_SELECTION_TEMPORARY_DISABLED) { in readNetworkHistory() 459 NetworkSelectionStatus.NETWORK_SELECTION_ENABLED; in readNetworkHistory()
|
D | WifiNetworkSelector.java | 430 WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_ENABLE); in setUserConnectChoice() 440 WifiConfiguration.NetworkSelectionStatus status = network.getNetworkSelectionStatus(); in setUserConnectChoice() 482 WifiConfiguration.NetworkSelectionStatus tempStatus = in overrideCandidateWithUserConnectChoice()
|
D | NetworkListStoreData.java | 22 import android.net.wifi.WifiConfiguration.NetworkSelectionStatus; 243 NetworkSelectionStatus status = null; in parseNetwork()
|
D | WifiStateMachine.java | 2036 WifiConfiguration.NetworkSelectionStatus netWorkSelectionStatus = in getLogRecString() 2261 WifiConfiguration.NetworkSelectionStatus.DISABLED_DHCP_FAILURE); in getLogRecString() 2938 WifiConfiguration.NetworkSelectionStatus.DISABLED_DHCP_FAILURE); in handleSuccessfulIpConfiguration() 2954 WifiConfiguration.NetworkSelectionStatus.DISABLED_DHCP_FAILURE); in handleIPv4Failure() 2976 WifiConfiguration.NetworkSelectionStatus.DISABLED_DHCP_FAILURE); in handleIpConfigurationLost() 3894 WifiConfiguration.NetworkSelectionStatus in processMessage() 3914 int disableReason = WifiConfiguration.NetworkSelectionStatus in processMessage() 3919 disableReason = WifiConfiguration.NetworkSelectionStatus in processMessage() 4059 WifiConfiguration.NetworkSelectionStatus in processMessage() 5294 WifiConfiguration.NetworkSelectionStatus in processMessage() [all …]
|
D | ScoredNetworkEvaluator.java | 302 WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_ENABLE)) { in getCandidateConfiguration()
|
D | SupplicantStateTracker.java | 349 WifiConfiguration.NetworkSelectionStatus in processMessage()
|
D | WifiConnectivityManager.java | 19 import static android.net.wifi.WifiConfiguration.NetworkSelectionStatus.DISABLED_NO_INTERNET_TEMPOR…
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiUtils.java | 58 WifiConfiguration.NetworkSelectionStatus networkStatus = in buildLoggingSummary() 60 for (int index = WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_ENABLE; in buildLoggingSummary() 61 index < WifiConfiguration.NetworkSelectionStatus in buildLoggingSummary() 64 summary.append(" " + WifiConfiguration.NetworkSelectionStatus in buildLoggingSummary()
|
D | AccessPoint.java | 854 WifiConfiguration.NetworkSelectionStatus networkStatus = in getSettingsSummary() 857 case WifiConfiguration.NetworkSelectionStatus.DISABLED_AUTHENTICATION_FAILURE: in getSettingsSummary() 860 case WifiConfiguration.NetworkSelectionStatus.DISABLED_BY_WRONG_PASSWORD: in getSettingsSummary() 863 case WifiConfiguration.NetworkSelectionStatus.DISABLED_DHCP_FAILURE: in getSettingsSummary() 864 case WifiConfiguration.NetworkSelectionStatus.DISABLED_DNS_FAILURE: in getSettingsSummary() 867 case WifiConfiguration.NetworkSelectionStatus.DISABLED_ASSOCIATION_REJECTION: in getSettingsSummary()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigManagerTest.java | 34 import android.net.wifi.WifiConfiguration.NetworkSelectionStatus; 621 networkId, NetworkSelectionStatus.NETWORK_SELECTION_ENABLE, 0); in testNetworkSelectionStatus() 625 int assocRejectReason = NetworkSelectionStatus.DISABLED_ASSOCIATION_REJECTION; in testNetworkSelectionStatus() 632 networkId, NetworkSelectionStatus.DISABLED_ASSOCIATION_REJECTION); in testNetworkSelectionStatus() 636 result.getNetworkId(), NetworkSelectionStatus.DISABLED_BY_WIFI_MANAGER, 0); in testNetworkSelectionStatus() 638 networkId, NetworkSelectionStatus.DISABLED_BY_WIFI_MANAGER); in testNetworkSelectionStatus() 642 result.getNetworkId(), NetworkSelectionStatus.NETWORK_SELECTION_ENABLE, 0); in testNetworkSelectionStatus() 659 networkId, NetworkSelectionStatus.NETWORK_SELECTION_ENABLE, 0); in testNetworkSelectionStatusTemporarilyDisabledDueToNoInternet() 664 result.getNetworkId(), NetworkSelectionStatus.DISABLED_NO_INTERNET_TEMPORARY, 1); in testNetworkSelectionStatusTemporarilyDisabledDueToNoInternet() 666 networkId, NetworkSelectionStatus.DISABLED_NO_INTERNET_TEMPORARY); in testNetworkSelectionStatusTemporarilyDisabledDueToNoInternet() [all …]
|
D | WifiLastResortWatchdogTest.java | 82 WifiConfiguration.NetworkSelectionStatus networkSelectionStatus = in createFilteredQnsCandidates() 83 mock(WifiConfiguration.NetworkSelectionStatus.class); in createFilteredQnsCandidates() 106 WifiConfiguration.NetworkSelectionStatus networkSelectionStatus = in createFilteredQnsCandidates() 107 mock(WifiConfiguration.NetworkSelectionStatus.class); in createFilteredQnsCandidates() 1571 WifiConfiguration.NetworkSelectionStatus networkSelectionStatus = in testUpdateNetworkWithNullConfig() 1572 mock(WifiConfiguration.NetworkSelectionStatus.class); in testUpdateNetworkWithNullConfig() 1607 WifiConfiguration.NetworkSelectionStatus networkSelectionStatusFalse = in testUpdateNetworkWithHasEverConnectedTrue() 1608 mock(WifiConfiguration.NetworkSelectionStatus.class); in testUpdateNetworkWithHasEverConnectedTrue() 1626 WifiConfiguration.NetworkSelectionStatus networkSelectionStatusTrue = in testUpdateNetworkWithHasEverConnectedTrue() 1627 mock(WifiConfiguration.NetworkSelectionStatus.class); in testUpdateNetworkWithHasEverConnectedTrue() [all …]
|
D | WifiNetworkSelectorTestUtil.java | 31 import android.net.wifi.WifiConfiguration.NetworkSelectionStatus; 251 NetworkSelectionStatus in prepareConfigStore() 393 eq(WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_ENABLE))) in setupEphemeralNetwork() 397 WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_ENABLE); in setupEphemeralNetwork()
|
D | WifiConfigurationTestUtil.java | 27 import android.net.wifi.WifiConfiguration.NetworkSelectionStatus; 583 NetworkSelectionStatus expected, NetworkSelectionStatus actual) { in assertNetworkSelectionStatusEqualForConfigStore() 587 NetworkSelectionStatus.NETWORK_SELECTION_ENABLED, in assertNetworkSelectionStatusEqualForConfigStore() 590 NetworkSelectionStatus.NETWORK_SELECTION_ENABLE, in assertNetworkSelectionStatusEqualForConfigStore()
|
D | WifiConfigurationUtilTest.java | 643 WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_ENABLED); in testPnoListComparator() 646 WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_ENABLED); in testPnoListComparator() 649 WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_TEMPORARY_DISABLED); in testPnoListComparator() 652 WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_TEMPORARY_DISABLED); in testPnoListComparator() 655 WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_PERMANENTLY_DISABLED); in testPnoListComparator()
|
D | WifiNetworkSelectorTest.java | 29 import android.net.wifi.WifiConfiguration.NetworkSelectionStatus; 589 NetworkSelectionStatus.NETWORK_SELECTION_PERMANENTLY_DISABLED); in setUserConnectChoice() 602 NetworkSelectionStatus.NETWORK_SELECTION_ENABLE); in setUserConnectChoice()
|
D | WifiStateMachineTest.java | 19 import static android.net.wifi.WifiConfiguration.NetworkSelectionStatus.DISABLED_NO_INTERNET_TEMPOR… 20 import static android.net.wifi.WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_ENABLE; 1161 eq(WifiConfiguration.NetworkSelectionStatus.DISABLED_AUTHENTICATION_FAILURE)); in testWrongPasswordWithPreviouslyConnected() 1193 eq(WifiConfiguration.NetworkSelectionStatus.DISABLED_BY_WRONG_PASSWORD)); in testWrongPasswordWithNeverConnected() 1219 eq(WifiConfiguration.NetworkSelectionStatus.DISABLED_BY_WRONG_PASSWORD)); in testWrongPasswordWithNullNetwork() 2299 .thenReturn(new WifiConfiguration.NetworkSelectionStatus()); in testDoNotSetMacWhenInvalid()
|
D | WifiMetricsTest.java | 1059 WifiConfiguration.NetworkSelectionStatus networkSelectionStat = in testScanDetailAndWifiConfigurationUsage() 1060 mock(WifiConfiguration.NetworkSelectionStatus.class); in testScanDetailAndWifiConfigurationUsage() 1803 WifiConfiguration.NetworkSelectionStatus networkSelectionStat = in generateRssiDelta() 1804 mock(WifiConfiguration.NetworkSelectionStatus.class); in generateRssiDelta()
|
D | WifiConnectivityManagerTest.java | 19 import static android.net.wifi.WifiConfiguration.NetworkSelectionStatus.DISABLED_AUTHENTICATION_FAI… 20 import static android.net.wifi.WifiConfiguration.NetworkSelectionStatus.DISABLED_NO_INTERNET_TEMPOR…
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtil.java | 29 import android.net.wifi.WifiConfiguration.NetworkSelectionStatus; 886 public static void writeToXml(XmlSerializer out, NetworkSelectionStatus selectionStatus) in writeToXml() 908 public static NetworkSelectionStatus parseFromXml(XmlPullParser in, int outerTagDepth) in parseFromXml() 910 NetworkSelectionStatus selectionStatus = new NetworkSelectionStatus(); in parseFromXml() 945 Arrays.asList(NetworkSelectionStatus.QUALITY_NETWORK_SELECTION_STATUS) in parseFromXml() 948 Arrays.asList(NetworkSelectionStatus.QUALITY_NETWORK_SELECTION_DISABLE_REASON) in parseFromXml() 955 status == NetworkSelectionStatus.NETWORK_SELECTION_TEMPORARY_DISABLED) { in parseFromXml() 956 status = NetworkSelectionStatus.NETWORK_SELECTION_ENABLED; in parseFromXml() 957 disableReason = NetworkSelectionStatus.NETWORK_SELECTION_ENABLE; in parseFromXml()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfiguration.java | 845 public static class NetworkSelectionStatus { class in WifiConfiguration 1168 public NetworkSelectionStatus() { in NetworkSelectionStatus() method in WifiConfiguration.NetworkSelectionStatus 1358 public void copy(NetworkSelectionStatus source) { in copy() 1422 private NetworkSelectionStatus mNetworkSelectionStatus = new NetworkSelectionStatus(); 1475 public NetworkSelectionStatus getNetworkSelectionStatus() { in getNetworkSelectionStatus() 1483 public void setNetworkSelectionStatus(NetworkSelectionStatus status) { in setNetworkSelectionStatus() 1592 sbuf.append(NetworkSelectionStatus.getNetworkDisableReasonString(index) in toString() 1706 if (mNetworkSelectionStatus.getDisableTime() != NetworkSelectionStatus in toString()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | AccessPointTest.java | 437 WifiConfiguration.NetworkSelectionStatus.NETWORK_SELECTION_PERMANENTLY_DISABLED); 439 WifiConfiguration.NetworkSelectionStatus.DISABLED_BY_WRONG_PASSWORD);
|