Home
last modified time | relevance | path

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

/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DWifiApConfigStore.java65 static final int PSK_MIN_LEN = 8; field in WifiApConfigStore
490 if (preSharedKey.length() < PSK_MIN_LEN || preSharedKey.length() > PSK_MAX_LEN) { in validateApConfigPreSharedKey()
491 Log.d(TAG, "softap network password string size must be at least " + PSK_MIN_LEN in validateApConfigPreSharedKey()
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/
H A DSoftApConfiguration.java67 static final int PSK_MIN_LEN = 8; field in SoftApConfiguration
1036 if (passphrase.length() < PSK_MIN_LEN || passphrase.length() > PSK_MAX_LEN) { in setPassphrase()
1038 "Password size must be at least " + PSK_MIN_LEN in setPassphrase()
/aosp12/packages/modules/Wifi/framework/tests/src/android/net/wifi/
H A DSoftApConfigurationTest.java263 .setPassphrase(generateRandomString(SoftApConfiguration.PSK_MIN_LEN - 1), in testInvalidShortPasswordLengthForWpa2()
283 .setPassphrase(generateRandomString(SoftApConfiguration.PSK_MIN_LEN - 1), in testInvalidShortPasswordLengthForWpa3SaeTransition()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DWifiApConfigStoreTest.java710 int minLen = WifiApConfigStore.PSK_MIN_LEN; in testWpa2PskNetworkConfigInValidateApWifiConfigurationCheck()