Home
last modified time | relevance | path

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

/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/pps/
DCredentialTest.java53 private static Credential createCredential(Credential.UserCredential userCred, in createCredential() argument
63 cred.setUserCredential(userCred); in createCredential()
109 Credential.UserCredential userCred = new Credential.UserCredential(); in createCredentialWithUserCredential() local
110 userCred.setUsername("username"); in createCredentialWithUserCredential()
111 userCred.setPassword("password"); in createCredentialWithUserCredential()
112 userCred.setMachineManaged(true); in createCredentialWithUserCredential()
113 userCred.setAbleToShare(true); in createCredentialWithUserCredential()
114 userCred.setSoftTokenApp("TestApp"); in createCredentialWithUserCredential()
115 userCred.setEapType(EAPConstants.EAP_TTLS); in createCredentialWithUserCredential()
116 userCred.setNonEapInnerMethod("MS-CHAP"); in createCredentialWithUserCredential()
[all …]
/frameworks/base/wifi/java/android/net/wifi/hotspot2/omadm/
DPpsMoParser.java949 Credential.UserCredential userCred = new Credential.UserCredential(); in parseUserCredential() local
953 userCred.setUsername(getPpsNodeValue(child)); in parseUserCredential()
956 userCred.setPassword(getPpsNodeValue(child)); in parseUserCredential()
959 userCred.setMachineManaged(Boolean.parseBoolean(getPpsNodeValue(child))); in parseUserCredential()
962 userCred.setSoftTokenApp(getPpsNodeValue(child)); in parseUserCredential()
965 userCred.setAbleToShare(Boolean.parseBoolean(getPpsNodeValue(child))); in parseUserCredential()
968 parseEAPMethod(child, userCred); in parseUserCredential()
975 return userCred; in parseUserCredential()
987 private static void parseEAPMethod(PPSNode node, Credential.UserCredential userCred) in parseEAPMethod() argument
996 userCred.setEapType(parseInteger(getPpsNodeValue(child))); in parseEAPMethod()
[all …]