Home
last modified time | relevance | path

Searched refs:certCredential (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/
DConfigParserTest.java102 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in generateConfigurationFromProfile() local
103 certCredential.setCertType("x509v3"); in generateConfigurationFromProfile()
106 certCredential.setCertSha256Fingerprint(certSha256Fingerprint); in generateConfigurationFromProfile()
107 credential.setCertCredential(certCredential); in generateConfigurationFromProfile()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointXmlUtilsTest.java128 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in createFullPasspointConfiguration() local
129 certCredential.setCertType("x509v3"); in createFullPasspointConfiguration()
130 certCredential.setCertSha256Fingerprint(certFingerprint); in createFullPasspointConfiguration()
131 credential.setCertCredential(certCredential); in createFullPasspointConfiguration()
DPasspointProviderTest.java262 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in installCertsAndKeysSuccess() local
263 certCredential.setCertSha256Fingerprint( in installCertsAndKeysSuccess()
265 credential.setCertCredential(certCredential); in installCertsAndKeysSuccess()
314 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in installCertsAndKeysFailure() local
315 certCredential.setCertSha256Fingerprint( in installCertsAndKeysFailure()
317 credential.setCertCredential(certCredential); in installCertsAndKeysFailure()
364 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in uninstallCertsAndKeys() local
365 certCredential.setCertSha256Fingerprint( in uninstallCertsAndKeys()
367 credential.setCertCredential(certCredential); in uninstallCertsAndKeys()
1052 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in getWifiConfigWithCertCredential() local
[all …]
DPasspointConfigUserStoreDataTest.java158 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in createFullPasspointConfiguration() local
159 certCredential.setCertType("x509v3"); in createFullPasspointConfiguration()
160 certCredential.setCertSha256Fingerprint(certFingerprint); in createFullPasspointConfiguration()
161 credential.setCertCredential(certCredential); in createFullPasspointConfiguration()
DPasspointManagerTest.java1484 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in addLegacyPasspointConfigWithCertCredential() local
1485 certCredential.setCertType(Credential.CertificateCredential.CERT_TYPE_X509V3); in addLegacyPasspointConfigWithCertCredential()
1486 credential.setCertCredential(certCredential); in addLegacyPasspointConfigWithCertCredential()
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/omadm/
DPpsMoParserTest.java153 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in generateConfigurationFromPPSMOTree() local
154 certCredential.setCertType("x509v3"); in generateConfigurationFromPPSMOTree()
155 certCredential.setCertSha256Fingerprint(certFingerprint); in generateConfigurationFromPPSMOTree()
156 credential.setCertCredential(certCredential); in generateConfigurationFromPPSMOTree()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointXmlUtils.java351 Credential.CertificateCredential certCredential) in serializeCertCredential() argument
353 if (certCredential == null) { in serializeCertCredential()
357 XmlUtil.writeNextValue(out, XML_TAG_CERT_TYPE, certCredential.getCertType()); in serializeCertCredential()
359 certCredential.getCertSha256Fingerprint()); in serializeCertCredential()
691 Credential.CertificateCredential certCredential = new Credential.CertificateCredential(); in deserializeCertCredential() local
700 certCredential.setCertType((String) value); in deserializeCertCredential()
703 certCredential.setCertSha256Fingerprint((byte[]) value); in deserializeCertCredential()
710 return certCredential; in deserializeCertCredential()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/
DCredential.java606 CertificateCredential certCredential = new CertificateCredential();
607 certCredential.setCertType(in.readString());
608 certCredential.setCertSha256Fingerprint(in.createByteArray());
609 return certCredential;
624 public void setCertCredential(CertificateCredential certCredential) { in setCertCredential() argument
625 mCertCredential = certCredential; in setCertCredential()