Home
last modified time | relevance | path

Searched refs:SECURITY_NONE (Results 1 – 25 of 51) sorted by relevance

123

/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
H A DWifiSecurityUtil.java44 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 DNetworkSecurityPreferenceController.java51 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 DAddWifiFragment.java69 WifiEntry.SECURITY_NONE);
93 private int mSecurityType = WifiEntry.SECURITY_NONE;
111 mSecurityType = savedInstanceState.getInt(KEY_SECURITY_TYPE, WifiEntry.SECURITY_NONE); in onCreate()
H A DWifiEntrySecurity.java36 WifiEntry.SECURITY_NONE,
79 case WifiEntry.SECURITY_NONE: in toString()
H A DNetworkPasswordPreferenceController.java61 WifiEntry.SECURITY_NONE);
84 private int mSecurityType = WifiEntry.SECURITY_NONE;
H A DWifiUtil.java216 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 DSavedNetworkNominatorTest.java20 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 DConfigurationMapTest.java60 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 DScoredNetworkNominatorTest.java23 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 DStandardNetworkDetailsTrackerTest.java25 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 DLimitedWifiEntryListPreferenceControllerTest.java95 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 DNetworkSecurityPreferenceControllerTest.java97 String value = Integer.toString(WifiEntry.SECURITY_NONE); in handlePreferenceChanged_unsecureNetwork_summaryUpdated()
126 WifiEntry.SECURITY_NONE)).isEqualTo(Integer.parseInt(value)); in handlePreferenceChanged_broadcastIsSent()
H A DWifiEntryListPreferenceControllerTest.java103 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 DWifiUtils.java51 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 DAccessPoint.java219 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 DWifiEntryPreference.java232 if ((mWifiEntry.getSecurity() != WifiEntry.SECURITY_NONE) in bindFrictionImage()
257 mWifiEntry.getSecurity() == WifiEntry.SECURITY_NONE in buildContentDescription()
H A DAccessPointPreference.java203 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 DWifiUtils.java177 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 DWifiSecurityHelper.java46 .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 DWifiDppUtils.java189 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 DWifiEntry.java75 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 DInternetAdapterTest.java97 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 DTvAccessPointPreference.java78 if ((mAccessPoint.getSecurity() != AccessPoint.SECURITY_NONE) in onBindViewHolder()
H A DAccessPointPreference.java187 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 DChooseSecurityState.java104 if (action.getId() == AccessPoint.SECURITY_NONE) { in onGuidedActionClicked()

123