/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | NetworkSuggestionNominatorTest.java | 22 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 …]
|
D | ScoredNetworkNominatorTest.java | 24 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()
|
D | WifiNetworkSelectorTest.java | 25 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 …]
|
D | SavedNetworkNominatorTest.java | 21 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK; 126 int[] securities = {SECURITY_PSK, SECURITY_PSK}; in ignoreNetworksIfUseExternalScores()
|
D | WifiConfigurationTestUtil.java | 51 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()
|
D | WifiNetworkSelectorTestUtil.java | 19 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/ |
D | WifiSecurityUtil.java | 40 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/ |
D | NetworkSecurityPreferenceController.java | 53 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()
|
D | WifiEntrySecurity.java | 38 WifiEntry.SECURITY_PSK, 73 case WifiEntry.SECURITY_PSK: in toString()
|
D | WifiUtil.java | 242 case WifiEntry.SECURITY_PSK: in finishWifiConfig() 318 return WifiEntry.SECURITY_PSK; in getWifiEntrySecurity()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppUtils.java | 184 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()
|
D | WifiNetworkListFragment.java | 259 return security == WifiEntry.SECURITY_PSK || security == WifiEntry.SECURITY_SAE; in isValidForDppConfiguration()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiUtils.java | 42 return AccessPoint.SECURITY_PSK; in getAccessPointSecurity() 114 case AccessPoint.SECURITY_PSK: in getWifiConfig()
|
D | WifiConfigHelper.java | 97 case AccessPoint.SECURITY_PSK: in setConfigKeyManagementBySecurity()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/connectivity/setup/ |
D | AddStartStateTest.java | 72 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/ |
D | WifiEntryListPreferenceControllerTest.java | 175 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()
|
D | NetworkSecurityPreferenceControllerTest.java | 106 String value = Integer.toString(WifiEntry.SECURITY_PSK); in handlePreferenceChanged_pskNetwork_summaryUpdated() 115 String value = Integer.toString(WifiEntry.SECURITY_PSK); in handlePreferenceChanged_broadcastIsSent()
|
D | NetworkPasswordPreferenceControllerTest.java | 170 WifiEntry.SECURITY_PSK); in receiveSecurityChangeIntent_setSecureType_preferenceVisible() 187 WifiEntry.SECURITY_PSK); in handlePreferenceChanged_hasSecurity_networkNameSet_wifiConnected()
|
D | AddWifiFragmentTest.java | 164 WifiEntry.SECURITY_PSK); in receiveSecurityChangeIntent_nameSet_buttonDisabled()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiUtils.java | 185 case WifiEntry.SECURITY_PSK: in getWifiConfig() 223 return WifiEntry.SECURITY_PSK; in getWifiEntrySecurity()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/security/ |
D | WifiSecurityHelper.java | 60 .id(AccessPoint.SECURITY_PSK) in getSecurityTypes() 131 case AccessPoint.SECURITY_PSK: in getConfig()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiConfigController2Test.java | 131 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()
|
D | WifiConfigControllerTest.java | 99 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/ |
D | WifiDppUtilsTest.java | 70 when(mWifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in getConfiguratorQrCodeScannerIntentOrNull_hiddenSsidNetwork_hasHiddenSsidExtra()
|
D | WifiNetworkListFragmentTest.java | 109 when(wifiEntry.getSecurity()).thenReturn(WifiEntry.SECURITY_PSK); in onSavedWifiEntriesChanged_pskSavedWifiEntry_add2Preferences()
|