/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/ |
H A D | WifiSecurityUtil.java | 44 return AccessPoint.SECURITY_NONE; in getSecurity() 61 return (config.wepKeys[0] != null) ? AccessPoint.SECURITY_WEP : AccessPoint.SECURITY_NONE; in getSecurity() 79 case AccessPoint.SECURITY_NONE: in getName() 93 return wifiSecurity == AccessPoint.SECURITY_NONE; in isOpen()
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
H A D | NetworkSecurityPreferenceController.java | 51 WifiEntry.SECURITY_NONE, 81 SECURITY_TYPE_TO_DESC_RES.get(WifiEntry.SECURITY_NONE))); in onCreateInternal() 82 securityTypeIdsList.add(Integer.toString(WifiEntry.SECURITY_NONE)); in onCreateInternal() 114 mSelectedSecurityType = WifiEntry.SECURITY_NONE; in onCreateInternal() 122 getPreference().setDefaultValue(Integer.toString(WifiEntry.SECURITY_NONE)); in onCreateInternal() 146 map.put(WifiEntry.SECURITY_NONE, R.string.wifi_security_none); in createSecurityTypeDescMap()
|
H A D | AddWifiFragment.java | 69 WifiEntry.SECURITY_NONE); 93 private int mSecurityType = WifiEntry.SECURITY_NONE; 111 mSecurityType = savedInstanceState.getInt(KEY_SECURITY_TYPE, WifiEntry.SECURITY_NONE); in onCreate()
|
H A D | WifiEntrySecurity.java | 36 WifiEntry.SECURITY_NONE, 79 case WifiEntry.SECURITY_NONE: in toString()
|
H A D | NetworkPasswordPreferenceController.java | 61 WifiEntry.SECURITY_NONE); 84 private int mSecurityType = WifiEntry.SECURITY_NONE;
|
H A D | WifiUtil.java | 216 return security == WifiEntry.SECURITY_NONE || security == WifiEntry.SECURITY_OWE; in isOpenNetwork() 265 case WifiEntry.SECURITY_NONE: in finishWifiConfig() 365 return WifiEntry.SECURITY_NONE; in getWifiEntrySecurity()
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
H A D | SavedNetworkNominatorTest.java | 20 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_NONE; 179 int[] securities = {SECURITY_NONE, SECURITY_NONE}; in ignoreEphemeralNetworks() 207 int[] securities = {SECURITY_NONE, SECURITY_NONE}; in ignoreNetworksIfAutojoinNotAllowed() 239 int[] securities = {SECURITY_NONE, SECURITY_NONE}; in returnNoCandidateIfNoNetworksAllowAutojoin() 350 int[] securities = {SECURITY_NONE}; in testIgnoreOpenNetworkWithSameNetworkSuggestionHasSecureNetworkFromSameCarrier()
|
H A D | ConfigurationMapTest.java | 60 WifiConfigurationTestUtil.SECURITY_NONE), 63 WifiConfigurationTestUtil.SECURITY_NONE), 66 WifiConfigurationTestUtil.SECURITY_NONE), 69 WifiConfigurationTestUtil.SECURITY_NONE), 72 WifiConfigurationTestUtil.SECURITY_NONE), 75 WifiConfigurationTestUtil.SECURITY_NONE));
|
H A D | ScoredNetworkNominatorTest.java | 23 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_NONE; 191 int[] securities = {SECURITY_PSK, SECURITY_NONE}; in testUpdate_allNetworksUnscored() 218 int[] securities = {SECURITY_PSK, SECURITY_NONE}; in testUpdate_oneScored_oneUnscored() 263 int[] securities = {SECURITY_PSK, SECURITY_NONE}; in testUpdate_externalScorerNotPermittedToSeeScanResults() 286 int[] securities = {SECURITY_PSK, SECURITY_NONE}; in testUpdate_externalScorerNotPermittedToSeeScanResultsWithException() 412 int[] securities = {SECURITY_PSK, SECURITY_NONE}; in testEvaluateNetworks_nullScoredNetworks()
|
/aosp12/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
H A D | StandardNetworkDetailsTrackerTest.java | 25 import static com.android.wifitrackerlib.WifiEntry.SECURITY_NONE; 119 ssidAndSecurityTypeToStandardWifiEntryKey("ssid", SECURITY_NONE); in testGetWifiEntry_HasCorrectKey() 134 ssidAndSecurityTypeToStandardWifiEntryKey("ssid", SECURITY_NONE); in testHandleOnStart_scanResultUpdaterUpdateCorrectly() 156 ssidAndSecurityTypeToStandardWifiEntryKey("ssid", SECURITY_NONE); in testScanResultsAvailableAction_updates_getLevel() 195 ssidAndSecurityTypeToStandardWifiEntryKey("ssid", SECURITY_NONE); in testConfiguredNetworksChangedAction_updates_isSaved() 235 ssidAndSecurityTypeToStandardWifiEntryKey("ssid", SECURITY_NONE); in testWifiStateChanged_disabled_clearsLevel()
|
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/ |
H A D | LimitedWifiEntryListPreferenceControllerTest.java | 95 when(mMockWifiEntry1.getSecurity()).thenReturn(WifiEntry.SECURITY_NONE); in setUp() 97 when(mMockWifiEntry2.getSecurity()).thenReturn(WifiEntry.SECURITY_NONE); in setUp() 99 when(mMockWifiEntry3.getSecurity()).thenReturn(WifiEntry.SECURITY_NONE); in setUp() 101 when(mMockWifiEntry4.getSecurity()).thenReturn(WifiEntry.SECURITY_NONE); in setUp()
|
H A D | NetworkSecurityPreferenceControllerTest.java | 97 String value = Integer.toString(WifiEntry.SECURITY_NONE); in handlePreferenceChanged_unsecureNetwork_summaryUpdated() 126 WifiEntry.SECURITY_NONE)).isEqualTo(Integer.parseInt(value)); in handlePreferenceChanged_broadcastIsSent()
|
H A D | WifiEntryListPreferenceControllerTest.java | 103 when(mMockWifiEntry1.getSecurity()).thenReturn(WifiEntry.SECURITY_NONE); in setUp() 105 when(mMockWifiEntry2.getSecurity()).thenReturn(WifiEntry.SECURITY_NONE); in setUp() 165 when(mMockWifiEntry1.getSecurity()).thenReturn(WifiEntry.SECURITY_NONE); in performClick_noSecurityNotConnectedWifiEntry_connect()
|
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
H A D | WifiUtils.java | 51 return AccessPoint.SECURITY_NONE; in getAccessPointSecurity() 96 case AccessPoint.SECURITY_NONE: in getWifiConfig()
|
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
H A D | AccessPoint.java | 219 public static final int SECURITY_NONE = 0; field in AccessPoint 781 } else if (otherApSecurity == SECURITY_NONE) { in matches() 785 if ((security == SECURITY_OWE || security == SECURITY_NONE) in matches() 816 } else if (configSecurity == SECURITY_NONE) { in matches() 865 } else if (scanResultSccurity == SECURITY_NONE) { in matches() 869 if ((security == SECURITY_OWE || security == SECURITY_NONE) in matches() 1056 case SECURITY_NONE: in getSecurityString() 1387 if (security == SECURITY_NONE) { in generateOpenNetworkConfig() 1787 return SECURITY_NONE; in getSecurity() 1810 ? SECURITY_WEP : SECURITY_NONE; in getSecurity() [all …]
|
H A D | WifiEntryPreference.java | 232 if ((mWifiEntry.getSecurity() != WifiEntry.SECURITY_NONE) in bindFrictionImage() 257 mWifiEntry.getSecurity() == WifiEntry.SECURITY_NONE in buildContentDescription()
|
H A D | AccessPointPreference.java | 203 if ((mAccessPoint.getSecurity() != AccessPoint.SECURITY_NONE) in bindFrictionImage() 285 ap.getSecurity() == AccessPoint.SECURITY_NONE in buildContentDescription()
|
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/ |
H A D | WifiUtils.java | 177 case WifiEntry.SECURITY_NONE: in getWifiConfig() 232 return WifiEntry.SECURITY_NONE; in getWifiEntrySecurity()
|
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/security/ |
H A D | WifiSecurityHelper.java | 46 .id(AccessPoint.SECURITY_NONE) in getSecurityTypes() 114 case AccessPoint.SECURITY_NONE: in getConfig()
|
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
H A D | WifiDppUtils.java | 189 case WifiEntry.SECURITY_NONE: in getSecurityString() 470 case WifiEntry.SECURITY_NONE: in isSupportZxing() 515 return (config.wepKeys[0] != null) ? WifiEntry.SECURITY_WEP : WifiEntry.SECURITY_NONE; in getSecurityTypeFromWifiConfiguration()
|
/aosp12/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/ |
H A D | WifiEntry.java | 75 SECURITY_NONE, 87 public static final int SECURITY_NONE = 0; field in WifiEntry 376 return SECURITY_NONE; in getSecurity() 395 return SECURITY_NONE; in getSecurity()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/ |
H A D | InternetAdapterTest.java | 97 when(mWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_NONE); in onBindViewHolder_bindWithOpenWifiNetwork_verifyView() 219 mViewHolder.updateEndIcon(WifiEntry.CONNECTED_STATE_DISCONNECTED, WifiEntry.SECURITY_NONE); in viewHolderUpdateEndIcon_wifiDisconnectedAndSecurityNone_hideIcon()
|
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
H A D | TvAccessPointPreference.java | 78 if ((mAccessPoint.getSecurity() != AccessPoint.SECURITY_NONE) in onBindViewHolder()
|
H A D | AccessPointPreference.java | 187 if ((mAccessPoint.getSecurity() != AccessPoint.SECURITY_NONE) in bindFrictionImage() 267 ap.getSecurity() == AccessPoint.SECURITY_NONE in buildContentDescription()
|
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
H A D | ChooseSecurityState.java | 104 if (action.getId() == AccessPoint.SECURITY_NONE) { in onGuidedActionClicked()
|