/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/ |
D | WifiTetherPasswordPreferenceControllerTest.java | 83 .setPassphrase(TEST_PASSWORD, SoftApConfiguration.SECURITY_TYPE_WPA2_PSK) in onStart_securityTypeIsNotNone_visibilityIsSetToTrue() 94 .setPassphrase(TEST_PASSWORD, SoftApConfiguration.SECURITY_TYPE_WPA2_PSK) in onStart_securityTypeIsNotNone_wifiConfigHasPassword_setsPasswordAsSummary() 105 .setPassphrase(TEST_PASSWORD, SoftApConfiguration.SECURITY_TYPE_WPA2_PSK) in onStart_securityTypeIsNotNone_wifiConfigHasPassword_obscuresSummary() 117 .setPassphrase(null, SoftApConfiguration.SECURITY_TYPE_OPEN) in onStart_securityTypeIsNone_visibilityIsSetToFalse() 131 .setPassphrase(oldPassword, SoftApConfiguration.SECURITY_TYPE_WPA2_PSK) in onChangePassword_updatesPassword() 146 .setPassphrase(null, SoftApConfiguration.SECURITY_TYPE_OPEN) in onChangePassword_savesNewPassword() 166 .setPassphrase(TEST_PASSWORD, SoftApConfiguration.SECURITY_TYPE_WPA2_PSK) in onSecurityChangedToNone_visibilityIsFalse() 185 .setPassphrase(null, SoftApConfiguration.SECURITY_TYPE_OPEN) in onSecurityChangedToWPA2PSK_visibilityIsTrue() 205 .setPassphrase(testPassword, SoftApConfiguration.SECURITY_TYPE_WPA2_PSK) in onSecurityChangedToNone_updatesSecurityTypeToNone() 225 .setPassphrase(null, SoftApConfiguration.SECURITY_TYPE_OPEN) in onSecurityChangedToWPA2PSK_updatesSecurityTypeToWPA2PSK() [all …]
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | SoftApConfigurationTest.java | 182 .setPassphrase("secretsecret", SoftApConfiguration.SECURITY_TYPE_WPA2_PSK) in testWpa2() 211 .setPassphrase("secretsecret", SoftApConfiguration.SECURITY_TYPE_WPA2_PSK) in testWpa2WithAllFieldCustomized() 279 .setPassphrase("secretsecret", SoftApConfiguration.SECURITY_TYPE_WPA3_SAE) in testWpa3Sae() 305 .setPassphrase("secretsecret", in testWpa3SaeTransition() 333 .setPassphrase(null, in testWpa3OweTransition() 356 () -> new SoftApConfiguration.Builder().setPassphrase( in testWpa3OweTransition() 365 .setPassphrase(null, in testWpa3Owe() 388 () -> new SoftApConfiguration.Builder().setPassphrase( in testWpa3Owe() 410 new SoftApConfiguration.Builder().setPassphrase( in testValidWpa2PasswordLength() 416 new SoftApConfiguration.Builder().setPassphrase( in testValidWpa2PasswordLength() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/ |
D | WifiTetherSecurityPreferenceControllerTest.java | 70 .setPassphrase(null, SoftApConfiguration.SECURITY_TYPE_OPEN).build(); in setUp() 125 .setPassphrase("test_password", in updateDisplay_toWpa3Sae_shouldUpdateSecurityValue() 139 .setPassphrase("test_password", in updateDisplay_toWpa3SaeTransition_shouldUpdateSecurityValue() 153 .setPassphrase("test_password", in updateDisplay_toWpa2Psk_shouldUpdateSecurityValue() 167 .setPassphrase(null, SoftApConfiguration.SECURITY_TYPE_OPEN).build(); in updateDisplay_toNone_shouldUpdateSecurityValue() 181 .setPassphrase("test_password", in updateDisplay_toWpa3SaeButNotSupportWpa3_shouldBeDefaultToWpa2() 196 .setPassphrase("test_password", in updateDisplay_toWpa3SaeTransitionButNotSupportWpa3_shouldBeDefaultToWpa2()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | ApConfigUtilTest.java | 621 .setPassphrase(null, SoftApConfiguration.SECURITY_TYPE_OPEN) in updateBandMask6gSecurityRestriction() 629 .setPassphrase("somepassword", SECURITY_TYPE_WPA2_PSK) in updateBandMask6gSecurityRestriction() 637 .setPassphrase("somepassword", SoftApConfiguration.SECURITY_TYPE_WPA3_SAE) in updateBandMask6gSecurityRestriction() 645 .setPassphrase("somepassword", in updateBandMask6gSecurityRestriction() 655 .setPassphrase(null, SoftApConfiguration.SECURITY_TYPE_WPA3_OWE_TRANSITION) in updateBandMask6gSecurityRestriction() 663 .setPassphrase("somepassword", SECURITY_TYPE_WPA2_PSK) in updateBandMask6gSecurityRestriction() 683 .setPassphrase(null, SoftApConfiguration.SECURITY_TYPE_OPEN) in updateBandMask6gSecurityRestrictionBridged() 691 .setPassphrase("somepassword", SECURITY_TYPE_WPA2_PSK) in updateBandMask6gSecurityRestrictionBridged() 699 .setPassphrase("somepassword", SoftApConfiguration.SECURITY_TYPE_WPA3_SAE) in updateBandMask6gSecurityRestrictionBridged() 707 .setPassphrase("somepassword", in updateBandMask6gSecurityRestrictionBridged() [all …]
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/p2p/ |
D | WifiP2pConfigTest.java | 114 b.setPassphrase("abcd1234"); in testBuilderInvalidPassphrase() 121 b.setPassphrase(null); in testBuilderInvalidPassphrase() 129 b.setPassphrase("12abcde"); in testBuilderInvalidPassphrase() 137 b.setPassphrase( in testBuilderInvalidPassphrase() 236 WifiP2pConfig c = new WifiP2pConfig.Builder().setPassphrase("12345677").build(); in testBuildThrowIllegalStateExceptionWithOnlyPassphrase()
|
D | WifiP2pGroupTest.java | 71 group.setPassphrase(PASSPHRASE); in testSetterGetter()
|
D | WifiP2pGroupListTest.java | 54 group.setPassphrase(passphrase); in createGroup()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | SoftApBackupRestoreTest.java | 153 configBuilder.setPassphrase("TestPskPassphrase", in testSoftApConfigBackupAndRestoreWithWpa2Config() 195 configBuilder.setPassphrase(null, SoftApConfiguration.SECURITY_TYPE_WPA3_OWE); in testSoftApConfigBackupAndRestoreWith6GOWEConfig() 233 configBuilder.setPassphrase("TestPskPassphrase", in testSoftApConfigBackupAndRestoreWithWpa3SaeConfig() 255 configBuilder.setPassphrase("TestPskPassphrase", in testSoftApConfigBackupAndRestoreWithWpa3SaeTransitionConfig() 279 configBuilder.setPassphrase(TEST_PASSPHRASE, TEST_SECURITY); in testSoftApConfigBackupAndRestoreWithMaxShutdownClientList() 380 configBuilder.setPassphrase(TEST_PASSPHRASE, TEST_SECURITY); in generateExpectedSoftApConfigurationWithTestData()
|
D | HostapdHalAidlImpTest.java | 263 configurationBuilder.setPassphrase(NETWORK_PSK, in testAddAccessPointSuccess_Psk_Band2G() 331 configurationBuilder.setPassphrase(NETWORK_PSK, in testAddAccessPointSuccess_Psk_Band5G_Hidden() 370 configurationBuilder.setPassphrase(NETWORK_PSK, in testAddAccessPointSuccess_Psk_Band2G_WithACS() 410 configurationBuilder.setPassphrase(NETWORK_PSK, in testAddAccessPointSuccess_Psk_Band2G_WithIeee80211AC() 448 configurationBuilder.setPassphrase(NETWORK_PSK, in testAddAccessPointSuccess_Psk_BandAny_WithACS() 485 configurationBuilder.setPassphrase(NETWORK_PSK, in testAddAccessPointSuccess_Psk_WithoutACS() 762 configurationBuilder.setPassphrase(NETWORK_PSK, in testAddAccessPointSuccess_SAE_WithoutACS() 801 configurationBuilder.setPassphrase(NETWORK_PSK, in testAddAccessPointSuccess_SAE_Transition_WithoutACS() 841 configurationBuilder.setPassphrase(NETWORK_PSK, in testAddAccessPointSuccess_WithACS_IncludeDFSChannels() 926 configurationBuilder.setPassphrase(NETWORK_PSK, in testAddAccessPointSuccess_WithMeteredSAE() [all …]
|
D | WifiApConfigStoreTest.java | 216 configBuilder.setPassphrase(preSharedKey, SoftApConfiguration.SECURITY_TYPE_WPA2_PSK); in setupApConfig() 635 .setPassphrase("somepassword", SECURITY_TYPE_WPA3_SAE) in generateLocalOnlyHotspotConfigWhenOverlayConfigureTo6G() 660 .setPassphrase("somepassword", SECURITY_TYPE_WPA3_SAE) in generateLocalOnlyHotspotConfigWhenOverlayConfigureTo5GAnd6G() 843 configBuilder.setPassphrase(null, SoftApConfiguration.SECURITY_TYPE_OPEN); in test6ghzRestrictionsSecurityTypes() 848 configBuilder.setPassphrase("somepassword", SoftApConfiguration.SECURITY_TYPE_WPA2_PSK); in test6ghzRestrictionsSecurityTypes() 853 configBuilder.setPassphrase("somepassword", SoftApConfiguration.SECURITY_TYPE_WPA3_SAE); in test6ghzRestrictionsSecurityTypes() 858 configBuilder.setPassphrase("somepassword", in test6ghzRestrictionsSecurityTypes() 866 configBuilder.setPassphrase(null, in test6ghzRestrictionsSecurityTypes() 904 configBuilder.setPassphrase( in testWpa2PskNetworkConfigInValidateApWifiConfigurationCheck() 918 configBuilder.setPassphrase( in testSaeNetworkConfigInValidateApWifiConfigurationCheck() [all …]
|
D | HostapdHalHidlImpTest.java | 283 configurationBuilder.setPassphrase(NETWORK_PSK, in testAddAccessPointSuccess_Psk_Band2G() 351 configurationBuilder.setPassphrase(NETWORK_PSK, in testAddAccessPointSuccess_Psk_Band5G_Hidden() 390 configurationBuilder.setPassphrase(NETWORK_PSK, in testAddAccessPointSuccess_Psk_Band2G_WithACS() 430 configurationBuilder.setPassphrase(NETWORK_PSK, in testAddAccessPointSuccess_Psk_Band2G_WithIeee80211AC() 468 configurationBuilder.setPassphrase(NETWORK_PSK, in testAddAccessPointSuccess_Psk_BandAny_WithACS() 505 configurationBuilder.setPassphrase(NETWORK_PSK, in testAddAccessPointSuccess_Psk_WithoutACS() 574 configurationBuilder.setPassphrase(NETWORK_PSK, in testAddAccessPointSuccess_Psk_BandAny_WithACS_AcsChannels() 1124 configurationBuilder.setPassphrase(NETWORK_PSK, in testAddAccessPointSuccess_SAE_WithoutACS() 1171 configurationBuilder.setPassphrase(NETWORK_PSK, in testAddAccessPointSuccess_SAE_Transition_WithoutACS() 1220 configurationBuilder.setPassphrase(NETWORK_PSK, in testAddAccessPointFailure_SAEWithOldHal() [all …]
|
D | SoftApStoreDataTest.java | 390 softApConfigBuilder.setPassphrase(TEST_PASSPHRASE, in serializeSoftAp() 441 softApConfigBuilder.setPassphrase(TEST_PASSPHRASE, in serializeSoftApNonUtf8() 635 softApConfigBuilder.setPassphrase(TEST_PASSPHRASE, in serializeDeserializeSoftAp() 671 softApConfigBuilder.setPassphrase(TEST_PASSPHRASE, in serializeDeserializeSoftApWpa3Sae() 708 softApConfigBuilder.setPassphrase(TEST_PASSPHRASE, in serializeDeserializeSoftApWpa3SaeTransition() 875 .setPassphrase(TEST_PASSPHRASE, SoftApConfiguration.SECURITY_TYPE_WPA2_PSK) in serializeDeserializeSoftApEncrypted()
|
D | SoftApManagerTest.java | 582 configBuilder.setPassphrase(TEST_PASSWORD, in startSoftApWithPassphraseInConfig() 782 configBuilder.setPassphrase("somepassword", SoftApConfiguration.SECURITY_TYPE_WPA3_SAE); in startSoftApOn6GhzFailGeneralErrorForNoCountryCode() 848 configBuilder.setPassphrase("somepassword", SoftApConfiguration.SECURITY_TYPE_WPA3_SAE); in startSoftApOn6GhzFailGeneralErrorForCountryCodeSetFailure() 901 configBuilder.setPassphrase("somepassword", SoftApConfiguration.SECURITY_TYPE_WPA3_SAE); in startSoftApOnAnyGhzNoFailForNoCountryCode() 939 configBuilder.setPassphrase("somepassword", SoftApConfiguration.SECURITY_TYPE_WPA3_SAE); in startSoftApOnAnyNoFailForCountryCodeSetFailure() 1448 configBuilder.setPassphrase("somepassword", SoftApConfiguration.SECURITY_TYPE_WPA3_SAE); in updatesMetricsOnChannelSwitchedEventDoesNotDetectBandUnsatisfiedOnBandAny() 2717 mDefaultApConfig).setPassphrase(TEST_PASSWORD, in testSoftApEnableFailureBecauseSecurityTypeSaeSetupButSaeNotSupport() 3390 configBuilder.setPassphrase("somepassword", SoftApConfiguration.SECURITY_TYPE_WPA3_SAE); in testBridgedModeFallbackToSingleModeDueToUnavailableBand() 4054 configBuilder.setPassphrase("somepassword", in testStartSoftApRemoves11BEIfNotSupportedByDeviceCapabilities() 4079 configBuilder.setPassphrase("somepassword", in testStartSoftApRemoves11BEIfNotSupportedByOverlay() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/ |
D | WifiTetherPasswordPreferenceControllerTest.java | 86 .setPassphrase(INITIAL_PASSWORD, SoftApConfiguration.SECURITY_TYPE_WPA2_PSK) in setUp() 155 .setPassphrase(VALID_PASS2, SoftApConfiguration.SECURITY_TYPE_WPA2_PSK).build(); in updateDisplay_shouldUpdateValue() 175 .setPassphrase(VALID_PASS2, SoftApConfiguration.SECURITY_TYPE_WPA2_PSK).build(); in updateDisplay_shouldSetInputType()
|
D | WifiTetherSSIDPreferenceControllerTest.java | 154 .setSsid("test_1234").setPassphrase("test_password", in displayPreference_wifiApDisabled_shouldHideQrCodeIcon() 166 .setSsid("test_1234").setPassphrase("test_password", in displayPreference_wifiApEnabled_shouldShowQrCodeIcon()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarProjectionServiceTest.java | 97 .setPassphrase("Password", SoftApConfiguration.SECURITY_TYPE_WPA2_PSK) 547 .setPassphrase("Password", SoftApConfiguration.SECURITY_TYPE_WPA2_PSK) in startProjectionTetheredAccessPoint_ensure2GhzAnd5GhzAdded() 556 .setPassphrase("Password", SoftApConfiguration.SECURITY_TYPE_WPA2_PSK) in startProjectionTetheredAccessPoint_ensure2GhzAnd5GhzAdded() 583 .setPassphrase("Password", SoftApConfiguration.SECURITY_TYPE_WPA2_PSK) in startProjectionTetheredAccessPoint_ensureNotCalled2Ghz5Ghz() 609 .setPassphrase("Password", SoftApConfiguration.SECURITY_TYPE_WPA2_PSK) in startProjectionTetheredAccessPoint_ensureNotCalled5Ghz() 636 .setPassphrase("Password", SoftApConfiguration.SECURITY_TYPE_WPA2_PSK) in startProjectionTetheredAccessPoint_ensure5GhzOnlyNoConcurrency() 645 .setPassphrase("Password", SoftApConfiguration.SECURITY_TYPE_WPA2_PSK) in startProjectionTetheredAccessPoint_ensure5GhzOnlyNoConcurrency()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiApConfigStore.java | 299 configBuilder.setPassphrase(generatePassword(), in resetToDefaultForUnsupportedConfig() 433 configBuilder.setPassphrase(generatePassword(), in getDefaultApConfiguration() 436 configBuilder.setPassphrase(generatePassword(), in getDefaultApConfiguration() 505 configBuilder.setPassphrase(generatePassword(), in generateLocalOnlyHotspotConfig() 508 configBuilder.setPassphrase(generatePassword(), in generateLocalOnlyHotspotConfig()
|
D | SoftApBackupRestore.java | 203 configBuilder.setPassphrase(passphrase, SoftApConfiguration.SECURITY_TYPE_WPA2_PSK); in retrieveSoftApConfigurationFromBackupData() 205 configBuilder.setPassphrase(passphrase, securityType); in retrieveSoftApConfigurationFromBackupData()
|
/packages/apps/Settings/src/com/android/settings/wifi/repository/ |
D | WifiHotspotRepository.java | 267 configBuilder.setPassphrase(passphrase, securityType); in setSecurityType() 345 configBuilder.setPassphrase(generatePassword(config), SECURITY_TYPE_WPA3_SAE); in setSpeedType() 361 configBuilder.setPassphrase( in setSpeedType()
|
/packages/modules/Wifi/tests/hostsidetests/multidevices/test/direct/snippet/ |
D | JsonDeserializer.java | 62 builder.setPassphrase(jsonObject.getString(PASSPHRASE)); in jsonToWifiP2pConfig()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/ |
D | WifiHotspotRepositoryTest.java | 133 .setPassphrase(null, SECURITY_TYPE_OPEN) in queryLastPasswordIfNeeded_securityTypeIsOpen_queryLastPassword() 146 .setPassphrase(WIFI_PASSWORD, SECURITY_TYPE_WPA3_SAE) in queryLastPasswordIfNeeded_securityTypeIsNotOpen_notQueryLastPassword() 173 .setPassphrase(WIFI_PASSWORD, SECURITY_TYPE_WPA2_PSK) in generatePassword_configPasswordIsNotEmpty_returnConfigPassword() 799 configBuilder.setPassphrase(passphrase, securityType).build(); in mockConfig()
|
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/ |
D | WifiP2pGroup.java | 353 public void setPassphrase(String passphrase) { in setPassphrase() method in WifiP2pGroup 503 group.setPassphrase(in.readString());
|
/packages/services/Car/tests/CarLibTests/src/android/car/ |
D | CarProjectionManagerTest.java | 113 .setPassphrase("password", SoftApConfiguration.SECURITY_TYPE_WPA2_PSK) in startAp_success() 129 .setPassphrase("password", SoftApConfiguration.SECURITY_TYPE_WPA2_PSK) in startAp_success_setWifiConfiguration()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiTetherPasswordPreferenceController.java | 169 .setPassphrase(passwordOrNullIfOpen, mSecurityType) in updateApSecurity()
|
/packages/modules/Connectivity/tests/cts/multidevices/snippet/ |
D | ConnectivityMultiDevicesSnippet.kt | 151 .setPassphrase(passphrase, SECURITY_TYPE_WPA2_PSK) in startHotspot()
|