Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java75 public static final String PASSWORD_MASK = "*"; field in WifiConfigurationUtil
521 } else if (password.equals(PASSWORD_MASK)) { in validatePassword()
588 if (wepKeys[i] != null && !TextUtils.equals(wepKeys[i], PASSWORD_MASK)) { in validateWepKeys()
DWifiConfigManager.java122 public static final String PASSWORD_MASK = "*"; field in WifiConfigManager
692 configuration.preSharedKey = PASSWORD_MASK; in maskPasswordsInWifiConfiguration()
697 configuration.wepKeys[i] = PASSWORD_MASK; in maskPasswordsInWifiConfiguration()
703 configuration.enterpriseConfig.setPassword(PASSWORD_MASK); in maskPasswordsInWifiConfiguration()
1201 && !externalConfig.preSharedKey.equals(PASSWORD_MASK)) { in mergeWithInternalWifiConfiguration()
1211 && !externalConfig.wepKeys[i].equals(PASSWORD_MASK)) { in mergeWithInternalWifiConfiguration()
1262 externalConfig.enterpriseConfig, PASSWORD_MASK); in mergeWithInternalWifiConfiguration()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationUtilTest.java290 config.preSharedKey = WifiConfigurationUtil.PASSWORD_MASK; in testValidatePositiveCases_MaskedPskString()
549 config.wepKeys = new String[]{ WifiConfigurationUtil.PASSWORD_MASK, in testValidatePositiveCases_MaskedWepKeysString()
550 WifiConfigurationUtil.PASSWORD_MASK, in testValidatePositiveCases_MaskedWepKeysString()
551 WifiConfigurationUtil.PASSWORD_MASK, in testValidatePositiveCases_MaskedWepKeysString()
552 WifiConfigurationUtil.PASSWORD_MASK}; in testValidatePositiveCases_MaskedWepKeysString()
DWifiConfigManagerTest.java5988 assertEquals(WifiConfigManager.PASSWORD_MASK, configuration.preSharedKey); in assertPasswordsMaskedInWifiConfiguration()
5993 assertEquals(WifiConfigManager.PASSWORD_MASK, configuration.wepKeys[i]); in assertPasswordsMaskedInWifiConfiguration()
5999 WifiConfigManager.PASSWORD_MASK, in assertPasswordsMaskedInWifiConfiguration()