/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/dpp/ |
D | WifiQrCodeTest.java | 107 assertEquals(SECURITY_OF_VALID_ZXING_WIFI_QR_CODE_WPA, config.getSecurity()); in parseValidZxingWifiQrCode() 120 assertEquals(SECURITY_OF_VALID_ZXING_WIFI_QR_CODE_SAE, config.getSecurity()); in parseValidZxingWifiQrCodeSae() 133 assertEquals(SECURITY_OF_VALID_ZXING_WIFI_QR_CODE_NOPASS, config.getSecurity()); in parseValidZxingWifiQrCode_noPass_and_no_password() 146 assertEquals("", config.getSecurity()); in parseValidZxingWifiQrCode_no_security_and_no_password() 159 assertEquals(SECURITY_OF_VALID_ZXING_WIFI_QR_CODE_WPA, config.getSecurity()); in parseValidZxingWifiQrCode_specialCharacters()
|
D | WifiDppConfiguratorActivityTest.java | 171 assertThat(restoredWifiNetworkConfig.getSecurity()).isEqualTo("WPA"); in rotateScreen_shouldGetCorrectWifiNetworkConfig()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/ |
D | AccessPointListPreferenceControllerTest.java | 91 when(mMockAccessPoint1.getSecurity()).thenReturn(AccessPoint.SECURITY_NONE); in setUp() 93 when(mMockAccessPoint2.getSecurity()).thenReturn(AccessPoint.SECURITY_NONE); in setUp() 148 when(mMockAccessPoint1.getSecurity()).thenReturn(AccessPoint.SECURITY_NONE); in performClick_noSecurityNotConnectedAccessPoint_connect() 190 when(mMockAccessPoint1.getSecurity()).thenReturn(AccessPoint.SECURITY_PSK); in performButtonClick_savedAccessPoint_wrongPassword_forgetsNetwork() 214 when(mMockAccessPoint1.getSecurity()).thenReturn(AccessPoint.SECURITY_PSK); in callChangeListener_newSecureAccessPoint_wifiAdded() 234 when(mMockAccessPoint1.getSecurity()).thenReturn(AccessPoint.SECURITY_PSK); in callChangeListener_newSecureAccessPoint_wifiEnabled()
|
D | AccessPointPreferenceTest.java | 67 when(mAccessPoint.getSecurity()).thenReturn(AccessPoint.SECURITY_NONE); in onClick_securityTypeNone_doesntOpenDialog() 79 when(mAccessPoint.getSecurity()).thenReturn(AccessPoint.SECURITY_PSK); in onClick_hasSecurity_isSaved_correctPassword_doesntOpenDialog() 96 when(mAccessPoint.getSecurity()).thenReturn(AccessPoint.SECURITY_PSK); in onClick_hasSecurity_isSaved_incorrectPassword_opensDialog() 111 when(mAccessPoint.getSecurity()).thenReturn(AccessPoint.SECURITY_PSK); in onClick_hasSecurity_isNotSaved_opensDialog()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiUtils.java | 155 security = accessPoint.getSecurity(); in getWifiConfig() 270 } else if ((accessPoint.getSecurity() == AccessPoint.SECURITY_NONE) || in getConnectingType() 271 (accessPoint.getSecurity() == AccessPoint.SECURITY_OWE) || in getConnectingType() 272 (accessPoint.getSecurity() == AccessPoint.SECURITY_OWE_TRANSITION)) { in getConnectingType()
|
D | WifiSettings.java | 496 } else if ((mSelectedAccessPoint.getSecurity() == AccessPoint.SECURITY_NONE) || in onContextItemSelected() 497 (mSelectedAccessPoint.getSecurity() == AccessPoint.SECURITY_OWE) || in onContextItemSelected() 498 (mSelectedAccessPoint.getSecurity() in onContextItemSelected() 752 && (accessPoint.getSecurity() != AccessPoint.SECURITY_NONE && in updateAccessPointPreferences() 753 accessPoint.getSecurity() != AccessPoint.SECURITY_OWE && in updateAccessPointPreferences() 754 accessPoint.getSecurity() != AccessPoint.SECURITY_OWE_TRANSITION)) { in updateAccessPointPreferences()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/ |
D | ConnectToWifiHandlerTest.java | 68 when(mAccessPoint.getSecurity()).thenReturn(AccessPoint.SECURITY_NONE); in connect_shouldConnectToUnsavedOpenNetwork() 99 when(mAccessPoint.getSecurity()).thenReturn(AccessPoint.SECURITY_PSK); in connect_shouldConnectToSavedSecuredNetwork() 112 when(mAccessPoint.getSecurity()).thenReturn(AccessPoint.SECURITY_PSK); in connect_shouldNotConnectToUnsavedSecuredNetwork()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | WifiUtils.java | 155 security = accessPoint.getSecurity(); in getWifiConfig() 270 } else if ((accessPoint.getSecurity() == AccessPoint.SECURITY_NONE) || in getConnectingType() 271 (accessPoint.getSecurity() == AccessPoint.SECURITY_OWE)) { in getConnectingType()
|
D | WifiSettings.java | 493 } else if ((mSelectedAccessPoint.getSecurity() == AccessPoint.SECURITY_NONE) || in onContextItemSelected() 494 (mSelectedAccessPoint.getSecurity() == AccessPoint.SECURITY_OWE)) { in onContextItemSelected() 747 && (accessPoint.getSecurity() != AccessPoint.SECURITY_NONE && in updateAccessPointPreferences() 748 accessPoint.getSecurity() != AccessPoint.SECURITY_OWE)) { in updateAccessPointPreferences()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/ |
D | WifiSecurityUtil.java | 36 public static int getSecurity(ScanResult result) { in getSecurity() method in WifiSecurityUtil 53 public static int getSecurity(WifiConfiguration config) { in getSecurity() method in WifiSecurityUtil
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | AccessPointPreference.java | 77 return mAccessPoint.getSecurity() != AccessPoint.SECURITY_NONE && (!mAccessPoint.isSaved() in shouldShowPasswordDialog() 87 (mAccessPoint.getSecurity() != AccessPoint.SECURITY_NONE) in getAccessPointIcon()
|
D | AccessPointListPreferenceController.java | 100 if (accessPoint.getSecurity() == AccessPoint.SECURITY_NONE in onPreferenceClick() 116 accessPoint.getSecurity(), newValue.toString(), /* hidden= */ false); in onPreferenceChange()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppUtils.java | 209 if (accessPoint.getSecurity() == AccessPoint.SECURITY_PSK_SAE_TRANSITION) { in getConfiguratorQrCodeGeneratorIntentOrNull() 356 return isSupportWifiDpp(context, accessPoint.getSecurity()); in isSupportConfiguratorQrCodeScanner() 370 return isSupportZxing(context, accessPoint.getSecurity()); in isSupportConfiguratorQrCodeGenerator()
|
D | WifiNetworkConfig.java | 185 public String getSecurity() { in getSecurity() method in WifiNetworkConfig
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiDetailsFragment.java | 128 && mAccessPoint.getSecurity() == accessPoint.getSecurity()) { in onWifiListChanged()
|
D | WifiConnectionActivity.java | 65 final int security = result.getSecurity(); in createIntent() 70 final int security = WifiSecurityUtil.getSecurity(configuration); in createIntent()
|
D | WifiConfigHelper.java | 224 int configuredSecurity = WifiSecurityUtil.getSecurity(configuredNetwork); in getFromConfiguredNetworks()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | SelectFromListWizardFragment.java | 130 mIconResource = AccessPoint.SECURITY_NONE == WifiSecurityUtil.getSecurity(scanResult) in ListItem() 214 && WifiSecurityUtil.getSecurity(mScanResult) in equals() 215 == WifiSecurityUtil.getSecurity(li.mScanResult)); in equals()
|
D | SelectWifiState.java | 172 new Pair<>(result.SSID, WifiSecurityUtil.getSecurity(result)); in getNetworks() 179 int iconResource = AccessPoint.SECURITY_NONE == WifiSecurityUtil.getSecurity(result) in getNetworks()
|
D | AddPageBasedOnNetworkState.java | 63 int wifiSecurity = WifiSecurityUtil.getSecurity(scanResult); in processForward()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/ |
D | WifiDppUtils.java | 343 return isSupportWifiDpp(context, accessPoint.getSecurity()); in isSupportConfiguratorQrCodeScanner() 354 return isSupportZxing(context, accessPoint.getSecurity()); in isSupportConfiguratorQrCodeGenerator()
|
D | WifiNetworkConfig.java | 185 public String getSecurity() { in getSecurity() method in WifiNetworkConfig
|
D | WifiDppConfiguratorActivity.java | 361 outState.putString(KEY_WIFI_SECURITY, mWifiNetworkConfig.getSecurity()); in onSaveInstanceState()
|
D | WifiNetworkListFragment.java | 255 final int security = accessPoint.getSecurity(); in isValidForDppConfiguration()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiConfigControllerTest.java | 88 when(mAccessPoint.getSecurity()).thenReturn(AccessPoint.SECURITY_PSK); in setUp() 254 when(mAccessPoint.getSecurity()).thenReturn(AccessPoint.SECURITY_EAP); in loadCertificates_keyStoreListFail_shouldNotCrash()
|