Searched refs:eapConfig (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | SupplicantStaNetworkHal.java | 525 private boolean loadWifiEnterpriseConfig(String ssid, WifiEnterpriseConfig eapConfig) { in loadWifiEnterpriseConfig() argument 527 if (eapConfig == null) return false; in loadWifiEnterpriseConfig() 530 eapConfig.setEapMethod(supplicantToWifiConfigurationEapMethod(mEapMethod)); in loadWifiEnterpriseConfig() 538 eapConfig.setPhase2Method( in loadWifiEnterpriseConfig() 547 eapConfig.setFieldValue( in loadWifiEnterpriseConfig() 553 eapConfig.setFieldValue( in loadWifiEnterpriseConfig() 559 eapConfig.setFieldValue( in loadWifiEnterpriseConfig() 565 eapConfig.setFieldValue(WifiEnterpriseConfig.CLIENT_CERT_KEY, mEapClientCert); in loadWifiEnterpriseConfig() 569 eapConfig.setFieldValue(WifiEnterpriseConfig.CA_CERT_KEY, mEapCACert); in loadWifiEnterpriseConfig() 573 eapConfig.setOcsp(mOcsp); in loadWifiEnterpriseConfig() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigurationUtilTest.java | 79 EnterpriseConfig eapConfig = new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS) in testEnterpriseConfigAdded() local 85 null, eapConfig.enterpriseConfig)); in testEnterpriseConfigAdded() 93 EnterpriseConfig eapConfig = new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS); in testEnterpriseConfigEapChangeDetected() local 96 assertTrue(WifiConfigurationUtil.hasEnterpriseConfigChanged(eapConfig.enterpriseConfig, in testEnterpriseConfigEapChangeDetected() 105 EnterpriseConfig eapConfig = in testEnterpriseConfigPhase2ChangeDetected() local 112 assertTrue(WifiConfigurationUtil.hasEnterpriseConfigChanged(eapConfig.enterpriseConfig, in testEnterpriseConfigPhase2ChangeDetected() 139 EnterpriseConfig eapConfig = new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS) in testDifferentCaCertificateDetected() local 149 assertTrue(WifiConfigurationUtil.hasEnterpriseConfigChanged(eapConfig.enterpriseConfig, in testDifferentCaCertificateDetected() 158 EnterpriseConfig eapConfig = new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS) in testCaCertificateChangesDetected() local 168 assertTrue(WifiConfigurationUtil.hasEnterpriseConfigChanged(eapConfig.enterpriseConfig, in testCaCertificateChangesDetected() [all …]
|
/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
D | IkeSessionParams.java | 1107 IkeAuthEapConfig(EapSessionConfig eapConfig) { in IkeAuthEapConfig() argument 1110 mEapConfig = eapConfig; in IkeAuthEapConfig() 1125 EapSessionConfig eapConfig = EapSessionConfig.fromPersistableBundle(eapBundle); in fromPersistableBundle() local 1126 Objects.requireNonNull(eapConfig, "EAP Config is null"); in fromPersistableBundle() 1128 return new IkeAuthEapConfig(eapConfig); in fromPersistableBundle() 1458 @Nullable X509Certificate serverCaCert, @NonNull EapSessionConfig eapConfig) { in setAuthEap() argument 1459 if (eapConfig == null) { in setAuthEap() 1464 new IkeAuthEapConfig(eapConfig), in setAuthEap()
|
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/ |
D | IkeSessionParamsTest.java | 468 EapSessionConfig eapConfig = mock(EapSessionConfig.class); in testBuildWithEap() local 476 .setAuthEap(mMockServerCaCert, eapConfig) in testBuildWithEap() 486 assertEquals(eapConfig, ((IkeAuthEapConfig) localConfig).mEapConfig); in testBuildWithEap()
|