Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java153 if (mConfig.getCredential().getUserCredential() != null) { in PasspointProvider()
156 mConfig.getCredential().getUserCredential().getNonEapInnerMethod())); in PasspointProvider()
158 } else if (mConfig.getCredential().getCertCredential() != null) { in PasspointProvider()
163 mEAPMethodID = mConfig.getCredential().getSimCredential().getEapType(); in PasspointProvider()
166 mConfig.getCredential().getSimCredential().getImsi()); in PasspointProvider()
292 X509Certificate[] x509Certificates = mConfig.getCredential().getCaCertificates(); in installCertsAndKeys()
308 if (mConfig.getCredential().getClientPrivateKey() != null in installCertsAndKeys()
309 && mConfig.getCredential().getClientCertificateChain() != null) { in installCertsAndKeys()
311 PrivateKey clientKey = mConfig.getCredential().getClientPrivateKey(); in installCertsAndKeys()
313 mConfig.getCredential().getClientCertificateChain(), in installCertsAndKeys()
[all …]
DPasspointManager.java480 if (config.getCredential().getUserCredential() != null in addOrUpdateProvider()
481 || config.getCredential().getCertCredential() != null) { in addOrUpdateProvider()
482 X509Certificate[] x509Certificates = config.getCredential().getCaCertificates(); in addOrUpdateProvider()
1275 if (passpointConfig.getCredential().getUserCredential() != null in addWifiConfig()
1280 if (passpointConfig.getCredential().getCertCredential() != null) { in addWifiConfig()
DPasspointXmlUtils.java150 serializeCredential(out, config.getCredential()); in serializePasspointConfiguration()
DPasspointProvisioner.java609 mPasspointConfiguration.getCredential().setCaCertificates( in installTrustRootCertificates()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java328 Credential credential = passpointConfig.getCredential(); in verifyWifiConfigWithTestData()
406 if (passpointConfig.getCredential().getCheckAaaServerCertStatus()) { in verifyWifiConfigWithTestData()
435 if (passpointConfig.getCredential().getCheckAaaServerCertStatus()) { in verifyWifiConfigWithTestData()
513 Credential credential = config.getCredential(); in installCertsAndKeysSuccess()
539 assertTrue(curConfig.getCredential().getCaCertificates() == null); in installCertsAndKeysSuccess()
540 assertTrue(curConfig.getCredential().getClientPrivateKey() == null); in installCertsAndKeysSuccess()
541 assertTrue(curConfig.getCredential().getClientCertificateChain() == null); in installCertsAndKeysSuccess()
562 Credential credential = config.getCredential(); in installCertsAndKeysFailure()
588 assertTrue(curConfig.getCredential().getCaCertificates() != null); in installCertsAndKeysFailure()
589 assertTrue(curConfig.getCredential().getClientCertificateChain() != null); in installCertsAndKeysFailure()
[all …]
DPasspointManagerTest.java560 config.getCredential().getUserCredential().setEapType(EAPConstants.EAP_TLS); in addProviderWithInvalidCredential()
804 config.getCredential().setCaCertificates(certArr); in addProviderWithValidFullImsiOfSimCredential()
2656 config.getCredential().setCaCertificate(null); in verifyNoRootCaMetrics()
DPasspointProvisionerTest.java270 when(mPasspointConfiguration.getCredential()).thenReturn(new Credential()); in setUp()
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/
DConfigParser.java181 if (config.getCredential() == null) { in createPasspointConfig()
195 config.getCredential().setCaCertificate(parseCACert(caCertData)); in createPasspointConfig()
206 config.getCredential().setClientPrivateKey(clientKey.first); in createPasspointConfig()
207 config.getCredential().setClientCertificateChain( in createPasspointConfig()
DPasspointConfiguration.java137 public Credential getCredential() { in getCredential() method in PasspointConfiguration
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowLockPatternUtils.java98 sSavedPassword = newCredential.duplicate().getCredential(); in setLockCredential()
100 sSavedPattern = newCredential.duplicate().getCredential(); in setLockCredential()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DPasswordHelper.java71 return mIsPin ? validatePin(password.getCredential()) in validate()
72 : validatePassword(password.getCredential()); in validate()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/
DPasspointConfigurationTest.java450 Credential credential = config2.getCredential(); in validateUniqueIdDifferentSimCredential()
470 Credential credential = config2.getCredential(); in validateUniqueIdDifferentRealm()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DRestrictedProfilePinStorage.java186 Log.i(TAG, "checkPasswordLegacy " + credential.getCredential()); in checkPasswordLegacy()
/packages/apps/Settings/src/com/android/settings/security/
DCryptKeeperSettings.java204 showFinalConfirmation(type, password.getCredential()); in onActivityResult()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiCarrierInfoManagerTest.java1428 doReturn(credential).when(spyConfig).getCredential(); in tryUpdateCarrierIdForPasspointWithNonSimCredential()
1442 doReturn(credential).when(spyConfig).getCredential(); in tryUpdateCarrierIdForPasspointWithPrefixImsi()
1458 doReturn(credential).when(spyConfig).getCredential(); in tryUpdateCarrierIdForPasspointWithFullImsiAndActiveSim()
1474 doReturn(credential).when(spyConfig).getCredential(); in tryUpdateCarrierIdForPasspointWithFullImsiAndInactiveSim()
DWifiMetricsTest.java738 when(config.getCredential()).thenReturn(credential); in createMockProvider()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNetworkSuggestionsManager.java1062 return ewns.wns.passpointConfiguration.getCredential().getSimCredential() != null; in isSimBasedSuggestion()
1201 if (passpointConfiguration.getCredential() != null in validateCarrierNetworkSuggestions()
1202 && passpointConfiguration.getCredential().getSimCredential() != null) { in validateCarrierNetworkSuggestions()
DWifiServiceImpl.java2742 if (passpointConfig == null || passpointConfig.getCredential() == null) { in addOrUpdateNetworkInternal()
2754 passpointConfig.getCredential().setCaCertificates(x509Certificates); in addOrUpdateNetworkInternal()
2755 passpointConfig.getCredential().setClientCertificateChain( in addOrUpdateNetworkInternal()
2757 passpointConfig.getCredential().setClientPrivateKey( in addOrUpdateNetworkInternal()
DWifiCarrierInfoManager.java1425 Credential.SimCredential simCredential = config.getCredential().getSimCredential(); in tryUpdateCarrierIdForPasspoint()
DWifiMetrics.java4517 if (config.getCredential().getUserCredential() != null) { in updateSavedPasspointProfilesInfo()
4519 } else if (config.getCredential().getCertCredential() != null) { in updateSavedPasspointProfilesInfo()
4521 } else if (config.getCredential().getSimCredential() != null) { in updateSavedPasspointProfilesInfo()
4522 eapType = config.getCredential().getSimCredential().getEapType(); in updateSavedPasspointProfilesInfo()
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockPassword.java694 final byte[] password = credential.getCredential(); in validatePassword()
/packages/modules/Wifi/framework/api/
Dcurrent.txt835 method public android.net.wifi.hotspot2.pps.Credential getCredential();