/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProviderTest.java | 429 Credential.UserCredential userCredential = new Credential.UserCredential(); in matchFQDNWithoutNAIRealm() local 430 userCredential.setNonEapInnerMethod(Credential.UserCredential.AUTH_METHOD_MSCHAPV2); in matchFQDNWithoutNAIRealm() 431 credential.setUserCredential(userCredential); in matchFQDNWithoutNAIRealm() 462 Credential.UserCredential userCredential = new Credential.UserCredential(); in matchFQDNWithNAIRealmMatch() local 463 userCredential.setNonEapInnerMethod(Credential.UserCredential.AUTH_METHOD_MSCHAPV2); in matchFQDNWithNAIRealmMatch() 464 credential.setUserCredential(userCredential); in matchFQDNWithNAIRealmMatch() 499 Credential.UserCredential userCredential = new Credential.UserCredential(); in matchFQDNWithNAIRealmMismatch() local 500 userCredential.setNonEapInnerMethod(Credential.UserCredential.AUTH_METHOD_MSCHAPV2); in matchFQDNWithNAIRealmMismatch() 501 credential.setUserCredential(userCredential); in matchFQDNWithNAIRealmMismatch() 606 Credential.UserCredential userCredential = new Credential.UserCredential(); in matchRoamingConsortiumWithoutNAIRealm() local [all …]
|
D | PasspointXmlUtilsTest.java | 119 Credential.UserCredential userCredential = new Credential.UserCredential(); in createFullPasspointConfiguration() local 120 userCredential.setUsername("james"); in createFullPasspointConfiguration() 121 userCredential.setPassword("Ym9uZDAwNw=="); in createFullPasspointConfiguration() 122 userCredential.setMachineManaged(true); in createFullPasspointConfiguration() 123 userCredential.setSoftTokenApp("TestApp"); in createFullPasspointConfiguration() 124 userCredential.setAbleToShare(true); in createFullPasspointConfiguration() 125 userCredential.setEapType(21); in createFullPasspointConfiguration() 126 userCredential.setNonEapInnerMethod("MS-CHAP-V2"); in createFullPasspointConfiguration() 127 credential.setUserCredential(userCredential); in createFullPasspointConfiguration()
|
D | PasspointConfigUserStoreDataTest.java | 148 Credential.UserCredential userCredential = new Credential.UserCredential(); in createFullPasspointConfiguration() local 149 userCredential.setUsername("james"); in createFullPasspointConfiguration() 150 userCredential.setPassword("Ym9uZDAwNw=="); in createFullPasspointConfiguration() 151 userCredential.setMachineManaged(true); in createFullPasspointConfiguration() 152 userCredential.setSoftTokenApp("TestApp"); in createFullPasspointConfiguration() 153 userCredential.setAbleToShare(true); in createFullPasspointConfiguration() 154 userCredential.setEapType(21); in createFullPasspointConfiguration() 155 userCredential.setNonEapInnerMethod("MS-CHAP-V2"); in createFullPasspointConfiguration() 156 credential.setUserCredential(userCredential); in createFullPasspointConfiguration()
|
D | PasspointManagerTest.java | 273 Credential.UserCredential userCredential = new Credential.UserCredential(); in createTestConfigWithUserCredential() local 274 userCredential.setUsername("username"); in createTestConfigWithUserCredential() 275 userCredential.setPassword("password"); in createTestConfigWithUserCredential() 276 userCredential.setEapType(EAPConstants.EAP_TTLS); in createTestConfigWithUserCredential() 277 userCredential.setNonEapInnerMethod(Credential.UserCredential.AUTH_METHOD_MSCHAP); in createTestConfigWithUserCredential() 278 credential.setUserCredential(userCredential); in createTestConfigWithUserCredential() 1245 Credential.UserCredential userCredential = new Credential.UserCredential(); in addLegacyPasspointConfigWithUserCredential() local 1246 userCredential.setUsername(username); in addLegacyPasspointConfigWithUserCredential() 1247 userCredential.setPassword(encodedPasswordStr); in addLegacyPasspointConfigWithUserCredential() 1248 userCredential.setEapType(EAPConstants.EAP_TTLS); in addLegacyPasspointConfigWithUserCredential() [all …]
|
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/ |
D | ConfigParserTest.java | 96 Credential.UserCredential userCredential = new Credential.UserCredential(); in generateConfigurationFromProfile() local 97 userCredential.setUsername("james"); in generateConfigurationFromProfile() 98 userCredential.setPassword("Ym9uZDAwNw=="); in generateConfigurationFromProfile() 99 userCredential.setEapType(21); in generateConfigurationFromProfile() 100 userCredential.setNonEapInnerMethod("MS-CHAP-V2"); in generateConfigurationFromProfile() 101 credential.setUserCredential(userCredential); in generateConfigurationFromProfile()
|
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/omadm/ |
D | PpsMoParserTest.java | 144 Credential.UserCredential userCredential = new Credential.UserCredential(); in generateConfigurationFromPPSMOTree() local 145 userCredential.setUsername("james"); in generateConfigurationFromPPSMOTree() 146 userCredential.setPassword("Ym9uZDAwNw=="); in generateConfigurationFromPPSMOTree() 147 userCredential.setMachineManaged(true); in generateConfigurationFromPPSMOTree() 148 userCredential.setSoftTokenApp("TestApp"); in generateConfigurationFromPPSMOTree() 149 userCredential.setAbleToShare(true); in generateConfigurationFromPPSMOTree() 150 userCredential.setEapType(21); in generateConfigurationFromPPSMOTree() 151 userCredential.setNonEapInnerMethod("MS-CHAP-V2"); in generateConfigurationFromPPSMOTree() 152 credential.setUserCredential(userCredential); in generateConfigurationFromPPSMOTree()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointXmlUtils.java | 325 Credential.UserCredential userCredential) throws XmlPullParserException, IOException { in serializeUserCredential() argument 326 if (userCredential == null) { in serializeUserCredential() 330 XmlUtil.writeNextValue(out, XML_TAG_USERNAME, userCredential.getUsername()); in serializeUserCredential() 331 XmlUtil.writeNextValue(out, XML_TAG_PASSWORD, userCredential.getPassword()); in serializeUserCredential() 332 XmlUtil.writeNextValue(out, XML_TAG_MACHINE_MANAGED, userCredential.getMachineManaged()); in serializeUserCredential() 333 XmlUtil.writeNextValue(out, XML_TAG_SOFT_TOKEN_APP, userCredential.getSoftTokenApp()); in serializeUserCredential() 334 XmlUtil.writeNextValue(out, XML_TAG_ABLE_TO_SHARE, userCredential.getAbleToShare()); in serializeUserCredential() 335 XmlUtil.writeNextValue(out, XML_TAG_EAP_TYPE, userCredential.getEapType()); in serializeUserCredential() 337 userCredential.getNonEapInnerMethod()); in serializeUserCredential() 642 Credential.UserCredential userCredential = new Credential.UserCredential(); in deserializeUserCredential() local [all …]
|
D | PasspointProvider.java | 716 Credential.UserCredential userCredential = new Credential.UserCredential(); in buildUserCredentialFromEnterpriseConfig() local 717 userCredential.setEapType(EAPConstants.EAP_TTLS); in buildUserCredentialFromEnterpriseConfig() 723 userCredential.setUsername(config.getIdentity()); in buildUserCredentialFromEnterpriseConfig() 732 userCredential.setPassword(encodedPassword); in buildUserCredentialFromEnterpriseConfig() 736 userCredential.setNonEapInnerMethod(Credential.UserCredential.AUTH_METHOD_PAP); in buildUserCredentialFromEnterpriseConfig() 739 userCredential.setNonEapInnerMethod(Credential.UserCredential.AUTH_METHOD_MSCHAP); in buildUserCredentialFromEnterpriseConfig() 742 userCredential.setNonEapInnerMethod(Credential.UserCredential.AUTH_METHOD_MSCHAPV2); in buildUserCredentialFromEnterpriseConfig() 748 return userCredential; in buildUserCredentialFromEnterpriseConfig()
|
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/ |
D | Credential.java | 435 UserCredential userCredential = new UserCredential(); 436 userCredential.setUsername(in.readString()); 437 userCredential.setPassword(in.readString()); 438 userCredential.setMachineManaged(in.readInt() != 0); 439 userCredential.setSoftTokenApp(in.readString()); 440 userCredential.setAbleToShare(in.readInt() != 0); 441 userCredential.setEapType(in.readInt()); 442 userCredential.setNonEapInnerMethod(in.readString()); 443 return userCredential; 458 public void setUserCredential(UserCredential userCredential) { in setUserCredential() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordManager.java | 682 byte[] userCredential, int credentialType, in verifyFrpCredential() argument 687 byte[] pwdToken = computePasswordToken(userCredential, pwd); in verifyFrpCredential() 694 byte[] pwdToken = computePasswordToken(userCredential, pwd); in verifyFrpCredential()
|
D | LockSettingsService.java | 2493 private VerifyCredentialResponse spBasedDoVerifyCredential(byte[] userCredential, in spBasedDoVerifyCredential() argument 2498 userCredential = null; in spBasedDoVerifyCredential() 2518 userCredential, credentialType, progressCallback); in spBasedDoVerifyCredential() 2523 getGateKeeperService(), handle, userCredential, userId, progressCallback); in spBasedDoVerifyCredential() 2546 notifyActivePasswordMetricsAvailable(credentialType, userCredential, userId); in spBasedDoVerifyCredential()
|