/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/ |
D | WifiTetherSecurityPreferenceControllerTest.java | 90 assertThat(mController.getSecurityType()) in onPreferenceChange_toWpa3Sae_shouldUpdateSecurityValue() 99 assertThat(mController.getSecurityType()) in onPreferenceChange_toWpa3SaeTransition_shouldUpdateSecurityValue() 108 assertThat(mController.getSecurityType()) in onPreferenceChange_toWpa2Psk_shouldUpdateSecurityValue() 117 assertThat(mController.getSecurityType()) in onPreferenceChange_toNone_shouldUpdateSecurityValue() 131 assertThat(mController.getSecurityType()) in updateDisplay_toWpa3Sae_shouldUpdateSecurityValue() 145 assertThat(mController.getSecurityType()) in updateDisplay_toWpa3SaeTransition_shouldUpdateSecurityValue() 159 assertThat(mController.getSecurityType()) in updateDisplay_toWpa2Psk_shouldUpdateSecurityValue() 172 assertThat(mController.getSecurityType()) in updateDisplay_toNone_shouldUpdateSecurityValue() 187 assertThat(mController.getSecurityType()) in updateDisplay_toWpa3SaeButNotSupportWpa3_shouldBeDefaultToWpa2() 202 assertThat(mController.getSecurityType()) in updateDisplay_toWpa3SaeTransitionButNotSupportWpa3_shouldBeDefaultToWpa2()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | ScanResultUtilTest.java | 106 config.getDefaultSecurityParams().getSecurityType()); in testNetworkCreationFromScanResult() 112 config.getDefaultSecurityParams().getSecurityType()); in testNetworkCreationFromScanResult() 118 config.getDefaultSecurityParams().getSecurityType()); in testNetworkCreationFromScanResult() 125 config.getDefaultSecurityParams().getSecurityType()); in testNetworkCreationFromScanResult() 132 config.getDefaultSecurityParams().getSecurityType()); in testNetworkCreationFromScanResult() 139 config.getDefaultSecurityParams().getSecurityType()); in testNetworkCreationFromScanResult() 146 config.getDefaultSecurityParams().getSecurityType()); in testNetworkCreationFromScanResult() 155 config.getDefaultSecurityParams().getSecurityType()); in testNetworkCreationFromScanResult() 163 config.getDefaultSecurityParams().getSecurityType()); in testNetworkCreationFromScanResult() 170 config.getDefaultSecurityParams().getSecurityType()); in testNetworkCreationFromScanResult() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | SoftApStoreDataTest.java | 387 assertEquals(softApConfig.getSecurityType(), SoftApConfiguration.SECURITY_TYPE_WPA2_PSK); in deserializeSoftAp() 429 assertEquals(softApConfig.getSecurityType(), SoftApConfiguration.SECURITY_TYPE_WPA2_PSK); in deserializeOldSoftApXMLWhichShutdownTimeoutIsInt() 457 assertEquals(softApConfig.getSecurityType(), SoftApConfiguration.SECURITY_TYPE_WPA2_PSK); in deserializeOldBandSoftAp() 479 assertEquals(softApConfig.getSecurityType(), SoftApConfiguration.SECURITY_TYPE_WPA2_PSK); in deserializeNewBandSoftApButNoNewConfig() 513 assertEquals(softApConfig.getSecurityType(), in serializeDeserializeSoftAp() 514 softApConfigDeserialized.getSecurityType()); in serializeDeserializeSoftAp() 550 assertEquals(softApConfig.getSecurityType(), in serializeDeserializeSoftApWpa3Sae() 551 softApConfigDeserialized.getSecurityType()); in serializeDeserializeSoftApWpa3Sae() 587 assertEquals(softApConfig.getSecurityType(), in serializeDeserializeSoftApWpa3SaeTransition() 588 softApConfigDeserialized.getSecurityType()); in serializeDeserializeSoftApWpa3SaeTransition() [all …]
|
D | SoftApBackupRestoreTest.java | 104 assertEquals(SoftApConfiguration.SECURITY_TYPE_WPA2_PSK, restore.getSecurityType()); in assertWifiConfigurationEqualSoftApConfiguration() 106 assertEquals(SoftApConfiguration.SECURITY_TYPE_OPEN, restore.getSecurityType()); in assertWifiConfigurationEqualSoftApConfiguration() 355 out.writeInt(config.getSecurityType()); in retrieveVersion5BackupDataFromSoftApConfiguration() 433 out.writeInt(config.getSecurityType()); in retrieveVersion6BackupDataFromSoftApConfiguration() 459 out.writeInt(config.getSecurityType()); in retrieveVersion7BackupDataFromSoftApConfiguration()
|
D | WifiApConfigStoreTest.java | 187 assertEquals(config1.getSecurityType(), config2.getSecurityType()); in verifyApConfig() 209 assertEquals(SECURITY_TYPE_WPA3_SAE_TRANSITION, config.getSecurityType()); in verifyDefaultApConfig() 211 assertEquals(SECURITY_TYPE_WPA2_PSK, config.getSecurityType()); in verifyDefaultApConfig() 251 assertEquals(SECURITY_TYPE_WPA3_SAE_TRANSITION, config.getSecurityType()); in verifyDefaultLocalOnlyApConfig() 253 assertEquals(SECURITY_TYPE_WPA2_PSK, config.getSecurityType()); in verifyDefaultLocalOnlyApConfig() 919 assertEquals(resetedConfig.getSecurityType(), SoftApConfiguration.SECURITY_TYPE_WPA2_PSK); in testResetToDefaultForUnsupportedConfig()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ScanResultMatchInfo.java | 87 if (securityParams.getSecurityType() == WifiConfiguration.SECURITY_TYPE_SAE in isAutoUpgradeSecurityParamsAllowed() 92 if (securityParams.getSecurityType() == WifiConfiguration.SECURITY_TYPE_OWE in isAutoUpgradeSecurityParamsAllowed() 123 if (!allowedParams.isSecurityType(scanResultParams.getSecurityType())) { in findBestMatchingSecurityParams()
|
D | WifiCandidates.java | 433 this.securityType = matchInfo.getDefaultSecurityParams().getSecurityType(); in Key() 516 params.getSecurityType()); in keyFromScanDetailAndConfig() 544 key.matchInfo.getDefaultSecurityParams().getSecurityType())); in add()
|
D | WifiApConfigStore.java | 230 if (!ApConfigUtil.isWpa3SaeSupported(mContext) && (config.getSecurityType() in resetToDefaultForUnsupportedConfig() 232 || config.getSecurityType() in resetToDefaultForUnsupportedConfig() 535 authType = apConfig.getSecurityType(); in validateApWifiConfiguration()
|
D | SoftApStoreData.java | 132 XmlUtil.writeNextValue(out, XML_TAG_SECURITY_TYPE, softApConfig.getSecurityType()); in serializeData() 133 if (softApConfig.getSecurityType() != SoftApConfiguration.SECURITY_TYPE_OPEN) { in serializeData()
|
D | WifiConfigurationUtil.java | 986 switch (params.getSecurityType()) { in isSecurityParamsSupported() 1075 params.getSecurityType()); in convertMultiTypeConfigsToLegacyConfigs() 1076 int securityType = params.getSecurityType(); in convertMultiTypeConfigsToLegacyConfigs()
|
D | SoftApBackupRestore.java | 93 out.writeInt(config.getSecurityType()); in retrieveBackupDataFromSoftApConfiguration()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | SoftApConfigurationTest.java | 84 assertThat(original.getSecurityType()).isEqualTo(SoftApConfiguration.SECURITY_TYPE_OPEN); in testBasicSettings() 117 assertThat(original.getSecurityType()).isEqualTo( in testWpa2() 160 assertThat(original.getSecurityType()).isEqualTo( in testWpa2WithAllFieldCustomized() 201 assertThat(original.getSecurityType()).isEqualTo( in testWpa3Sae() 227 assertThat(original.getSecurityType()).isEqualTo( in testWpa3SaeTransition()
|
D | SecurityParamsTest.java | 53 assertEquals(expectedSecurityType, params.getSecurityType()); in verifySecurityParams() 91 SecurityParams.createSecurityParamsBySecurityType(type).getSecurityType()); in testSecurityTypeCreator()
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | WifiTetherSecurityPreferenceController.java | 89 final int securityType = mWifiManager.getSoftApConfiguration().getSecurityType(); in updateDisplay() 121 public int getSecurityType() { in getSecurityType() method in WifiTetherSecurityPreferenceController
|
D | WifiTetherPasswordPreferenceController.java | 75 if (config.getSecurityType() != SoftApConfiguration.SECURITY_TYPE_OPEN in updateDisplay() 81 mSecurityType = config.getSecurityType(); in updateDisplay()
|
D | WifiTetherSettings.java | 193 mPasswordPreferenceController.setSecurityType(config.getSecurityType()); in onTetherConfigUpdated() 215 final int securityType = mSecurityPreferenceController.getSecurityType(); in buildNewConfig()
|
/packages/apps/Settings/src/com/android/settings/ |
D | AllInOneTetherSettings.java | 358 mPasswordPreferenceController.setSecurityType(config.getSecurityType()); in onTetherConfigUpdated() 372 final int securityType = mSecurityPreferenceController.getSecurityType(); in buildNewConfig() 401 return (mSecurityPreferenceController.getSecurityType() in getInitialExpandedChildCount()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | ApConfigUtil.java | 831 || currentConfig.getSecurityType() != newConfig.getSecurityType() in checkConfigurationChangeNeedToRestart() 859 && (config.getSecurityType() in checkSupportAllConfiguration() 861 || config.getSecurityType() == SoftApConfiguration.SECURITY_TYPE_WPA3_SAE)) { in checkSupportAllConfiguration()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | AllInOneTetherSettingsTest.java | 190 when(mSecurityPreferenceController.getSecurityType()) in getInitialChildCount_withSecurity() 198 when(mSecurityPreferenceController.getSecurityType()) in getInitialChildCount_withoutSecurity()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/ |
D | WifiTetherPasswordPreferenceControllerTest.java | 218 assertThat(mCarWifiManager.getSoftApConfig().getSecurityType()) in onSecurityChangedToNone_updatesSecurityTypeToNone() 242 assertThat(mCarWifiManager.getSoftApConfig().getSecurityType()) in onSecurityChangedToWPA2PSK_updatesSecurityTypeToWPA2PSK()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppUtils.java | 304 final int securityType = softApConfiguration.getSecurityType(); in getHotspotConfiguratorIntentOrNull() 438 final int securityType = softApConfiguration.getSecurityType(); in isSupportHotspotConfiguratorQrCodeGenerator()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiEntrySecurity.java | 60 public int getSecurityType() { in getSecurityType() method in WifiEntrySecurity
|
D | WifiTetherSecurityPreferenceController.java | 57 mSecurityType = getCarSoftApConfig().getSecurityType(); in onCreateInternal()
|
D | WifiTetherPasswordPreferenceController.java | 77 mSecurityType = getCarSoftApConfig().getSecurityType(); in onCreateInternal()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | SoftApConfiguration.java | 400 sbuf.append(" \n SecurityType = ").append(getSecurityType()); in toString() 620 public @SecurityType int getSecurityType() { in getSecurityType() method in SoftApConfiguration
|