Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointXmlUtilsTest.java120 Credential.UserCredential userCredential = new Credential.UserCredential(); in createFullPasspointConfiguration() local
121 userCredential.setUsername("james"); in createFullPasspointConfiguration()
122 userCredential.setPassword("Ym9uZDAwNw=="); in createFullPasspointConfiguration()
123 userCredential.setMachineManaged(true); in createFullPasspointConfiguration()
124 userCredential.setSoftTokenApp("TestApp"); in createFullPasspointConfiguration()
125 userCredential.setAbleToShare(true); in createFullPasspointConfiguration()
126 userCredential.setEapType(21); in createFullPasspointConfiguration()
127 userCredential.setNonEapInnerMethod("MS-CHAP-V2"); in createFullPasspointConfiguration()
128 credential.setUserCredential(userCredential); in createFullPasspointConfiguration()
DPasspointConfigUserStoreDataTest.java156 Credential.UserCredential userCredential = new Credential.UserCredential(); in createFullPasspointConfiguration() local
157 userCredential.setUsername("james"); in createFullPasspointConfiguration()
158 userCredential.setPassword("Ym9uZDAwNw=="); in createFullPasspointConfiguration()
159 userCredential.setMachineManaged(true); in createFullPasspointConfiguration()
160 userCredential.setSoftTokenApp("TestApp"); in createFullPasspointConfiguration()
161 userCredential.setAbleToShare(true); in createFullPasspointConfiguration()
162 userCredential.setEapType(21); in createFullPasspointConfiguration()
163 userCredential.setNonEapInnerMethod("MS-CHAP-V2"); in createFullPasspointConfiguration()
164 credential.setUserCredential(userCredential); in createFullPasspointConfiguration()
DPasspointProviderTest.java258 Credential.UserCredential userCredential = new Credential.UserCredential(); in generateTestPasspointConfiguration() local
259 userCredential.setEapType(EAPConstants.EAP_TTLS); in generateTestPasspointConfiguration()
260 userCredential.setNonEapInnerMethod(Credential.UserCredential.AUTH_METHOD_MSCHAPV2); in generateTestPasspointConfiguration()
261 userCredential.setUsername(TEST_USERNAME); in generateTestPasspointConfiguration()
262 userCredential.setPassword(encodedPasswordStr); in generateTestPasspointConfiguration()
266 credential.setUserCredential(userCredential); in generateTestPasspointConfiguration()
334 Credential.UserCredential userCredential = credential.getUserCredential(); in verifyWifiConfigWithTestData() local
336 byte[] pwOctets = Base64.decode(userCredential.getPassword(), Base64.DEFAULT); in verifyWifiConfigWithTestData()
339 decodedPassword = userCredential.getPassword(); in verifyWifiConfigWithTestData()
345 switch (userCredential.getNonEapInnerMethod()) { in verifyWifiConfigWithTestData()
[all …]
DPasspointManagerTest.java315 Credential.UserCredential userCredential = new Credential.UserCredential(); in createTestConfigWithUserCredentialAndRealm() local
316 userCredential.setUsername("username"); in createTestConfigWithUserCredentialAndRealm()
317 userCredential.setPassword("password"); in createTestConfigWithUserCredentialAndRealm()
318 userCredential.setEapType(EAPConstants.EAP_TTLS); in createTestConfigWithUserCredentialAndRealm()
319 userCredential.setNonEapInnerMethod(Credential.UserCredential.AUTH_METHOD_MSCHAP); in createTestConfigWithUserCredentialAndRealm()
320 credential.setUserCredential(userCredential); in createTestConfigWithUserCredentialAndRealm()
1560 Credential.UserCredential userCredential = new Credential.UserCredential(); in addLegacyPasspointConfigWithUserCredential() local
1561 userCredential.setUsername(username); in addLegacyPasspointConfigWithUserCredential()
1562 userCredential.setPassword(encodedPasswordStr); in addLegacyPasspointConfigWithUserCredential()
1563 userCredential.setEapType(EAPConstants.EAP_TTLS); in addLegacyPasspointConfigWithUserCredential()
[all …]
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/omadm/
DPpsMoParserTest.java147 Credential.UserCredential userCredential = new Credential.UserCredential(); in generateConfigurationFromPPSMOTree() local
148 userCredential.setUsername("james"); in generateConfigurationFromPPSMOTree()
149 userCredential.setPassword("Ym9uZDAwNw=="); in generateConfigurationFromPPSMOTree()
150 userCredential.setMachineManaged(true); in generateConfigurationFromPPSMOTree()
151 userCredential.setSoftTokenApp("TestApp"); in generateConfigurationFromPPSMOTree()
152 userCredential.setAbleToShare(true); in generateConfigurationFromPPSMOTree()
153 userCredential.setEapType(21); in generateConfigurationFromPPSMOTree()
154 userCredential.setNonEapInnerMethod("MS-CHAP-V2"); in generateConfigurationFromPPSMOTree()
155 credential.setUserCredential(userCredential); in generateConfigurationFromPPSMOTree()
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/
DConfigParserTest.java98 Credential.UserCredential userCredential = new Credential.UserCredential(); in generateConfigurationFromProfile() local
99 userCredential.setUsername("user"); in generateConfigurationFromProfile()
100 userCredential.setPassword("cGFzc3dvcmQ="); in generateConfigurationFromProfile()
101 userCredential.setEapType(21); in generateConfigurationFromProfile()
102 userCredential.setNonEapInnerMethod("MS-CHAP-V2"); in generateConfigurationFromProfile()
103 credential.setUserCredential(userCredential); in generateConfigurationFromProfile()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointXmlUtils.java345 Credential.UserCredential userCredential) throws XmlPullParserException, IOException { in serializeUserCredential() argument
346 if (userCredential == null) { in serializeUserCredential()
350 XmlUtil.writeNextValue(out, XML_TAG_USERNAME, userCredential.getUsername()); in serializeUserCredential()
351 XmlUtil.writeNextValue(out, XML_TAG_PASSWORD, userCredential.getPassword()); in serializeUserCredential()
352 XmlUtil.writeNextValue(out, XML_TAG_MACHINE_MANAGED, userCredential.getMachineManaged()); in serializeUserCredential()
353 XmlUtil.writeNextValue(out, XML_TAG_SOFT_TOKEN_APP, userCredential.getSoftTokenApp()); in serializeUserCredential()
354 XmlUtil.writeNextValue(out, XML_TAG_ABLE_TO_SHARE, userCredential.getAbleToShare()); in serializeUserCredential()
355 XmlUtil.writeNextValue(out, XML_TAG_EAP_TYPE, userCredential.getEapType()); in serializeUserCredential()
357 userCredential.getNonEapInnerMethod()); in serializeUserCredential()
662 Credential.UserCredential userCredential = new Credential.UserCredential(); in deserializeUserCredential() local
[all …]
DPasspointProvider.java946 Credential.UserCredential userCredential = new Credential.UserCredential(); in buildUserCredentialFromEnterpriseConfig() local
947 userCredential.setEapType(EAPConstants.EAP_TTLS); in buildUserCredentialFromEnterpriseConfig()
953 userCredential.setUsername(config.getIdentity()); in buildUserCredentialFromEnterpriseConfig()
962 userCredential.setPassword(encodedPassword); in buildUserCredentialFromEnterpriseConfig()
966 userCredential.setNonEapInnerMethod(Credential.UserCredential.AUTH_METHOD_PAP); in buildUserCredentialFromEnterpriseConfig()
969 userCredential.setNonEapInnerMethod(Credential.UserCredential.AUTH_METHOD_MSCHAP); in buildUserCredentialFromEnterpriseConfig()
972 userCredential.setNonEapInnerMethod(Credential.UserCredential.AUTH_METHOD_MSCHAPV2); in buildUserCredentialFromEnterpriseConfig()
978 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionStoreDataTest.java507 Credential.UserCredential userCredential = new Credential.UserCredential(); in createTestConfigWithUserCredential() local
508 userCredential.setUsername("username"); in createTestConfigWithUserCredential()
509 userCredential.setPassword("password"); in createTestConfigWithUserCredential()
510 userCredential.setEapType(EAPConstants.EAP_TTLS); in createTestConfigWithUserCredential()
511 userCredential.setNonEapInnerMethod(Credential.UserCredential.AUTH_METHOD_MSCHAP); in createTestConfigWithUserCredential()
512 credential.setUserCredential(userCredential); in createTestConfigWithUserCredential()
DWifiNetworkSuggestionsManagerTest.java4106 Credential.UserCredential userCredential = new Credential.UserCredential(); in createTestConfigWithUserCredential() local
4107 userCredential.setUsername("username"); in createTestConfigWithUserCredential()
4108 userCredential.setPassword("password"); in createTestConfigWithUserCredential()
4109 userCredential.setEapType(EAPConstants.EAP_TTLS); in createTestConfigWithUserCredential()
4110 userCredential.setNonEapInnerMethod(Credential.UserCredential.AUTH_METHOD_MSCHAP); in createTestConfigWithUserCredential()
4111 credential.setUserCredential(userCredential); in createTestConfigWithUserCredential()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java796 LockscreenCredential userCredential, in verifyFrpCredential() argument
801 byte[] pwdToken = computePasswordToken(userCredential, pwd); in verifyFrpCredential()
818 byte[] pwdToken = computePasswordToken(userCredential, pwd); in verifyFrpCredential()
DLockSettingsService.java2684 private VerifyCredentialResponse spBasedDoVerifyCredential(LockscreenCredential userCredential, in spBasedDoVerifyCredential() argument
2714 userCredential, progressCallback); in spBasedDoVerifyCredential()
2719 getGateKeeperService(), handle, userCredential, userId, progressCallback); in spBasedDoVerifyCredential()
2746 PasswordMetrics.computeForCredential(userCredential), userId); in spBasedDoVerifyCredential()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...