Home
last modified time | relevance | path

Searched refs:userCred (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/pps/
DCredentialTest.java55 private static Credential createCredential(Credential.UserCredential userCred, in createCredential() argument
65 cred.setUserCredential(userCred); in createCredential()
111 Credential.UserCredential userCred = new Credential.UserCredential(); in createCredentialWithUserCredential() local
112 userCred.setUsername("username"); in createCredentialWithUserCredential()
113 userCred.setPassword("password"); in createCredentialWithUserCredential()
114 userCred.setMachineManaged(true); in createCredentialWithUserCredential()
115 userCred.setAbleToShare(true); in createCredentialWithUserCredential()
116 userCred.setSoftTokenApp("TestApp"); in createCredentialWithUserCredential()
117 userCred.setEapType(EAPConstants.EAP_TTLS); in createCredentialWithUserCredential()
118 userCred.setNonEapInnerMethod("MS-CHAP"); in createCredentialWithUserCredential()
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/
DPasspointConfigurationTest.java571 Credential.UserCredential userCred = new Credential.UserCredential(); in createCredentialWithUserCredential() local
572 userCred.setUsername(username); in createCredentialWithUserCredential()
573 userCred.setPassword(password); in createCredentialWithUserCredential()
574 userCred.setMachineManaged(true); in createCredentialWithUserCredential()
575 userCred.setAbleToShare(true); in createCredentialWithUserCredential()
576 userCred.setSoftTokenApp("TestApp"); in createCredentialWithUserCredential()
577 userCred.setEapType(EAPConstants.EAP_TTLS); in createCredentialWithUserCredential()
578 userCred.setNonEapInnerMethod("MS-CHAP"); in createCredentialWithUserCredential()
579 return createCredential(userCred, null, null, null, null, FakeKeys.CA_CERT0); in createCredentialWithUserCredential()
593 private static Credential createCredential(Credential.UserCredential userCred, in createCredential() argument
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/omadm/
DPpsMoParser.java998 Credential.UserCredential userCred = new Credential.UserCredential(); in parseUserCredential() local
1002 userCred.setUsername(getPpsNodeValue(child)); in parseUserCredential()
1005 userCred.setPassword(getPpsNodeValue(child)); in parseUserCredential()
1008 userCred.setMachineManaged(Boolean.parseBoolean(getPpsNodeValue(child))); in parseUserCredential()
1011 userCred.setSoftTokenApp(getPpsNodeValue(child)); in parseUserCredential()
1014 userCred.setAbleToShare(Boolean.parseBoolean(getPpsNodeValue(child))); in parseUserCredential()
1017 parseEAPMethod(child, userCred); in parseUserCredential()
1024 return userCred; in parseUserCredential()
1036 private static void parseEAPMethod(PPSNode node, Credential.UserCredential userCred) in parseEAPMethod() argument
1045 userCred.setEapType(parseInteger(getPpsNodeValue(child))); in parseEAPMethod()
[all …]