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.java446 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in convertFromWifiConfig() local
460 passpointConfig.setHomeSp(homeSp); in convertFromWifiConfig()
496 passpointConfig.setCredential(credential); in convertFromWifiConfig()
498 return passpointConfig; in convertFromWifiConfig()
578 private boolean isMeteredNetwork(PasspointConfiguration passpointConfig) { in isMeteredNetwork() argument
579 if (passpointConfig == null) return false; in isMeteredNetwork()
583 return passpointConfig.getUsageLimitDataLimit() > 0 in isMeteredNetwork()
584 || passpointConfig.getUsageLimitTimeLimitInMinutes() > 0; in isMeteredNetwork()
DPasspointManager.java1140 PasspointConfiguration passpointConfig = in addWifiConfig() local
1142 if (passpointConfig == null) { in addWifiConfig()
1150 if (passpointConfig.getCredential().getUserCredential() != null in addWifiConfig()
1155 if (passpointConfig.getCredential().getCertCredential() != null) { in addWifiConfig()
1168 PasspointProvider provider = new PasspointProvider(passpointConfig, mKeyStore, in addWifiConfig()
1174 mProviders.put(passpointConfig.getHomeSp().getFqdn(), provider); in addWifiConfig()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java1177 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in convertFromWifiConfigWithUserCredential() local
1182 passpointConfig.setHomeSp(homeSp); in convertFromWifiConfigWithUserCredential()
1191 passpointConfig.setCredential(credential); in convertFromWifiConfigWithUserCredential()
1193 assertEquals(passpointConfig, PasspointProvider.convertFromWifiConfig(wifiConfig)); in convertFromWifiConfigWithUserCredential()
1221 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in convertFromWifiConfigWithSimCredential() local
1226 passpointConfig.setHomeSp(homeSp); in convertFromWifiConfigWithSimCredential()
1233 passpointConfig.setCredential(credential); in convertFromWifiConfigWithSimCredential()
1235 assertEquals(passpointConfig, PasspointProvider.convertFromWifiConfig(wifiConfig)); in convertFromWifiConfigWithSimCredential()
1261 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in convertFromWifiConfigWithCertCredential() local
1266 passpointConfig.setHomeSp(homeSp); in convertFromWifiConfigWithCertCredential()
[all …]
DPasspointManagerTest.java1354 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in addLegacyPasspointConfigWithUserCredential() local
1359 passpointConfig.setHomeSp(homeSp); in addLegacyPasspointConfigWithUserCredential()
1368 passpointConfig.setCredential(credential); in addLegacyPasspointConfigWithUserCredential()
1371 verifyInstalledConfig(passpointConfig); in addLegacyPasspointConfigWithUserCredential()
1432 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in addLegacyPasspointConfigWithSimCredential() local
1437 passpointConfig.setHomeSp(homeSp); in addLegacyPasspointConfigWithSimCredential()
1444 passpointConfig.setCredential(credential); in addLegacyPasspointConfigWithSimCredential()
1447 verifyInstalledConfig(passpointConfig); in addLegacyPasspointConfigWithSimCredential()
1477 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in addLegacyPasspointConfigWithCertCredential() local
1482 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.java1284 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in testGetKey_matchesKeysCorrectly() local
1288 passpointConfig.setHomeSp(homeSp); in testGetKey_matchesKeysCorrectly()
1289 AccessPoint passpointConfigAp = new AccessPoint(mContext, passpointConfig); in testGetKey_matchesKeysCorrectly()
1507 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in testOsuAccessPoint_connectsAfterProvisioning() local
1511 passpointConfig.setHomeSp(homeSp); in testOsuAccessPoint_connectsAfterProvisioning()
1513 osuProviderConfigMap.put(provider, passpointConfig); in testOsuAccessPoint_connectsAfterProvisioning()
1541 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in testOsuAccessPoint_noMatchingConfigsAfterProvisioning_callsOnFailure() local
1545 passpointConfig.setHomeSp(homeSp); in testOsuAccessPoint_noMatchingConfigsAfterProvisioning_callsOnFailure()
1547 osuProviderConfigMap.put(provider, passpointConfig); in testOsuAccessPoint_noMatchingConfigsAfterProvisioning_callsOnFailure()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java2083 PasspointConfiguration passpointConfig = in addOrUpdateNetwork() local
2085 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()
2101 if (!addOrUpdatePasspointConfiguration(passpointConfig, packageName)) { in addOrUpdateNetwork()
DClientModeImpl.java4531 PasspointConfiguration passpointConfig = bundle.getParcelable( in processMessage() local
4533 if (mPasspointManager.addOrUpdateProvider(passpointConfig, in processMessage()
4536 String fqdn = passpointConfig.getHomeSp().getFqdn(); in processMessage()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java1921 PasspointConfiguration passpointConfig = wifiManager in onProvisioningComplete() local
1924 if (passpointConfig == null) { in onProvisioningComplete()
1932 String fqdn = passpointConfig.getHomeSp().getFqdn(); in onProvisioningComplete()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java3194 final WifiConfiguration passpointConfig = in testHandleUserUnlockRemovePasspointConfigFromSharedConfig() local
3196 passpointConfig.creatorUid = UserHandle.getUid(user1, appId); in testHandleUserUnlockRemovePasspointConfigFromSharedConfig()
3197 passpointConfig.isLegacyPasspointConfig = true; in testHandleUserUnlockRemovePasspointConfigFromSharedConfig()
3202 add(passpointConfig); in testHandleUserUnlockRemovePasspointConfigFromSharedConfig()