Home
last modified time | relevance | path

Searched refs:generatePassword (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/wifi/repository/
DWifiHotspotRepository.java148 public String generatePassword() { in generatePassword() method in WifiHotspotRepository
153 String generatePassword(SoftApConfiguration config) { in generatePassword() method in WifiHotspotRepository
156 password = generatePassword(); in generatePassword()
266 String passphrase = (securityType == SECURITY_TYPE_OPEN) ? null : generatePassword(config); in setSecurityType()
345 configBuilder.setPassphrase(generatePassword(config), SECURITY_TYPE_WPA3_SAE); in setSpeedType()
362 generatePassword(config), SECURITY_TYPE_WPA3_SAE_TRANSITION); in setSpeedType()
/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()
711 private static String generatePassword() { in generatePassword() method in WifiApConfigStore
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherPasswordPreferenceController.java75 mPassword = mWifiHotspotRepository.generatePassword(); in updateDisplay()
111 mPassword = mWifiHotspotRepository.generatePassword(); in getPasswordValidated()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/
DWifiHotspotRepositoryTest.java160 assertThat(mRepository.generatePassword()).isEqualTo(WIFI_PASSWORD); in generatePassword_haveLastPassword_returnLastPassword()
167 assertThat(mRepository.generatePassword().length()).isNotEqualTo(0); in generatePassword_noLastPassword_returnRandomPassword()
176 assertThat(mRepository.generatePassword(mSoftApConfiguration)).isEqualTo(WIFI_PASSWORD); in generatePassword_configPasswordIsNotEmpty_returnConfigPassword()
184 assertThat(mRepository.generatePassword(mSoftApConfiguration)).isEqualTo(WIFI_PASSWORD); in generatePassword_configPasswordIsEmpty_returnConfigPassword()