/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProviderTest.java | 687 String fqdn = "test.com"; in getWifiConfigWithUserCredential() local 700 homeSp.setFqdn(fqdn); in getWifiConfigWithUserCredential() 725 assertEquals(fqdn, wifiConfig.FQDN); in getWifiConfigWithUserCredential() 732 assertEquals(fqdn, wifiEnterpriseConfig.getDomainSuffixMatch()); in getWifiConfigWithUserCredential() 750 String fqdn = "test.com"; in getWifiConfigWithCertCredential() local 758 homeSp.setFqdn(fqdn); in getWifiConfigWithCertCredential() 788 assertEquals(fqdn, wifiConfig.FQDN); in getWifiConfigWithCertCredential() 795 assertEquals(fqdn, wifiEnterpriseConfig.getDomainSuffixMatch()); in getWifiConfigWithCertCredential() 811 String fqdn = "test.com"; in getWifiConfigWithSimCredential() local 820 homeSp.setFqdn(fqdn); in getWifiConfigWithSimCredential() [all …]
|
D | PasspointManagerTest.java | 236 private PasspointConfiguration createTestConfigWithUserCredential(String fqdn) { in createTestConfigWithUserCredential() argument 239 homeSp.setFqdn(fqdn); in createTestConfigWithUserCredential() 282 private PasspointProvider addTestProvider(String fqdn) { in addTestProvider() argument 283 PasspointConfiguration config = createTestConfigWithUserCredential(fqdn); in addTestProvider() 1126 String fqdn = "test.com"; in addLegacyPasspointConfigWithUserCredential() local 1139 wifiConfig.FQDN = fqdn; in addLegacyPasspointConfigWithUserCredential() 1152 homeSp.setFqdn(fqdn); in addLegacyPasspointConfigWithUserCredential() 1179 String fqdn = "test.com"; in addLegacyPasspointConfigWithUserCredentialWithoutCaCert() local 1191 wifiConfig.FQDN = fqdn; in addLegacyPasspointConfigWithUserCredentialWithoutCaCert() 1212 String fqdn = "test.com"; in addLegacyPasspointConfigWithSimCredential() local [all …]
|
D | ANQPMatcherTest.java | 71 String fqdn = "test.com"; in matchDomainNameUsingFQDN() local 72 String[] domains = new String[] {fqdn}; in matchDomainNameUsingFQDN() 74 assertTrue(ANQPMatcher.matchDomainName(element, fqdn, null, null)); in matchDomainNameUsingFQDN()
|
D | PasspointNetworkEvaluatorTest.java | 82 private static WifiConfiguration generateWifiConfig(String fqdn) { in generateWifiConfig() argument 84 config.FQDN = fqdn; in generateWifiConfig()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigStoreLegacyTest.java | 96 String fqdn = passpointNetwork.FQDN; in testLoadFromStores() local 120 passpointConfig.mFqdn = fqdn; in testLoadFromStores() 125 passpointConfigs.put(fqdn, passpointConfig); in testLoadFromStores() 136 networkExtras.put(passpointNetworkId, createNetworkExtrasForPasspointConfig(fqdn)); in testLoadFromStores() 149 passpointNetwork.FQDN = fqdn; in testLoadFromStores() 305 private Map<String, String> createNetworkExtrasForPasspointConfig(String fqdn) { in createNetworkExtrasForPasspointConfig() argument 307 extras.put(SupplicantStaNetworkHal.ID_STRING_KEY_FQDN, fqdn); in createNetworkExtrasForPasspointConfig()
|
D | WifiConfigurationTestUtil.java | 103 boolean shared, boolean enabled, String fqdn, String providerFriendlyName) { in generateWifiConfig() argument 111 config.FQDN = fqdn; in generateWifiConfig() 129 boolean shared, boolean enabled, String fqdn, String providerFriendlyName, in generateWifiConfig() argument 131 WifiConfiguration config = generateWifiConfig(networkId, uid, ssid, shared, enabled, fqdn, in generateWifiConfig()
|
D | WifiStateMachineTest.java | 1542 String fqdn = "test.com"; in syncRemovePasspointConfig() local 1543 when(mPasspointManager.removeProvider(fqdn)).thenReturn(true); in syncRemovePasspointConfig() 1545 assertTrue(mWsm.syncRemovePasspointConfig(mWsmAsyncChannel, fqdn)); in syncRemovePasspointConfig() 1549 when(mPasspointManager.removeProvider(fqdn)).thenReturn(false); in syncRemovePasspointConfig() 1551 assertFalse(mWsm.syncRemovePasspointConfig(mWsmAsyncChannel, fqdn)); in syncRemovePasspointConfig()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuServerConnection.java | 204 String fqdn = mUrl.getHost(); in getProviderCert() local 217 && name.get(1).toString().equals(fqdn)) { in getProviderCert() 227 Log.e(TAG, "Unable to match certificate to " + fqdn); in getProviderCert()
|
D | PasspointManager.java | 303 public boolean removeProvider(String fqdn) { in removeProvider() argument 305 if (!mProviders.containsKey(fqdn)) { in removeProvider() 310 mProviders.get(fqdn).uninstallCertsAndKeys(); in removeProvider() 311 mProviders.remove(fqdn); in removeProvider() 313 Log.d(TAG, "Removed Passpoint configuration: " + fqdn); in removeProvider() 633 public void onPasspointNetworkConnected(String fqdn) { in onPasspointNetworkConnected() argument 634 PasspointProvider provider = mProviders.get(fqdn); in onPasspointNetworkConnected() 636 Log.e(TAG, "Passpoint network connected without provider: " + fqdn); in onPasspointNetworkConnected()
|
D | ANQPMatcher.java | 50 public static boolean matchDomainName(DomainNameElement element, String fqdn, in matchDomainName() argument 57 if (DomainMatcher.arg2SubdomainOfArg1(fqdn, domain)) { in matchDomainName()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigStoreLegacy.java | 231 String fqdn = networkExtras.get(wifiConfig.networkId).get( in loadFromPasspointConfigStore() local 236 if (passpointConfigMap == null || !passpointConfigMap.containsKey(fqdn)) { in loadFromPasspointConfigStore() 242 LegacyPasspointConfig passpointConfig = passpointConfigMap.get(fqdn); in loadFromPasspointConfigStore() 244 wifiConfig.FQDN = fqdn; in loadFromPasspointConfigStore()
|
D | WifiStateMachine.java | 1504 public int matchProviderWithCurrentNetwork(AsyncChannel channel, String fqdn) { in matchProviderWithCurrentNetwork() argument 1505 Message resultMsg = channel.sendMessageSynchronously(CMD_MATCH_PROVIDER_NETWORK, fqdn); in matchProviderWithCurrentNetwork() 1652 public boolean syncRemovePasspointConfig(AsyncChannel channel, String fqdn) { in syncRemovePasspointConfig() argument 1654 fqdn); in syncRemovePasspointConfig() 4360 String fqdn = passpointConfig.getHomeSp().getFqdn(); in processMessage() local 4361 if (isProviderOwnedNetwork(mTargetNetworkId, fqdn) in processMessage() 4362 || isProviderOwnedNetwork(mLastNetworkId, fqdn)) { in processMessage() 4372 String fqdn = (String) message.obj; in processMessage() local 4373 if (mPasspointManager.removeProvider(fqdn)) { in processMessage() 4374 if (isProviderOwnedNetwork(mTargetNetworkId, fqdn) in processMessage() [all …]
|
D | WifiServiceImpl.java | 2082 public boolean removePasspointConfiguration(String fqdn, String packageName) { in removePasspointConfiguration() argument 2091 return mWifiStateMachine.syncRemovePasspointConfig(mWifiStateMachineChannel, fqdn); in removePasspointConfiguration() 2136 public int matchProviderWithCurrentNetwork(String fqdn) { in matchProviderWithCurrentNetwork() argument 2138 return mWifiStateMachine.matchProviderWithCurrentNetwork(mWifiStateMachineChannel, fqdn); in matchProviderWithCurrentNetwork()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | IWifiManager.aidl | 72 boolean removePasspointConfiguration(in String fqdn, String packageName); in removePasspointConfiguration() argument 78 int matchProviderWithCurrentNetwork(String fqdn); in matchProviderWithCurrentNetwork() argument
|
D | WifiManager.java | 1193 public void removePasspointConfiguration(String fqdn) { in removePasspointConfiguration() argument 1195 if (!mService.removePasspointConfiguration(fqdn, mContext.getOpPackageName())) { in removePasspointConfiguration() 1245 public int matchProviderWithCurrentNetwork(String fqdn) { in matchProviderWithCurrentNetwork() argument 1247 return mService.matchProviderWithCurrentNetwork(fqdn); in matchProviderWithCurrentNetwork()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | TestAccessPointBuilder.java | 200 public TestAccessPointBuilder setFqdn(String fqdn) { in setFqdn() argument 201 mFqdn = fqdn; in setFqdn()
|
/frameworks/base/wifi/java/android/net/wifi/hotspot2/omadm/ |
D | PpsMoParser.java | 853 String fqdn = parseOtherHomePartnerInstance(child); in parseOtherHomePartners() local 854 otherHomePartners.add(fqdn); in parseOtherHomePartners() 873 String fqdn = null; in parseOtherHomePartnerInstance() local 877 fqdn = getPpsNodeValue(child); in parseOtherHomePartnerInstance() 884 if (fqdn == null) { in parseOtherHomePartnerInstance() 887 return fqdn; in parseOtherHomePartnerInstance()
|
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/ |
D | HomeSp.java | 60 public void setFqdn(String fqdn) { in setFqdn() argument 61 mFqdn = fqdn; in setFqdn()
|
D | Policy.java | 164 public void setFqdn(String fqdn) { in setFqdn() argument 165 mFqdn = fqdn; in setFqdn()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | AccessPointTest.java | 650 String fqdn = "Test.com"; 652 AccessPoint ap = new TestAccessPointBuilder(mContext).setFqdn(fqdn) 655 assertThat(ap.getPasspointFqdn()).isEqualTo(fqdn);
|