Home
last modified time | relevance | path

Searched refs:userCredential (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointXmlUtilsTest.java119 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()
DPasspointProviderTest.java429 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()
500 Credential.UserCredential userCredential = new Credential.UserCredential(); in matchFQDNWithNAIRealmMismatch() local
501 userCredential.setNonEapInnerMethod(Credential.UserCredential.AUTH_METHOD_MSCHAPV2); in matchFQDNWithNAIRealmMismatch()
502 credential.setUserCredential(userCredential); in matchFQDNWithNAIRealmMismatch()
608 Credential.UserCredential userCredential = new Credential.UserCredential(); in matchRoamingConsortiumWithoutNAIRealm() local
[all …]
DPasspointConfigUserStoreDataTest.java149 Credential.UserCredential userCredential = new Credential.UserCredential(); in createFullPasspointConfiguration() local
150 userCredential.setUsername("james"); in createFullPasspointConfiguration()
151 userCredential.setPassword("Ym9uZDAwNw=="); in createFullPasspointConfiguration()
152 userCredential.setMachineManaged(true); in createFullPasspointConfiguration()
153 userCredential.setSoftTokenApp("TestApp"); in createFullPasspointConfiguration()
154 userCredential.setAbleToShare(true); in createFullPasspointConfiguration()
155 userCredential.setEapType(21); in createFullPasspointConfiguration()
156 userCredential.setNonEapInnerMethod("MS-CHAP-V2"); in createFullPasspointConfiguration()
157 credential.setUserCredential(userCredential); in createFullPasspointConfiguration()
DPasspointManagerTest.java311 Credential.UserCredential userCredential = new Credential.UserCredential(); in createTestConfigWithUserCredential() local
312 userCredential.setUsername("username"); in createTestConfigWithUserCredential()
313 userCredential.setPassword("password"); in createTestConfigWithUserCredential()
314 userCredential.setEapType(EAPConstants.EAP_TTLS); in createTestConfigWithUserCredential()
315 userCredential.setNonEapInnerMethod(Credential.UserCredential.AUTH_METHOD_MSCHAP); in createTestConfigWithUserCredential()
316 credential.setUserCredential(userCredential); in createTestConfigWithUserCredential()
1361 Credential.UserCredential userCredential = new Credential.UserCredential(); in addLegacyPasspointConfigWithUserCredential() local
1362 userCredential.setUsername(username); in addLegacyPasspointConfigWithUserCredential()
1363 userCredential.setPassword(encodedPasswordStr); in addLegacyPasspointConfigWithUserCredential()
1364 userCredential.setEapType(EAPConstants.EAP_TTLS); in addLegacyPasspointConfigWithUserCredential()
[all …]
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/omadm/
DPpsMoParserTest.java144 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/base/wifi/tests/src/android/net/wifi/hotspot2/
DConfigParserTest.java96 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/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointXmlUtils.java325 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 …]
DPasspointProvider.java818 Credential.UserCredential userCredential = new Credential.UserCredential(); in buildUserCredentialFromEnterpriseConfig() local
819 userCredential.setEapType(EAPConstants.EAP_TTLS); in buildUserCredentialFromEnterpriseConfig()
825 userCredential.setUsername(config.getIdentity()); in buildUserCredentialFromEnterpriseConfig()
834 userCredential.setPassword(encodedPassword); in buildUserCredentialFromEnterpriseConfig()
838 userCredential.setNonEapInnerMethod(Credential.UserCredential.AUTH_METHOD_PAP); in buildUserCredentialFromEnterpriseConfig()
841 userCredential.setNonEapInnerMethod(Credential.UserCredential.AUTH_METHOD_MSCHAP); in buildUserCredentialFromEnterpriseConfig()
844 userCredential.setNonEapInnerMethod(Credential.UserCredential.AUTH_METHOD_MSCHAPV2); in buildUserCredentialFromEnterpriseConfig()
850 return userCredential; in buildUserCredentialFromEnterpriseConfig()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/
DCredential.java435 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/
DSyntheticPasswordManager.java682 byte[] userCredential, int credentialType, in verifyFrpCredential() argument
687 byte[] pwdToken = computePasswordToken(userCredential, pwd); in verifyFrpCredential()
694 byte[] pwdToken = computePasswordToken(userCredential, pwd); in verifyFrpCredential()
DLockSettingsService.java2550 private VerifyCredentialResponse spBasedDoVerifyCredential(byte[] userCredential, in spBasedDoVerifyCredential() argument
2560 userCredential = null; in spBasedDoVerifyCredential()
2583 userCredential, credentialType, progressCallback); in spBasedDoVerifyCredential()
2588 getGateKeeperService(), handle, userCredential, userId, progressCallback); in spBasedDoVerifyCredential()
2611 notifyActivePasswordMetricsAvailable(credentialType, userCredential, userId); in spBasedDoVerifyCredential()