Home
last modified time | relevance | path

Searched refs:SECURITY_PSK (Results 1 – 25 of 29) 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;
146 int[] securities = {SECURITY_PSK}; in testSelectNetworkSuggestionForOneMatch()
232 int[] securities = {SECURITY_PSK, SECURITY_PSK}; in testSelectNetworkSuggestionForMultipleMatch()
277 int[] securities = {SECURITY_PSK, SECURITY_PSK}; in testSelectNetworkSuggestionForMultipleMatchHighPriorityWins()
325 int[] securities = {SECURITY_PSK, SECURITY_PSK, SECURITY_PSK, SECURITY_PSK}; in testSelectNetworkSuggestionForMultipleMatchHighPriorityFromEachPriorityGroupWins()
372 int[] securities = {SECURITY_PSK, SECURITY_PSK, SECURITY_PSK}; in testSelectNetworkSuggestionForMultipleMatchWithMultipleSuggestions()
426 int[] securities = {SECURITY_PSK, SECURITY_PSK, SECURITY_PSK, SECURITY_PSK}; in testSelectNetworkSuggestionForMultipleMatchWithMultipleSuggestionsHighPriorityWins()
473 int[] securities = {SECURITY_PSK}; in testSelectNetworkSuggestionForOneMatchButInToWifiConfigManager()
523 int[] securities = {SECURITY_PSK}; in testSelectNetworkSuggestionForOneMatchForExistingNetwork()
591 int[] securities = {SECURITY_PSK}; in testSelectNetworkSuggestionForOneMatchButUserForgotTheNetwork()
[all …]
DScoredNetworkNominatorTest.java24 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
150 int[] securities = {SECURITY_PSK}; in testUpdate_recommendationsDisabled()
174 int[] securities = {SECURITY_PSK}; in testUpdate_emptyScanList()
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()
380 int[] securities = {SECURITY_PSK}; in testEvaluateNetworks_chooseSavedNetworkWithExternalScore()
412 int[] securities = {SECURITY_PSK, SECURITY_NONE}; in testEvaluateNetworks_nullScoredNetworks()
DWifiNetworkSelectorTest.java25 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
400 int[] securities = {SECURITY_PSK, SECURITY_EAP}; in verifyMinimumRssiThreshold()
433 int[] securities = {SECURITY_PSK, SECURITY_EAP}; in verifyMinimumTimeGapWhenConnected()
530 int[] securities = {SECURITY_PSK}; in lowRssi5GNetworkIsNotSufficient()
585 int[] securities = {SECURITY_PSK}; in noInternetAccessNetworkIsNotSufficient()
642 int[] securities = {SECURITY_EAP, SECURITY_PSK}; in updateConfiguredNetworks()
681 int[] securities = {SECURITY_PSK}; in filterOutBlocklistedBssid()
717 int[] securities = {SECURITY_EAP, SECURITY_PSK}; in noSelectionWhenCurrentNetworkNotInScanResults()
775 int[] securities = {SECURITY_EAP, SECURITY_PSK}; in includeCurrentNetworkWhenCurrentNetworkNotNominated()
837 int[] securities = {SECURITY_PSK, SECURITY_PSK}; in userConnectChoiceOverridesNetworkNominators()
[all …]
DSavedNetworkNominatorTest.java21 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
126 int[] securities = {SECURITY_PSK, SECURITY_PSK}; in ignoreNetworksIfUseExternalScores()
DWifiConfigurationTestUtil.java51 public static final int SECURITY_PSK = 1 << 2; field in WifiConfigurationTestUtil
159 if ((security & SECURITY_PSK) != 0) { in generateWifiConfig()
343 null, SECURITY_PSK); in createPskNetwork()
355 null, SECURITY_PSK); in createPskSaeNetwork()
DWifiNetworkSelectorTestUtil.java19 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK;
286 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()
55 return AccessPoint.SECURITY_PSK; in getSecurity()
75 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.java242 case WifiEntry.SECURITY_PSK: in finishWifiConfig()
318 return WifiEntry.SECURITY_PSK; in getWifiEntrySecurity()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppUtils.java184 case WifiEntry.SECURITY_PSK: in getSecurityString()
458 case WifiEntry.SECURITY_PSK: in isSupportWifiDpp()
468 case WifiEntry.SECURITY_PSK: in isSupportZxing()
503 return WifiEntry.SECURITY_PSK; in getSecurityTypeFromWifiConfiguration()
DWifiNetworkListFragment.java259 return security == WifiEntry.SECURITY_PSK || security == WifiEntry.SECURITY_SAE; in isValidForDppConfiguration()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiUtils.java42 return AccessPoint.SECURITY_PSK; in getAccessPointSecurity()
114 case AccessPoint.SECURITY_PSK: in getWifiConfig()
DWifiConfigHelper.java97 case AccessPoint.SECURITY_PSK: in setConfigKeyManagementBySecurity()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/connectivity/setup/
DAddStartStateTest.java72 mUserChoiceInfo.setWifiSecurity(AccessPoint.SECURITY_PSK); in testForward_WPA_NeedPassword()
90 mUserChoiceInfo.setWifiSecurity(AccessPoint.SECURITY_PSK); in testForward_AlreadyHasPassword()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DWifiEntryListPreferenceControllerTest.java175 when(mMockWifiEntry1.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in performClick_shouldEditBeforeConnect_launchDialog()
217 when(mMockWifiEntry1.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in performButtonClick_savedWifiEntry_forgetsNetwork()
238 when(mMockWifiEntry1.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in callChangeListener_newSecureWifiEntry_wifiConnected()
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/
DWifiUtils.java185 case WifiEntry.SECURITY_PSK: in getWifiConfig()
223 return WifiEntry.SECURITY_PSK; in getWifiEntrySecurity()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/security/
DWifiSecurityHelper.java60 .id(AccessPoint.SECURITY_PSK) in getSecurityTypes()
131 case AccessPoint.SECURITY_PSK: in getConfig()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiConfigController2Test.java131 when(mWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in setUp()
250 mController.onItemSelected(securitySpinner, null, WifiEntry.SECURITY_PSK, 0); in isSubmittable_EapToPskWithValidPassword_shouldReturnTrue()
642 mController.mWifiEntrySecurity = WifiEntry.SECURITY_PSK; in getPskConfig_withValidHexKey_shouldContainTheSameKey()
653 mController.mWifiEntrySecurity = WifiEntry.SECURITY_PSK; in getPskConfig_withInvalidHexKey_shouldContainDifferentKey()
DWifiConfigControllerTest.java99 when(mAccessPoint.getSecurity()).thenReturn(AccessPoint.SECURITY_PSK); in setUp()
212 mController.onItemSelected(securitySpinner, null, AccessPoint.SECURITY_PSK, 0); in isSubmittable_EapToPskWithValidPassword_shouldReturnTrue()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/dpp/
DWifiDppUtilsTest.java70 when(mWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in getConfiguratorQrCodeScannerIntentOrNull_hiddenSsidNetwork_hasHiddenSsidExtra()
DWifiNetworkListFragmentTest.java109 when(wifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in onSavedWifiEntriesChanged_pskSavedWifiEntry_add2Preferences()

12