Home
last modified time | relevance | path

Searched refs:passpointConfig (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvisioner.java888 private void retrieveTrustRootCerts(@NonNull PasspointConfiguration passpointConfig) { in retrieveTrustRootCerts() argument
893 Map<String, byte[]> trustCertInfo = passpointConfig.getTrustRootCertList(); in retrieveTrustRootCerts()
904 if (passpointConfig.getSubscriptionUpdate() != null in retrieveTrustRootCerts()
905 && passpointConfig.getSubscriptionUpdate().getTrustRootCertUrl() != null) { in retrieveTrustRootCerts()
908 passpointConfig.getSubscriptionUpdate().getTrustRootCertUrl(), in retrieveTrustRootCerts()
909 passpointConfig.getSubscriptionUpdate() in retrieveTrustRootCerts()
920 if (passpointConfig.getPolicy() != null) { in retrieveTrustRootCerts()
921 if (passpointConfig.getPolicy().getPolicyUpdate() != null in retrieveTrustRootCerts()
922 && passpointConfig.getPolicy().getPolicyUpdate().getTrustRootCertUrl() in retrieveTrustRootCerts()
926 passpointConfig.getPolicy().getPolicyUpdate() in retrieveTrustRootCerts()
[all …]
DPasspointProvider.java431 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in convertFromWifiConfig() local
445 passpointConfig.setHomeSp(homeSp); in convertFromWifiConfig()
481 passpointConfig.setCredential(credential); in convertFromWifiConfig()
483 return passpointConfig; in convertFromWifiConfig()
563 private boolean isMeteredNetwork(PasspointConfiguration passpointConfig) { in isMeteredNetwork() argument
564 if (passpointConfig == null) return false; in isMeteredNetwork()
568 return passpointConfig.getUsageLimitDataLimit() > 0 in isMeteredNetwork()
569 || passpointConfig.getUsageLimitTimeLimitInMinutes() > 0; in isMeteredNetwork()
DPasspointManager.java1082 PasspointConfiguration passpointConfig = in addWifiConfig() local
1084 if (passpointConfig == null) { in addWifiConfig()
1092 if (passpointConfig.getCredential().getUserCredential() != null in addWifiConfig()
1097 if (passpointConfig.getCredential().getCertCredential() != null) { in addWifiConfig()
1110 PasspointProvider provider = new PasspointProvider(passpointConfig, mKeyStore, in addWifiConfig()
1115 mProviders.put(passpointConfig.getHomeSp().getFqdn(), provider); in addWifiConfig()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java1169 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in convertFromWifiConfigWithUserCredential() local
1174 passpointConfig.setHomeSp(homeSp); in convertFromWifiConfigWithUserCredential()
1183 passpointConfig.setCredential(credential); in convertFromWifiConfigWithUserCredential()
1185 assertEquals(passpointConfig, PasspointProvider.convertFromWifiConfig(wifiConfig)); in convertFromWifiConfigWithUserCredential()
1213 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in convertFromWifiConfigWithSimCredential() local
1218 passpointConfig.setHomeSp(homeSp); in convertFromWifiConfigWithSimCredential()
1225 passpointConfig.setCredential(credential); in convertFromWifiConfigWithSimCredential()
1227 assertEquals(passpointConfig, PasspointProvider.convertFromWifiConfig(wifiConfig)); in convertFromWifiConfigWithSimCredential()
1253 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in convertFromWifiConfigWithCertCredential() local
1258 passpointConfig.setHomeSp(homeSp); in convertFromWifiConfigWithCertCredential()
[all …]
DPasspointManagerTest.java1238 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in addLegacyPasspointConfigWithUserCredential() local
1243 passpointConfig.setHomeSp(homeSp); in addLegacyPasspointConfigWithUserCredential()
1252 passpointConfig.setCredential(credential); in addLegacyPasspointConfigWithUserCredential()
1255 verifyInstalledConfig(passpointConfig); in addLegacyPasspointConfigWithUserCredential()
1316 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in addLegacyPasspointConfigWithSimCredential() local
1321 passpointConfig.setHomeSp(homeSp); in addLegacyPasspointConfigWithSimCredential()
1328 passpointConfig.setCredential(credential); in addLegacyPasspointConfigWithSimCredential()
1331 verifyInstalledConfig(passpointConfig); in addLegacyPasspointConfigWithSimCredential()
1361 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in addLegacyPasspointConfigWithCertCredential() local
1366 passpointConfig.setHomeSp(homeSp); in addLegacyPasspointConfigWithCertCredential()
[all …]
DPasspointNetworkEvaluatorTest.java115 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in generateProvider() local
118 passpointConfig.setHomeSp(homeSp); in generateProvider()
119 when(provider.getConfig()).thenReturn(passpointConfig); in generateProvider()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java1283 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in testGetKey_matchesKeysCorrectly() local
1287 passpointConfig.setHomeSp(homeSp); in testGetKey_matchesKeysCorrectly()
1288 AccessPoint passpointConfigAp = new AccessPoint(mContext, passpointConfig); in testGetKey_matchesKeysCorrectly()
1468 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in testOsuAccessPoint_connectsAfterProvisioning() local
1472 passpointConfig.setHomeSp(homeSp); in testOsuAccessPoint_connectsAfterProvisioning()
1474 osuProviderConfigMap.put(provider, passpointConfig); in testOsuAccessPoint_connectsAfterProvisioning()
1502 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in testOsuAccessPoint_noMatchingConfigsAfterProvisioning_callsOnFailure() local
1506 passpointConfig.setHomeSp(homeSp); in testOsuAccessPoint_noMatchingConfigsAfterProvisioning_callsOnFailure()
1508 osuProviderConfigMap.put(provider, passpointConfig); in testOsuAccessPoint_noMatchingConfigsAfterProvisioning_callsOnFailure()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java2036 PasspointConfiguration passpointConfig = in addOrUpdateNetwork() local
2038 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()
2054 if (!addOrUpdatePasspointConfiguration(passpointConfig, packageName)) { in addOrUpdateNetwork()
DClientModeImpl.java4502 PasspointConfiguration passpointConfig = bundle.getParcelable( in processMessage() local
4504 if (mPasspointManager.addOrUpdateProvider(passpointConfig, in processMessage()
4507 String fqdn = passpointConfig.getHomeSp().getFqdn(); in processMessage()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java1830 PasspointConfiguration passpointConfig = wifiManager in onProvisioningComplete() local
1833 if (passpointConfig == null) { in onProvisioningComplete()
1841 String fqdn = passpointConfig.getHomeSp().getFqdn(); in onProvisioningComplete()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java3141 final WifiConfiguration passpointConfig = in testHandleUserUnlockRemovePasspointConfigFromSharedConfig() local
3143 passpointConfig.creatorUid = UserHandle.getUid(user1, appId); in testHandleUserUnlockRemovePasspointConfigFromSharedConfig()
3144 passpointConfig.isLegacyPasspointConfig = true; in testHandleUserUnlockRemovePasspointConfigFromSharedConfig()
3149 add(passpointConfig); in testHandleUserUnlockRemovePasspointConfigFromSharedConfig()