Home
last modified time | relevance | path

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

/cts/tests/tests/net/src/android/net/wifi/cts/
DPpsMoParserTest.java87 Credential credential = new Credential(); in generateConfigurationFromPPSMOTree() local
88 credential.setRealm("shaken.stirred.com"); in generateConfigurationFromPPSMOTree()
89 assertEquals("shaken.stirred.com", credential.getRealm()); in generateConfigurationFromPPSMOTree()
99 credential.setUserCredential(userCredential); in generateConfigurationFromPPSMOTree()
100 assertEquals(userCredential, credential.getUserCredential()); in generateConfigurationFromPPSMOTree()
106 credential.setCertCredential(certCredential); in generateConfigurationFromPPSMOTree()
107 assertEquals(certCredential, credential.getCertCredential()); in generateConfigurationFromPPSMOTree()
113 credential.setSimCredential(simCredential); in generateConfigurationFromPPSMOTree()
114 assertEquals(simCredential, credential.getSimCredential()); in generateConfigurationFromPPSMOTree()
115 config.setCredential(credential); in generateConfigurationFromPPSMOTree()
[all …]
DConfigParserTest.java78 Credential credential = new Credential(); in generateConfigurationFromProfile() local
79 credential.setRealm("shaken.stirred.com"); in generateConfigurationFromProfile()
85 credential.setUserCredential(userCredential); in generateConfigurationFromProfile()
91 credential.setCertCredential(certCredential); in generateConfigurationFromProfile()
95 credential.setSimCredential(simCredential); in generateConfigurationFromProfile()
96 credential.setCaCertificate(FakeKeys.CA_CERT0); in generateConfigurationFromProfile()
97 config.setCredential(credential); in generateConfigurationFromProfile()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java911 protected void verifyUserCredential(String credential, int userId) in verifyUserCredential() argument
913 String commandOutput = verifyUserCredentialCommandOutput(credential, userId); in verifyUserCredential()
926 protected boolean verifyUserCredentialIsCorrect(String credential, int userId) in verifyUserCredentialIsCorrect() argument
928 String commandOutput = verifyUserCredentialCommandOutput(credential, userId); in verifyUserCredentialIsCorrect()
940 protected String verifyUserCredentialCommandOutput(String credential, int userId) in verifyUserCredentialCommandOutput() argument
942 final String credentialArgument = (credential == null || credential.isEmpty()) in verifyUserCredentialCommandOutput()
943 ? "" : ("--old " + credential); in verifyUserCredentialCommandOutput()