/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProviderTest.java | 323 PasspointConfiguration passpointConfig, WifiConfiguration wifiConfig) { in verifyWifiConfigWithTestData() argument 327 HomeSp homeSp = passpointConfig.getHomeSp(); in verifyWifiConfigWithTestData() 328 Credential credential = passpointConfig.getCredential(); in verifyWifiConfigWithTestData() 341 Integer.toString(passpointConfig.getUpdateIdentifier())); in verifyWifiConfigWithTestData() 343 assertEquals(Integer.toString(passpointConfig.getUpdateIdentifier()), in verifyWifiConfigWithTestData() 347 if (passpointConfig.isMacRandomizationEnabled()) { in verifyWifiConfigWithTestData() 348 if (passpointConfig.isEnhancedMacRandomizationEnabled()) { in verifyWifiConfigWithTestData() 392 if (!ArrayUtils.isEmpty(passpointConfig.getAaaServerTrustedNames())) { in verifyWifiConfigWithTestData() 393 assertEquals(String.join(";", passpointConfig.getAaaServerTrustedNames()), in verifyWifiConfigWithTestData() 399 if (!ArrayUtils.isEmpty(passpointConfig.getAaaServerTrustedNames())) { in verifyWifiConfigWithTestData() [all …]
|
D | PasspointManagerTest.java | 1682 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in addLegacyPasspointConfigWithUserCredential() local 1687 passpointConfig.setHomeSp(homeSp); in addLegacyPasspointConfigWithUserCredential() 1696 passpointConfig.setCredential(credential); in addLegacyPasspointConfigWithUserCredential() 1699 verifyInstalledConfig(passpointConfig); in addLegacyPasspointConfigWithUserCredential() 1760 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in addLegacyPasspointConfigWithSimCredential() local 1765 passpointConfig.setHomeSp(homeSp); in addLegacyPasspointConfigWithSimCredential() 1772 passpointConfig.setCredential(credential); in addLegacyPasspointConfigWithSimCredential() 1775 verifyInstalledConfig(passpointConfig); in addLegacyPasspointConfigWithSimCredential() 1805 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in addLegacyPasspointConfigWithCertCredential() local 1810 passpointConfig.setHomeSp(homeSp); in addLegacyPasspointConfigWithCertCredential() [all …]
|
D | PasspointNetworkNominateHelperTest.java | 119 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in generateProvider() local 122 passpointConfig.setHomeSp(homeSp); in generateProvider() 123 when(provider.getConfig()).thenReturn(passpointConfig); in generateProvider()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointProvisioner.java | 910 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 …]
|
D | PasspointProvider.java | 609 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in convertFromWifiConfig() local 623 passpointConfig.setHomeSp(homeSp); in convertFromWifiConfig() 624 passpointConfig.setCarrierId(wifiConfig.carrierId); in convertFromWifiConfig() 661 passpointConfig.setCredential(credential); in convertFromWifiConfig() 663 return passpointConfig; in convertFromWifiConfig() 768 private boolean isMeteredNetwork(PasspointConfiguration passpointConfig) { in isMeteredNetwork() argument 769 if (passpointConfig == null) return false; in isMeteredNetwork() 773 return passpointConfig.getUsageLimitDataLimit() > 0 in isMeteredNetwork() 774 || passpointConfig.getUsageLimitTimeLimitInMinutes() > 0; in isMeteredNetwork()
|
D | PasspointManager.java | 1265 PasspointConfiguration passpointConfig = in addWifiConfig() local 1267 if (passpointConfig == null) { in addWifiConfig() 1275 if (passpointConfig.getCredential().getUserCredential() != null in addWifiConfig() 1280 if (passpointConfig.getCredential().getCertCredential() != null) { in addWifiConfig() 1293 PasspointProvider provider = new PasspointProvider(passpointConfig, mKeyStore, in addWifiConfig() 1299 mProviders.put(passpointConfig.getUniqueId(), provider); in addWifiConfig()
|
/packages/apps/Settings/src/com/android/settings/wifi/addappnetworks/ |
D | AddAppNetworksFragment.java | 391 final PasspointConfiguration passpointConfig = suggestion.getPasspointConfig(); in filterSavedNetworks() local 392 if (passpointConfig != null) { in filterSavedNetworks() 393 foundInSavedList = isSavedPasspointConfiguration(passpointConfig); in filterSavedNetworks() 394 displayedName = passpointConfig.getHomeSp().getFriendlyName(); in filterSavedNetworks() 642 final PasspointConfiguration passpointConfig = 644 if (passpointConfig != null) { 647 mWifiManager.addOrUpdatePasspointConfiguration(passpointConfig);
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiNetworkSuggestion.java | 466 @NonNull PasspointConfiguration passpointConfig) { in setPasspointConfig() 467 checkNotNull(passpointConfig); in setPasspointConfig() 468 if (!passpointConfig.validate()) { in setPasspointConfig() 471 mPasspointConfiguration = new PasspointConfiguration(passpointConfig); in setPasspointConfig()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 2740 PasspointConfiguration passpointConfig = in addOrUpdateNetworkInternal() local 2742 if (passpointConfig == null || passpointConfig.getCredential() == null) { in addOrUpdateNetworkInternal() 2754 passpointConfig.getCredential().setCaCertificates(x509Certificates); in addOrUpdateNetworkInternal() 2755 passpointConfig.getCredential().setClientCertificateChain( in addOrUpdateNetworkInternal() 2757 passpointConfig.getCredential().setClientPrivateKey( in addOrUpdateNetworkInternal() 2759 if (!addOrUpdatePasspointConfiguration(passpointConfig, packageName)) { in addOrUpdateNetworkInternal()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigManagerTest.java | 3443 final WifiConfiguration passpointConfig = in testHandleUserUnlockRemovePasspointConfigFromSharedConfig() local 3445 passpointConfig.creatorUid = UserHandle.getUid(user1, appId); in testHandleUserUnlockRemovePasspointConfigFromSharedConfig() 3446 passpointConfig.isLegacyPasspointConfig = true; in testHandleUserUnlockRemovePasspointConfigFromSharedConfig() 3451 add(passpointConfig); in testHandleUserUnlockRemovePasspointConfigFromSharedConfig() 3462 when(mWifiPermissionsUtil.doesUidBelongToCurrentUser(passpointConfig.creatorUid)) in testHandleUserUnlockRemovePasspointConfigFromSharedConfig()
|
D | WifiConnectivityManagerTest.java | 2466 WifiConfiguration passpointConfig = new WifiConfiguration(); in checkScanScheduleForSavedPasspointSuggestionNetworkConnected() local 2468 when(mWifiConfigManager.getConfiguredNetwork(passpointKey)).thenReturn(passpointConfig); in checkScanScheduleForSavedPasspointSuggestionNetworkConnected()
|