Home
last modified time | relevance | path

Searched refs:getCredential (Results 1 – 13 of 13) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java131 if (mConfig.getCredential().getUserCredential() != null) { in PasspointProvider()
134 mConfig.getCredential().getUserCredential().getNonEapInnerMethod())); in PasspointProvider()
137 } else if (mConfig.getCredential().getCertCredential() != null) { in PasspointProvider()
143 mEAPMethodID = mConfig.getCredential().getSimCredential().getEapType(); in PasspointProvider()
146 mConfig.getCredential().getSimCredential().getImsi()); in PasspointProvider()
214 X509Certificate[] x509Certificates = mConfig.getCredential().getCaCertificates(); in installCertsAndKeys()
231 if (mConfig.getCredential().getClientPrivateKey() != null) { in installCertsAndKeys()
234 mConfig.getCredential().getClientPrivateKey())) { in installCertsAndKeys()
243 if (mConfig.getCredential().getClientCertificateChain() != null) { in installCertsAndKeys()
245 mConfig.getCredential().getClientCertificateChain(), in installCertsAndKeys()
[all …]
DPasspointManager.java370 X509Certificate[] x509Certificates = config.getCredential().getCaCertificates(); in addOrUpdateProvider()
544 if (installedConfig.getCredential().getSimCredential() == null) { in hasCarrierProvider()
583 Credential.SimCredential simCredential = config.getCredential().getSimCredential(); in installEphemeralPasspointConfigForCarrier()
1092 if (passpointConfig.getCredential().getUserCredential() != null in addWifiConfig()
1097 if (passpointConfig.getCredential().getCertCredential() != null) { in addWifiConfig()
DPasspointXmlUtils.java141 serializeCredential(out, config.getCredential()); in serializePasspointConfiguration()
DPasspointProvisioner.java606 mPasspointConfiguration.getCredential().setCaCertificates( in installTrustRootCertificates()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/
DConfigParser.java181 if (config.getCredential() == null) { in createPasspointConfig()
189 config.getCredential().setCaCertificate(parseCACert(caCertData)); in createPasspointConfig()
200 config.getCredential().setClientPrivateKey(clientKey.first); in createPasspointConfig()
201 config.getCredential().setClientCertificateChain( in createPasspointConfig()
DPasspointConfiguration.java97 public Credential getCredential() { in getCredential() method in PasspointConfiguration
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java293 assertTrue(curConfig.getCredential().getCaCertificates() == null); in installCertsAndKeysSuccess()
294 assertTrue(curConfig.getCredential().getClientPrivateKey() == null); in installCertsAndKeysSuccess()
295 assertTrue(curConfig.getCredential().getClientCertificateChain() == null); in installCertsAndKeysSuccess()
344 assertTrue(curConfig.getCredential().getCaCertificates() != null); in installCertsAndKeysFailure()
345 assertTrue(curConfig.getCredential().getClientCertificateChain() != null); in installCertsAndKeysFailure()
346 assertTrue(curConfig.getCredential().getClientPrivateKey() != null); in installCertsAndKeysFailure()
DPasspointManagerTest.java503 config.getCredential().getUserCredential().setEapType(EAPConstants.EAP_TLS); in addProviderWithInvalidCredential()
1547 assertEquals(mccmnc + "*", result.getCredential().getSimCredential().getImsi()); in verifyCreateEphemeralPasspointConfigurationWithCarrierEapMethod()
DPasspointProvisionerTest.java274 when(mPasspointConfiguration.getCredential()).thenReturn(new Credential()); in setUp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java2038 if (passpointConfig.getCredential() == null) { in addOrUpdateNetwork()
2049 passpointConfig.getCredential().setCaCertificates(x509Certificates); in addOrUpdateNetwork()
2050 passpointConfig.getCredential().setClientCertificateChain( in addOrUpdateNetwork()
2052 passpointConfig.getCredential().setClientPrivateKey( in addOrUpdateNetwork()
DWifiMetrics.java2932 if (config.getCredential().getUserCredential() != null) { in updateSavedPasspointProfilesInfo()
2934 } else if (config.getCredential().getCertCredential() != null) { in updateSavedPasspointProfilesInfo()
2936 } else if (config.getCredential().getSimCredential() != null) { in updateSavedPasspointProfilesInfo()
2937 eapType = config.getCredential().getSimCredential().getEapType(); in updateSavedPasspointProfilesInfo()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java559 when(config.getCredential()).thenReturn(credential); in createMockProvider()
/frameworks/base/api/
Dcurrent.txt30122 method public android.net.wifi.hotspot2.pps.Credential getCredential();