Home
last modified time | relevance | path

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

12

/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
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()
DAddWifiFragment.java69 WifiEntry.SECURITY_NONE);
93 private int mSecurityType = WifiEntry.SECURITY_NONE;
111 mSecurityType = savedInstanceState.getInt(KEY_SECURITY_TYPE, WifiEntry.SECURITY_NONE); in onCreate()
DWifiEntrySecurity.java36 WifiEntry.SECURITY_NONE,
79 case WifiEntry.SECURITY_NONE: in toString()
DNetworkPasswordPreferenceController.java61 WifiEntry.SECURITY_NONE);
84 private int mSecurityType = WifiEntry.SECURITY_NONE;
DWifiUtil.java215 return security == WifiEntry.SECURITY_NONE || security == WifiEntry.SECURITY_OWE; in isOpenNetwork()
264 case WifiEntry.SECURITY_NONE: in finishWifiConfig()
364 return WifiEntry.SECURITY_NONE; in getWifiEntrySecurity()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DWifiSecurityUtil.java44 return AccessPoint.SECURITY_NONE; in getSecurity()
67 return (config.wepKeys[0] != null) ? AccessPoint.SECURITY_WEP : AccessPoint.SECURITY_NONE; in getSecurity()
85 case AccessPoint.SECURITY_NONE: in getName()
99 return wifiSecurity == AccessPoint.SECURITY_NONE; in isOpen()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSavedNetworkNominatorTest.java20 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_NONE;
191 int[] securities = {SECURITY_NONE, SECURITY_NONE}; in ignoreEphemeralNetworks()
221 int[] securities = {SECURITY_NONE, SECURITY_NONE}; in ignoreNetworksIfAutojoinNotAllowed()
257 int[] securities = {SECURITY_NONE, SECURITY_NONE}; in returnNoCandidateIfNoNetworksAllowAutojoin()
446 int[] securities = {SECURITY_NONE}; in testIgnoreOpenNetworkWithSameNetworkSuggestionHasSecureNetworkFromSameCarrier()
483 int[] securities = {SECURITY_NONE}; in returnOnlyCandidateWithBssidInAllowList()
510 int[] securities = {SECURITY_NONE}; in returnNoCandidateWithEmptyBssidAllowList()
DConfigurationMapTest.java64 WifiConfigurationTestUtil.SECURITY_NONE),
67 WifiConfigurationTestUtil.SECURITY_NONE),
70 WifiConfigurationTestUtil.SECURITY_NONE),
73 WifiConfigurationTestUtil.SECURITY_NONE),
76 WifiConfigurationTestUtil.SECURITY_NONE),
79 WifiConfigurationTestUtil.SECURITY_NONE));
DWifiConfigurationTestUtil.java50 public static final int SECURITY_NONE = 1 << 0; field in WifiConfigurationTestUtil
157 if ((security & SECURITY_NONE) != 0) { in generateWifiConfig()
305 null, SECURITY_NONE); in createOpenNetwork()
316 null, SECURITY_NONE); in createOpenOweNetwork()
DWifiNetworkSelectorTest.java25 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_NONE;
1989 int[] securities = {isOpenNetwork1 ? SECURITY_NONE : SECURITY_PSK, in testStayOrTryToSwitch()
1990 isOpenNetwork2 ? SECURITY_NONE : SECURITY_PSK}; in testStayOrTryToSwitch()
2009 int[] securities = {isOpenNetwork ? SECURITY_NONE : SECURITY_PSK}; in testStayOrTryToSwitch()
2133 int[] securities = {SECURITY_NONE}; in getfilterOpenUnsavedNetworks_filtersOutSavedNetworks()
2367 int[] securities = {SECURITY_NONE, SECURITY_NONE}; in setUpTwoNetworks()
3215 SECURITY_NONE | SECURITY_OWE, WifiConfiguration.SECURITY_TYPE_OWE); in verifySecurityParamsSelectionForOpenOweConfigAndOweScan()
3222 SECURITY_NONE | SECURITY_OWE, -1); in verifySecurityParamsSelectionForOpenOweConfigAndOweScanNegative()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
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()
DNetworkSecurityPreferenceControllerTest.java97 String value = Integer.toString(WifiEntry.SECURITY_NONE); in handlePreferenceChanged_unsecureNetwork_summaryUpdated()
126 WifiEntry.SECURITY_NONE)).isEqualTo(Integer.parseInt(value)); in handlePreferenceChanged_broadcastIsSent()
DWifiEntryListPreferenceControllerTest.java115 when(mMockWifiEntry1.getSecurity()).thenReturn(WifiEntry.SECURITY_NONE); in setUp()
117 when(mMockWifiEntry2.getSecurity()).thenReturn(WifiEntry.SECURITY_NONE); in setUp()
178 when(mMockWifiEntry1.getSecurity()).thenReturn(WifiEntry.SECURITY_NONE); in performClick_noSecurityNotConnectedWifiEntry_connect()
DNetworkPasswordPreferenceControllerTest.java157 WifiEntry.SECURITY_NONE); in receiveSecurityChangeIntent_setUnsecureType_preferenceHidden()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiUtils.java196 case WifiEntry.SECURITY_NONE: in getWifiConfig()
251 return WifiEntry.SECURITY_NONE; in getWifiEntrySecurity()
DWifiEntryPreference.java262 if ((mWifiEntry.getSecurity() != WifiEntry.SECURITY_NONE) in bindFrictionImage()
287 mWifiEntry.getSecurity() == WifiEntry.SECURITY_NONE in buildContentDescription()
DWifiConfigController.java262 mAccessPointSecurity = (accessPoint == null) ? AccessPoint.SECURITY_NONE : in initWifiConfigController()
644 case AccessPoint.SECURITY_NONE: in getConfig()
1015 if (mAccessPointSecurity == AccessPoint.SECURITY_NONE || in showSecurityFields()
1741 mSecurityInPosition[idx++] = AccessPoint.SECURITY_NONE; in configureSecuritySpinner()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppUtils.java205 case WifiEntry.SECURITY_NONE: in getSecurityString()
535 case WifiEntry.SECURITY_NONE: in isSupportZxing()
580 return (config.wepKeys[0] != null) ? WifiEntry.SECURITY_WEP : WifiEntry.SECURITY_NONE; in getSecurityTypeFromWifiConfiguration()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DTvAccessPointPreference.java78 if ((mAccessPoint.getSecurity() != AccessPoint.SECURITY_NONE) in onBindViewHolder()
DAccessPointPreference.java185 if ((mAccessPoint.getSecurity() != AccessPoint.SECURITY_NONE) in bindFrictionImage()
262 ap.getSecurity() == AccessPoint.SECURITY_NONE in buildContentDescription()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DChooseSecurityState.java104 … if (action.getId() == AccessPoint.SECURITY_NONE || action.getId() == AccessPoint.SECURITY_OWE) { in onGuidedActionClicked()
/packages/apps/Settings/src/com/android/settings/wifi/slice/
DWifiSliceItem.java183 return TextUtils.concat(contentDescription, ",", mSecurity == WifiEntry.SECURITY_NONE in getContentDescription()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/security/
DWifiSecurityHelper.java45 .id(AccessPoint.SECURITY_NONE) in getSecurityTypes()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/dpp/
DWifiNetworkListFragmentTest.java96 when(wifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_NONE); in onSavedWifiEntriesChanged_openSavedWifiEntry_onlyAddNetworkPreference()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DAccessPoint.java41 public static final int SECURITY_NONE = WifiInfo.SECURITY_TYPE_OPEN; field in AccessPoint

12