/frameworks/base/packages/Osu/src/com/android/configparse/ |
D | ConfigBuilder.java | 66 WifiEnterpriseConfig enterpriseConfig = config.enterpriseConfig; in buildConfig() local 68 enterpriseConfig.setCaCertificate(caCert); in buildConfig() 69 enterpriseConfig.setAnonymousIdentity("anonymous@" + credential.getRealm()); in buildConfig() 116 WifiEnterpriseConfig enterpriseConfig = config.enterpriseConfig; in buildTTLSConfig() local 117 enterpriseConfig.setPhase2Method(remapInnerMethod(ttlsParam.getType())); in buildTTLSConfig() 118 enterpriseConfig.setIdentity(credential.getUserName()); in buildTTLSConfig() 119 enterpriseConfig.setPassword(credential.getPassword()); in buildTTLSConfig() 158 WifiEnterpriseConfig enterpriseConfig = config.enterpriseConfig; in buildTLSConfig() local 159 enterpriseConfig.setClientCertificateAlias(alias); in buildTLSConfig() 160 enterpriseConfig.setClientKeyEntry(clientKey, clientCertificate); in buildTLSConfig() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/android/net/wifi/ |
D | WifiEnterpriseConfigTest.java | 223 WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig(); in copyConstructor() local 224 enterpriseConfig.setEapMethod(Eap.TTLS); in copyConstructor() 225 enterpriseConfig.setPhase2Method(Phase2.GTC); in copyConstructor() 226 mEnterpriseConfig = new WifiEnterpriseConfig(enterpriseConfig); in copyConstructor() 234 WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig(); in parcelConstructor() local 235 enterpriseConfig.setEapMethod(Eap.TTLS); in parcelConstructor() 236 enterpriseConfig.setPhase2Method(Phase2.GTC); in parcelConstructor() 238 enterpriseConfig.writeToParcel(parcel, 0); in parcelConstructor() 249 WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig(); in getKeyId() local 250 enterpriseConfig.setEapMethod(Eap.TTLS); in getKeyId() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/ |
D | ConfigBuilder.java | 204 WifiEnterpriseConfig enterpriseConfig = config.enterpriseConfig; in buildConfig() local 206 enterpriseConfig.setCaCertificate(caCert); in buildConfig() 207 enterpriseConfig.setAnonymousIdentity("anonymous@" + credential.getRealm()); in buildConfig() 254 WifiEnterpriseConfig enterpriseConfig = config.enterpriseConfig; in buildTTLSConfig() local 255 enterpriseConfig.setPhase2Method(remapInnerMethod(ttlsParam.getType())); in buildTTLSConfig() 256 enterpriseConfig.setIdentity(credential.getUserName()); in buildTTLSConfig() 257 enterpriseConfig.setPassword(credential.getPassword()); in buildTTLSConfig() 296 WifiEnterpriseConfig enterpriseConfig = config.enterpriseConfig; in buildTLSConfig() local 297 enterpriseConfig.setClientCertificateAlias(alias); in buildTLSConfig() 298 enterpriseConfig.setClientKeyEntry(clientKey, clientCertificate); in buildTLSConfig() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/ |
D | Credential.java | 132 public Credential(WifiEnterpriseConfig enterpriseConfig, KeyStore keyStore, boolean update) in Credential() argument 136 mRealm = enterpriseConfig.getRealm(); in Credential() 138 mEAPMethod = mapEapMethod(enterpriseConfig.getEapMethod(), in Credential() 139 enterpriseConfig.getPhase2Method()); in Credential() 143 if (enterpriseConfig.getClientCertificate() != null) { in Credential() 147 fingerPrint = digester.digest(enterpriseConfig.getClientCertificate().getEncoded()); in Credential() 153 } else if (enterpriseConfig.getClientCertificateAlias() != null) { in Credential() 154 String alias = enterpriseConfig.getClientCertificateAlias(); in Credential() 167 fingerPrint = Base64.decode(enterpriseConfig.getClientCertificateAlias(), in Credential() 178 String imsi = enterpriseConfig.getPlmn(); in Credential() [all …]
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | WifiConfigurationHelper.java | 134 config.enterpriseConfig.setPassword(password); in createEapConfig() 135 config.enterpriseConfig.setEapMethod(eapMethod); in createEapConfig() 136 config.enterpriseConfig.setPhase2Method(phase2); in createEapConfig() 137 config.enterpriseConfig.setIdentity(identity); in createEapConfig() 138 config.enterpriseConfig.setAnonymousIdentity(anonymousIdentity); in createEapConfig() 139 config.enterpriseConfig.setCaCertificateAlias(caCert); in createEapConfig() 140 config.enterpriseConfig.setClientCertificateAlias(clientCert); in createEapConfig()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigManagerTest.java | 819 config.enterpriseConfig = eapConfig.enterpriseConfig; in testSaveLoadSingleEapNetwork() 853 assertEquals(eapConfig.enterpriseConfig.getEapMethod(), in testSaveLoadSingleEapNetwork() 854 loadedConfig.enterpriseConfig.getEapMethod()); in testSaveLoadSingleEapNetwork() 855 assertEquals(eapConfig.enterpriseConfig.getPhase2Method(), in testSaveLoadSingleEapNetwork() 856 loadedConfig.enterpriseConfig.getPhase2Method()); in testSaveLoadSingleEapNetwork() 857 assertEquals(eapConfig.enterpriseConfig.getIdentity(), in testSaveLoadSingleEapNetwork() 858 loadedConfig.enterpriseConfig.getIdentity()); in testSaveLoadSingleEapNetwork() 859 assertEquals(eapConfig.enterpriseConfig.getPassword(), in testSaveLoadSingleEapNetwork() 860 loadedConfig.enterpriseConfig.getPassword()); in testSaveLoadSingleEapNetwork() 862 loadedConfig.enterpriseConfig.getCaCertificateAliases()); in testSaveLoadSingleEapNetwork() [all …]
|
D | PasspointManagementObjectManagerTest.java | 94 WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig(); in addMoFromWifiConfig() local 95 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TTLS); in addMoFromWifiConfig() 96 enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.PAP); in addMoFromWifiConfig() 97 enterpriseConfig.setIdentity("testIdentity1"); in addMoFromWifiConfig() 98 enterpriseConfig.setPassword("AnDrO1D"); in addMoFromWifiConfig() 101 Credential credential = new Credential(enterpriseConfig, keyStore, false); in addMoFromWifiConfig()
|
D | WifiConfigurationTestUtil.java | 58 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.SIM); in generateWifiConfig()
|
D | WifiQualifiedNetworkSelectorTest.java | 214 WifiEnterpriseConfig enterpriseConfig = mock(WifiEnterpriseConfig.class); in setConfigPasspoint() local 215 when(enterpriseConfig.getEapMethod()).thenReturn(WifiEnterpriseConfig.Eap.PEAP); in setConfigPasspoint()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigStore.java | 350 if (config.enterpriseConfig == null) { in readNetworkVariables() 351 config.enterpriseConfig = new WifiEnterpriseConfig(); in readNetworkVariables() 353 config.enterpriseConfig.loadFromSupplicant(new SupplicantLoader(netId)); in readNetworkVariables() 757 WifiEnterpriseConfig enterpriseConfig = config.enterpriseConfig; in updateNetworkKeys() local 758 if (needsKeyStore(enterpriseConfig)) { in updateNetworkKeys() 767 ? existingConfig.enterpriseConfig : null, enterpriseConfig, keyId)) { in updateNetworkKeys() 776 if (!enterpriseConfig.saveToSupplicant( in updateNetworkKeys() 778 removeKeys(enterpriseConfig); in updateNetworkKeys() 822 if (config.enterpriseConfig != null in addOrUpdateNetwork() 823 && config.enterpriseConfig.getEapMethod() != WifiEnterpriseConfig.Eap.NONE) { in addOrUpdateNetwork() [all …]
|
D | WifiServiceImpl.java | 838 WifiEnterpriseConfig enterpriseConfig = config.enterpriseConfig; in addOrUpdateNetwork() local 841 (enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TLS || in addOrUpdateNetwork() 842 enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TTLS)) { in addOrUpdateNetwork() 848 verifyCert(enterpriseConfig.getCaCertificate()); in addOrUpdateNetwork() 851 enterpriseConfig.getCaCertificate().getSubjectX500Principal() + in addOrUpdateNetwork() 856 enterpriseConfig.getCaCertificate().getSubjectX500Principal() + in addOrUpdateNetwork() 2023 WifiEnterpriseConfig enterpriseConfig = config.enterpriseConfig; in checkPasspointValidity() local 2025 if (enterpriseConfig == null in checkPasspointValidity() 2026 || enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.NONE ) { in checkPasspointValidity() 2029 if ((enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TLS || in checkPasspointValidity() [all …]
|
D | WifiConfigManager.java | 924 config.enterpriseConfig.setDomainSuffixMatch(config.FQDN); in addOrUpdateNetwork() 1752 if (needsSoftwareBackedKeyStore(config.enterpriseConfig)) { in needsUnlockedKeyStore() 1778 if (config.enterpriseConfig == null) { in readPasspointConfig() 1797 config.enterpriseConfig.setPlmn( in readPasspointConfig() 1799 config.enterpriseConfig.setRealm(homeSp.getCredential().getRealm()); in readPasspointConfig() 2018 new Credential(config.enterpriseConfig, mKeyStore, !newNetwork); in addOrUpdateNetworkNative() 2033 currentConfig.enterpriseConfig.setRealm(config.enterpriseConfig.getRealm()); in addOrUpdateNetworkNative() 2034 currentConfig.enterpriseConfig.setPlmn(config.enterpriseConfig.getPlmn()); in addOrUpdateNetworkNative() 2190 if (wasEnterpriseConfigChange(originalConfig.enterpriseConfig, in wasCredentialChange() 2191 currentConfig.enterpriseConfig)) { in wasCredentialChange()
|
D | WifiStateMachine.java | 5592 && targetWificonfiguration.enterpriseConfig != null) { in processMessage() 5593 eapMethod = targetWificonfiguration.enterpriseConfig.getEapMethod(); in processMessage()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/ |
D | WifiNetworkAdapter.java | 257 WifiEnterpriseConfig enterpriseConfig = config.enterpriseConfig; in updateNetwork() local 259 caCert != null ? caCert : enterpriseConfig.getCaCertificate(), in updateNetwork() 306 config.enterpriseConfig = new WifiEnterpriseConfig(); in connect() 307 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.UNAUTH_TLS); in connect() 308 config.enterpriseConfig.setIdentity(osuInfo.getOSUProvider().getOsuNai()); in connect()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiEnterpriseConfig.java | 220 WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig(); 225 enterpriseConfig.mFields.put(key, value); 228 enterpriseConfig.mEapMethod = in.readInt(); 229 enterpriseConfig.mPhase2Method = in.readInt(); 230 enterpriseConfig.mCaCerts = readCertificates(in); 248 enterpriseConfig.mClientPrivateKey = userKey; 249 enterpriseConfig.mClientCertificate = readCertificate(in); 250 return enterpriseConfig;
|
D | WifiConfiguration.java | 350 public WifiEnterpriseConfig enterpriseConfig; field in WifiConfiguration 1341 enterpriseConfig = new WifiEnterpriseConfig(); in WifiConfiguration() 1361 && enterpriseConfig != null in isPasspoint() 1362 && enterpriseConfig.getEapMethod() != WifiEnterpriseConfig.Eap.NONE; in isPasspoint() 1515 sbuf.append(enterpriseConfig); in toString() 1663 trimStringForKeyId(enterpriseConfig.getKeyId(current != null ? in getKeyIdForCredentials() 1664 current.enterpriseConfig : null)); in getKeyIdForCredentials() 1858 enterpriseConfig = new WifiEnterpriseConfig(source.enterpriseConfig); in WifiConfiguration() 1945 dest.writeParcelable(enterpriseConfig, flags); in writeToParcel() 2017 config.enterpriseConfig = in.readParcelable(null);
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 17910 field public android.net.wifi.WifiEnterpriseConfig enterpriseConfig;
|
/frameworks/base/api/ |
D | current.txt | 24376 field public android.net.wifi.WifiEnterpriseConfig enterpriseConfig;
|
D | system-current.txt | 26607 field public android.net.wifi.WifiEnterpriseConfig enterpriseConfig;
|
D | test-current.txt | 24445 field public android.net.wifi.WifiEnterpriseConfig enterpriseConfig;
|