Home
last modified time | relevance | path

Searched refs:fqdn (Results 1 – 20 of 20) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java687 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 …]
DPasspointManagerTest.java236 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 …]
DANQPMatcherTest.java71 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()
DPasspointNetworkEvaluatorTest.java82 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/
DWifiConfigStoreLegacyTest.java96 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()
DWifiConfigurationTestUtil.java103 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()
DWifiStateMachineTest.java1542 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/
DOsuServerConnection.java204 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()
DPasspointManager.java303 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()
DANQPMatcher.java50 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/
DWifiConfigStoreLegacy.java231 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()
DWifiStateMachine.java1504 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 …]
DWifiServiceImpl.java2082 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/
DIWifiManager.aidl72 boolean removePasspointConfiguration(in String fqdn, String packageName); in removePasspointConfiguration() argument
78 int matchProviderWithCurrentNetwork(String fqdn); in matchProviderWithCurrentNetwork() argument
DWifiManager.java1193 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/
DTestAccessPointBuilder.java200 public TestAccessPointBuilder setFqdn(String fqdn) { in setFqdn() argument
201 mFqdn = fqdn; in setFqdn()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/omadm/
DPpsMoParser.java853 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/
DHomeSp.java60 public void setFqdn(String fqdn) { in setFqdn() argument
61 mFqdn = fqdn; in setFqdn()
DPolicy.java164 public void setFqdn(String fqdn) { in setFqdn() argument
165 mFqdn = fqdn; in setFqdn()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java650 String fqdn = "Test.com";
652 AccessPoint ap = new TestAccessPointBuilder(mContext).setFqdn(fqdn)
655 assertThat(ap.getPasspointFqdn()).isEqualTo(fqdn);