Home
last modified time | relevance | path

Searched refs:setPassphrase (Results 1 – 25 of 47) sorted by relevance

12

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DWifiTetherPasswordPreferenceControllerTest.java83 .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/
DSoftApConfigurationTest.java182 .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/
DWifiTetherSecurityPreferenceControllerTest.java70 .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/
DApConfigUtilTest.java621 .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/
DWifiP2pConfigTest.java114 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()
DWifiP2pGroupTest.java71 group.setPassphrase(PASSPHRASE); in testSetterGetter()
DWifiP2pGroupListTest.java54 group.setPassphrase(passphrase); in createGroup()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSoftApBackupRestoreTest.java153 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()
DHostapdHalAidlImpTest.java263 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 …]
DWifiApConfigStoreTest.java216 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 …]
DHostapdHalHidlImpTest.java283 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 …]
DSoftApStoreDataTest.java390 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()
DSoftApManagerTest.java582 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/
DWifiTetherPasswordPreferenceControllerTest.java86 .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()
DWifiTetherSSIDPreferenceControllerTest.java154 .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/
DCarProjectionServiceTest.java97 .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/
DWifiApConfigStore.java299 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()
DSoftApBackupRestore.java203 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/
DWifiHotspotRepository.java267 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/
DJsonDeserializer.java62 builder.setPassphrase(jsonObject.getString(PASSPHRASE)); in jsonToWifiP2pConfig()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/
DWifiHotspotRepositoryTest.java133 .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/
DWifiP2pGroup.java353 public void setPassphrase(String passphrase) { in setPassphrase() method in WifiP2pGroup
503 group.setPassphrase(in.readString());
/packages/services/Car/tests/CarLibTests/src/android/car/
DCarProjectionManagerTest.java113 .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/
DWifiTetherPasswordPreferenceController.java169 .setPassphrase(passwordOrNullIfOpen, mSecurityType) in updateApSecurity()
/packages/modules/Connectivity/tests/cts/multidevices/snippet/
DConnectivityMultiDevicesSnippet.kt151 .setPassphrase(passphrase, SECURITY_TYPE_WPA2_PSK) in startHotspot()

12