/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | NetworkSuggestionNominatorTest.java | 22 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 …]
|
D | WifiNetworkSelectorTest.java | 27 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 …]
|
D | SavedNetworkNominatorTest.java | 21 import static com.android.server.wifi.WifiConfigurationTestUtil.SECURITY_PSK; 135 int[] securities = {SECURITY_PSK, SECURITY_PSK}; in ignoreNetworksIfUseExternalScores()
|
D | WifiConfigurationTestUtil.java | 52 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()
|
D | WifiNetworkSelectorTestUtil.java | 19 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/ |
D | WifiSecurityUtil.java | 40 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/ |
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 | 280 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/ |
D | WifiEntryListPreferenceControllerTest.java | 191 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()
|
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/dpp/ |
D | WifiDppUtils.java | 200 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()
|
D | WifiNetworkListFragment.java | 257 return security == WifiEntry.SECURITY_PSK || security == WifiEntry.SECURITY_SAE; in isValidForDppConfiguration()
|
D | WifiDppQrCodeScannerFragment.java | 266 && wifiEntry.getSecurity() == WifiEntry.SECURITY_PSK) { in isReachableWifiNetwork()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiUtils.java | 204 case WifiEntry.SECURITY_PSK: in getWifiConfig() 242 return WifiEntry.SECURITY_PSK; in getWifiEntrySecurity()
|
D | WifiConfigController.java | 542 || (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/ |
D | NetworkRequestDialogFragmentTest.java | 19 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()
|
D | WifiConfigController2Test.java | 144 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()
|
D | WifiConfigControllerTest.java | 104 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/ |
D | WifiDppUtilsTest.java | 72 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()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/security/ |
D | WifiSecurityHelper.java | 59 .id(AccessPoint.SECURITY_PSK) in getSecurityTypes()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/ |
D | AccessPoint.java | 43 public static final int SECURITY_PSK = WifiInfo.SECURITY_TYPE_PSK; field in AccessPoint
|