Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java332 PasspointConfiguration passpointConfig, WifiConfiguration wifiConfig) { in verifyWifiConfigWithTestData() argument
336 HomeSp homeSp = passpointConfig.getHomeSp(); in verifyWifiConfigWithTestData()
337 Credential credential = passpointConfig.getCredential(); in verifyWifiConfigWithTestData()
350 Integer.toString(passpointConfig.getUpdateIdentifier())); in verifyWifiConfigWithTestData()
352 assertEquals(Integer.toString(passpointConfig.getUpdateIdentifier()), in verifyWifiConfigWithTestData()
356 if (passpointConfig.isMacRandomizationEnabled()) { in verifyWifiConfigWithTestData()
357 if (passpointConfig.isNonPersistentMacRandomizationEnabled()) { in verifyWifiConfigWithTestData()
401 if (!ArrayUtils.isEmpty(passpointConfig.getAaaServerTrustedNames())) { in verifyWifiConfigWithTestData()
402 assertEquals(String.join(";", passpointConfig.getAaaServerTrustedNames()), in verifyWifiConfigWithTestData()
408 if (!ArrayUtils.isEmpty(passpointConfig.getAaaServerTrustedNames())) { in verifyWifiConfigWithTestData()
[all …]
DPasspointManagerTest.java1713 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in addLegacyPasspointConfigWithUserCredential() local
1718 passpointConfig.setHomeSp(homeSp); in addLegacyPasspointConfigWithUserCredential()
1727 passpointConfig.setCredential(credential); in addLegacyPasspointConfigWithUserCredential()
1730 verifyInstalledConfig(passpointConfig); in addLegacyPasspointConfigWithUserCredential()
1791 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in addLegacyPasspointConfigWithSimCredential() local
1796 passpointConfig.setHomeSp(homeSp); in addLegacyPasspointConfigWithSimCredential()
1803 passpointConfig.setCredential(credential); in addLegacyPasspointConfigWithSimCredential()
1806 verifyInstalledConfig(passpointConfig); in addLegacyPasspointConfigWithSimCredential()
1836 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in addLegacyPasspointConfigWithCertCredential() local
1841 passpointConfig.setHomeSp(homeSp); in addLegacyPasspointConfigWithCertCredential()
[all …]
DPasspointNetworkNominateHelperTest.java130 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in generateProvider() local
133 passpointConfig.setHomeSp(homeSp); in generateProvider()
134 when(provider.getConfig()).thenReturn(passpointConfig); in generateProvider()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvisioner.java910 private void retrieveTrustRootCerts(@NonNull PasspointConfiguration passpointConfig) { in retrieveTrustRootCerts() argument
915 Map<String, byte[]> trustCertInfo = passpointConfig.getTrustRootCertList(); in retrieveTrustRootCerts()
926 if (passpointConfig.getSubscriptionUpdate() != null in retrieveTrustRootCerts()
927 && passpointConfig.getSubscriptionUpdate().getTrustRootCertUrl() != null) { in retrieveTrustRootCerts()
930 passpointConfig.getSubscriptionUpdate().getTrustRootCertUrl(), in retrieveTrustRootCerts()
931 passpointConfig.getSubscriptionUpdate() in retrieveTrustRootCerts()
942 if (passpointConfig.getPolicy() != null) { in retrieveTrustRootCerts()
943 if (passpointConfig.getPolicy().getPolicyUpdate() != null in retrieveTrustRootCerts()
944 && passpointConfig.getPolicy().getPolicyUpdate().getTrustRootCertUrl() in retrieveTrustRootCerts()
948 passpointConfig.getPolicy().getPolicyUpdate() in retrieveTrustRootCerts()
[all …]
DPasspointProvider.java664 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in convertFromWifiConfig() local
678 passpointConfig.setHomeSp(homeSp); in convertFromWifiConfig()
679 passpointConfig.setCarrierId(wifiConfig.carrierId); in convertFromWifiConfig()
716 passpointConfig.setCredential(credential); in convertFromWifiConfig()
718 return passpointConfig; in convertFromWifiConfig()
825 private boolean isMeteredNetwork(PasspointConfiguration passpointConfig) { in isMeteredNetwork() argument
826 if (passpointConfig == null) return false; in isMeteredNetwork()
830 return passpointConfig.getUsageLimitDataLimit() > 0 in isMeteredNetwork()
831 || passpointConfig.getUsageLimitTimeLimitInMinutes() > 0; in isMeteredNetwork()
DPasspointManager.java1357 PasspointConfiguration passpointConfig = in addWifiConfig() local
1359 if (passpointConfig == null) { in addWifiConfig()
1367 if (passpointConfig.getCredential().getUserCredential() != null in addWifiConfig()
1372 if (passpointConfig.getCredential().getCertCredential() != null) { in addWifiConfig()
1385 PasspointProvider provider = new PasspointProvider(passpointConfig, mKeyStore, in addWifiConfig()
1391 mProviders.put(passpointConfig.getUniqueId(), provider); in addWifiConfig()
/packages/apps/Settings/src/com/android/settings/wifi/addappnetworks/
DAddAppNetworksFragment.java393 final PasspointConfiguration passpointConfig = suggestion.getPasspointConfig(); in filterSavedNetworks() local
394 if (passpointConfig != null) { in filterSavedNetworks()
395 foundInSavedList = isSavedPasspointConfiguration(passpointConfig); in filterSavedNetworks()
396 displayedName = passpointConfig.getHomeSp().getFriendlyName(); in filterSavedNetworks()
651 final PasspointConfiguration passpointConfig =
653 if (passpointConfig != null) {
656 mWifiManager.addOrUpdatePasspointConfiguration(passpointConfig);
661 passpointConfig.getHomeSp().getFqdn(), true);
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiNetworkSuggestion.java514 @NonNull PasspointConfiguration passpointConfig) { in setPasspointConfig()
515 checkNotNull(passpointConfig); in setPasspointConfig()
516 if (!passpointConfig.validate()) { in setPasspointConfig()
519 mPasspointConfiguration = new PasspointConfiguration(passpointConfig); in setPasspointConfig()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java3951 PasspointConfiguration passpointConfig = in addOrUpdateNetworkInternal() local
3953 if (passpointConfig == null || passpointConfig.getCredential() == null) { in addOrUpdateNetworkInternal()
3965 passpointConfig.getCredential().setCaCertificates(x509Certificates); in addOrUpdateNetworkInternal()
3966 passpointConfig.getCredential().setClientCertificateChain( in addOrUpdateNetworkInternal()
3968 passpointConfig.getCredential().setClientPrivateKey( in addOrUpdateNetworkInternal()
3970 if (!addOrUpdatePasspointConfiguration(passpointConfig, packageName)) { in addOrUpdateNetworkInternal()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java3881 final WifiConfiguration passpointConfig = in testHandleUserUnlockRemovePasspointConfigFromSharedConfig() local
3883 passpointConfig.creatorUid = UserHandle.getUid(user1, appId); in testHandleUserUnlockRemovePasspointConfigFromSharedConfig()
3884 passpointConfig.isLegacyPasspointConfig = true; in testHandleUserUnlockRemovePasspointConfigFromSharedConfig()
3889 add(passpointConfig); in testHandleUserUnlockRemovePasspointConfigFromSharedConfig()
3900 when(mWifiPermissionsUtil.doesUidBelongToUser(passpointConfig.creatorUid, user1)) in testHandleUserUnlockRemovePasspointConfigFromSharedConfig()
DWifiConnectivityManagerTest.java3486 WifiConfiguration passpointConfig = new WifiConfiguration(); in checkScanScheduleForSavedPasspointSuggestionNetworkConnected() local
3488 when(mWifiConfigManager.getConfiguredNetwork(passpointKey)).thenReturn(passpointConfig); in checkScanScheduleForSavedPasspointSuggestionNetworkConnected()
DWifiServiceImplTest.java11610 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in testNotAllowedToChangeWifiOpsTargetBelowQSdkFromGuestUser() local
11613 passpointConfig.setHomeSp(homeSp); in testNotAllowedToChangeWifiOpsTargetBelowQSdkFromGuestUser()
11614 assertFalse(mWifiServiceImpl.addOrUpdatePasspointConfiguration(passpointConfig, in testNotAllowedToChangeWifiOpsTargetBelowQSdkFromGuestUser()