Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java132 if (mConfig.getCredential().getUserCredential() != null) { in PasspointProvider()
135 mConfig.getCredential().getUserCredential().getNonEapInnerMethod())); in PasspointProvider()
138 } else if (mConfig.getCredential().getCertCredential() != null) { in PasspointProvider()
144 mEAPMethodID = mConfig.getCredential().getSimCredential().getEapType(); in PasspointProvider()
147 mConfig.getCredential().getSimCredential().getImsi()); in PasspointProvider()
215 X509Certificate[] x509Certificates = mConfig.getCredential().getCaCertificates(); in installCertsAndKeys()
232 if (mConfig.getCredential().getClientPrivateKey() != null) { in installCertsAndKeys()
235 mConfig.getCredential().getClientPrivateKey())) { in installCertsAndKeys()
244 if (mConfig.getCredential().getClientCertificateChain() != null) { in installCertsAndKeys()
246 mConfig.getCredential().getClientCertificateChain(), in installCertsAndKeys()
[all …]
DPasspointManager.java413 X509Certificate[] x509Certificates = config.getCredential().getCaCertificates(); in addOrUpdateProvider()
588 if (installedConfig.getCredential().getSimCredential() == null) { in hasCarrierProvider()
627 Credential.SimCredential simCredential = config.getCredential().getSimCredential(); in installEphemeralPasspointConfigForCarrier()
1150 if (passpointConfig.getCredential().getUserCredential() != null in addWifiConfig()
1155 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.java619 config.getCredential().getUserCredential().setEapType(EAPConstants.EAP_TLS); in addProviderWithInvalidCredential()
1663 assertEquals(mccmnc + "*", result.getCredential().getSimCredential().getImsi()); in verifyCreateEphemeralPasspointConfigurationWithCarrierEapMethod()
DPasspointProvisionerTest.java273 when(mPasspointConfiguration.getCredential()).thenReturn(new Credential()); in setUp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java2085 if (passpointConfig.getCredential() == null) { in addOrUpdateNetwork()
2096 passpointConfig.getCredential().setCaCertificates(x509Certificates); in addOrUpdateNetwork()
2097 passpointConfig.getCredential().setClientCertificateChain( in addOrUpdateNetwork()
2099 passpointConfig.getCredential().setClientPrivateKey( in addOrUpdateNetwork()
DWifiMetrics.java3057 if (config.getCredential().getUserCredential() != null) { in updateSavedPasspointProfilesInfo()
3059 } else if (config.getCredential().getCertCredential() != null) { in updateSavedPasspointProfilesInfo()
3061 } else if (config.getCredential().getSimCredential() != null) { in updateSavedPasspointProfilesInfo()
3062 eapType = config.getCredential().getSimCredential().getEapType(); in updateSavedPasspointProfilesInfo()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java557 when(config.getCredential()).thenReturn(credential); in createMockProvider()
/frameworks/base/non-updatable-api/
Dcurrent.txt30408 method public android.net.wifi.hotspot2.pps.Credential getCredential();
/frameworks/base/api/
Dcurrent.txt30552 method public android.net.wifi.hotspot2.pps.Credential getCredential();