Home
last modified time | relevance | path

Searched refs:SECURITY_PSK (Results 1 – 25 of 28) sorted by relevance

12

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionNominatorTest.java22 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
166 int[] securities = {SECURITY_PSK}; in testSelectNetworkSuggestionForOneMatch()
254 int[] securities = {SECURITY_PSK, SECURITY_PSK}; in testSelectNetworkSuggestionForMultipleMatch()
300 int[] securities = {SECURITY_PSK, SECURITY_PSK}; in testSelectNetworkSuggestionForMultipleMatchHighPriorityWins()
349 int[] securities = {SECURITY_PSK, SECURITY_PSK, SECURITY_PSK, SECURITY_PSK}; in testSelectNetworkSuggestionForMultipleMatchHighPriorityFromEachPriorityGroupWins()
397 int[] securities = {SECURITY_PSK, SECURITY_PSK, SECURITY_PSK}; in testSelectNetworkSuggestionForMultipleMatchWithMultipleSuggestions()
452 int[] securities = {SECURITY_PSK, SECURITY_PSK, SECURITY_PSK, SECURITY_PSK}; in testSelectNetworkSuggestionForMultipleMatchWithMultipleSuggestionsHighPriorityWins()
500 int[] securities = {SECURITY_PSK}; in testSelectNetworkSuggestionForOneMatchButInToWifiConfigManager()
551 int[] securities = {SECURITY_PSK}; in testSelectNetworkSuggestionForOneMatchForExistingNetwork()
620 int[] securities = {SECURITY_PSK}; in testSelectNetworkSuggestionForOneMatchButUserForgotTheNetwork()
[all …]
DWifiNetworkSelectorTest.java27 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
581 int[] securities = {SECURITY_PSK, SECURITY_EAP}; in verifyMinimumRssiThreshold()
617 int[] securities = {SECURITY_PSK, SECURITY_EAP}; in verifyMinimumTimeGapWhenConnected()
721 int[] securities = {SECURITY_PSK}; in lowRssi5GNetworkIsNotSufficient()
781 int[] securities = {SECURITY_PSK}; in noInternetAccessNetworkIsNotSufficient()
843 int[] securities = {SECURITY_EAP, SECURITY_PSK}; in updateConfiguredNetworks()
885 int[] securities = {SECURITY_PSK}; in filterOutBlocklistedBssid()
921 int[] securities = {SECURITY_PSK}; in filterOutAdminAllowlistRestrictedSsid()
959 int[] securities = {SECURITY_PSK}; in filterOutAdminDenylistRestrictedSsid()
997 int[] securities = {SECURITY_PSK}; in filterOutAdminSecurityTypeRestrictedSsid()
[all …]
DSavedNetworkNominatorTest.java21 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
135 int[] securities = {SECURITY_PSK, SECURITY_PSK}; in ignoreNetworksIfUseExternalScores()
DWifiConfigurationTestUtil.java52 public static final int SECURITY_PSK = 1 << 2; field in WifiConfigurationTestUtil
163 if ((security & SECURITY_PSK) != 0) { in generateWifiConfig()
348 null, SECURITY_PSK); in createPskNetwork()
360 null, SECURITY_PSK); in createPskSaeNetwork()
DWifiNetworkSelectorTestUtil.java19 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
291 if ((securities[index] & SECURITY_PSK) != 0 || (securities[index] & SECURITY_SAE) != 0 in generateWifiConfigurations()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DWifiSecurityUtil.java40 return AccessPoint.SECURITY_PSK; in getSecurity()
58 return AccessPoint.SECURITY_PSK; in getSecurity()
81 case AccessPoint.SECURITY_PSK: in getName()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DNetworkSecurityPreferenceController.java53 WifiEntry.SECURITY_PSK,
95 SECURITY_TYPE_TO_DESC_RES.get(WifiEntry.SECURITY_PSK))); in onCreateInternal()
96 securityTypeIdsList.add(Integer.toString(WifiEntry.SECURITY_PSK)); in onCreateInternal()
148 map.put(WifiEntry.SECURITY_PSK, R.string.wifi_security_psk_generic); in createSecurityTypeDescMap()
DWifiEntrySecurity.java38 WifiEntry.SECURITY_PSK,
73 case WifiEntry.SECURITY_PSK: in toString()
DWifiUtil.java280 case WifiEntry.SECURITY_PSK: in finishWifiConfig()
356 return WifiEntry.SECURITY_PSK; in getWifiEntrySecurity()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DWifiEntryListPreferenceControllerTest.java191 when(mMockWifiEntry1.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in performClick_shouldEditBeforeConnect_launchDialog()
250 when(mMockWifiEntry1.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in performButtonClick_savedWifiEntry_forgetsNetwork()
271 when(mMockWifiEntry1.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in callChangeListener_newSecureWifiEntry_wifiConnected()
290 when(mMockWifiEntry1.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in fetchWifiEntries_getSavedWifiEntries()
317 when(mMockWifiEntry1.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in fetchWifiEntries_getAllWifiEntries()
340 when(mMockWifiEntry1.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in fetchWifiEntries_restrictionByDpm_returnsNoEntries()
DNetworkSecurityPreferenceControllerTest.java106 String value = Integer.toString(WifiEntry.SECURITY_PSK); in handlePreferenceChanged_pskNetwork_summaryUpdated()
115 String value = Integer.toString(WifiEntry.SECURITY_PSK); in handlePreferenceChanged_broadcastIsSent()
DNetworkPasswordPreferenceControllerTest.java170 WifiEntry.SECURITY_PSK); in receiveSecurityChangeIntent_setSecureType_preferenceVisible()
187 WifiEntry.SECURITY_PSK); in handlePreferenceChanged_hasSecurity_networkNameSet_wifiConnected()
DAddWifiFragmentTest.java164 WifiEntry.SECURITY_PSK); in receiveSecurityChangeIntent_nameSet_buttonDisabled()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppUtils.java200 case WifiEntry.SECURITY_PSK: in getSecurityString()
523 case WifiEntry.SECURITY_PSK: in isSupportWifiDpp()
533 case WifiEntry.SECURITY_PSK: in isSupportZxing()
568 return WifiEntry.SECURITY_PSK; in getSecurityTypeFromWifiConfiguration()
DWifiNetworkListFragment.java257 return security == WifiEntry.SECURITY_PSK || security == WifiEntry.SECURITY_SAE; in isValidForDppConfiguration()
DWifiDppQrCodeScannerFragment.java266 && wifiEntry.getSecurity() == WifiEntry.SECURITY_PSK) { in isReachableWifiNetwork()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiUtils.java204 case WifiEntry.SECURITY_PSK: in getWifiConfig()
242 return WifiEntry.SECURITY_PSK; in getWifiEntrySecurity()
DWifiConfigController.java542 || (mAccessPointSecurity == AccessPoint.SECURITY_PSK in isSubmittable()
663 case AccessPoint.SECURITY_PSK: in getConfig()
1751 mSecurityInPosition[idx++] = AccessPoint.SECURITY_PSK; in configureSecuritySpinner()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DNetworkRequestDialogFragmentTest.java19 import static com.android.wifitrackerlib.WifiEntry.SECURITY_PSK;
94 when(mWifiEntry.getSecurityTypes()).thenReturn(Arrays.asList(SECURITY_PSK, SECURITY_SAE)); in setUp()
95 when(mWifiEntry.getSecurity()).thenReturn(SECURITY_PSK); in setUp()
DWifiConfigController2Test.java144 when(mWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in setUp()
269 mController.onItemSelected(securitySpinner, null, WifiEntry.SECURITY_PSK, 0); in isSubmittable_EapToPskWithValidPassword_shouldReturnTrue()
704 mController.mWifiEntrySecurity = WifiEntry.SECURITY_PSK; in getPskConfig_withValidHexKey_shouldContainTheSameKey()
716 mController.mWifiEntrySecurity = WifiEntry.SECURITY_PSK; in getPskConfig_withInvalidHexKey_shouldContainDifferentKey()
DWifiConfigControllerTest.java104 when(mAccessPoint.getSecurity()).thenReturn(AccessPoint.SECURITY_PSK); in setUp()
217 mController.onItemSelected(securitySpinner, null, AccessPoint.SECURITY_PSK, 0); in isSubmittable_EapToPskWithValidPassword_shouldReturnTrue()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/dpp/
DWifiDppUtilsTest.java72 when(mWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in getConfiguratorQrCodeScannerIntentOrNull_hiddenSsidNetwork_hasHiddenSsidExtra()
DWifiNetworkListFragmentTest.java109 when(wifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in onSavedWifiEntriesChanged_pskSavedWifiEntry_add2Preferences()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/security/
DWifiSecurityHelper.java59 .id(AccessPoint.SECURITY_PSK) in getSecurityTypes()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DAccessPoint.java43 public static final int SECURITY_PSK = WifiInfo.SECURITY_TYPE_PSK; field in AccessPoint

12