Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java963 String fqdn = "test.com"; in getWifiConfigWithUserCredential() local
980 homeSp.setFqdn(fqdn); in getWifiConfigWithUserCredential()
1005 assertEquals(fqdn, wifiConfig.FQDN); in getWifiConfigWithUserCredential()
1015 assertEquals(fqdn, wifiEnterpriseConfig.getDomainSuffixMatch()); in getWifiConfigWithUserCredential()
1034 String fqdn = "test.com"; in getWifiConfigWithCertCredential() local
1046 homeSp.setFqdn(fqdn); in getWifiConfigWithCertCredential()
1076 assertEquals(fqdn, wifiConfig.FQDN); in getWifiConfigWithCertCredential()
1085 assertEquals(fqdn, wifiEnterpriseConfig.getDomainSuffixMatch()); in getWifiConfigWithCertCredential()
1102 String fqdn = "test.com"; in getWifiConfigWithSimCredential() local
1113 homeSp.setFqdn(fqdn); in getWifiConfigWithSimCredential()
[all …]
DPasspointManagerTest.java296 private PasspointConfiguration createTestConfigWithUserCredential(String fqdn, in createTestConfigWithUserCredential() argument
300 homeSp.setFqdn(fqdn); in createTestConfigWithUserCredential()
326 private PasspointConfiguration createTestConfigWithSimCredential(String fqdn, String imsi, in createTestConfigWithSimCredential() argument
330 homeSp.setFqdn(fqdn); in createTestConfigWithSimCredential()
349 private PasspointProvider addTestProvider(String fqdn, String friendlyName, in addTestProvider() argument
351 PasspointConfiguration config = createTestConfigWithUserCredential(fqdn, friendlyName); in addTestProvider()
367 private PasspointProvider addTestCarrierProvider(String fqdn, String imsi, String realm) { in addTestCarrierProvider() argument
368 PasspointConfiguration config = createTestConfigWithSimCredential(fqdn, imsi, realm); in addTestCarrierProvider()
1330 String fqdn = "test.com"; in addLegacyPasspointConfigWithUserCredential() local
1343 wifiConfig.FQDN = fqdn; in addLegacyPasspointConfigWithUserCredential()
[all …]
DANQPMatcherTest.java74 String fqdn = "test.com"; in matchDomainNameUsingFQDN() local
75 String[] domains = new String[] {fqdn}; in matchDomainNameUsingFQDN()
77 assertTrue(ANQPMatcher.matchDomainName(element, fqdn, null, null)); in matchDomainNameUsingFQDN()
DPasspointNetworkEvaluatorTest.java101 private static WifiConfiguration generateWifiConfig(String fqdn) { in generateWifiConfig() argument
103 config.FQDN = fqdn; in generateWifiConfig()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java291 String fqdn = entry.getValue().getConfig().getHomeSp().getFqdn(); in removePasspointProviderWithPackage() local
292 removeProvider(Process.WIFI_UID /* ignored */, true, fqdn); in removePasspointProviderWithPackage()
293 disconnectIfPasspointNetwork(fqdn); in removePasspointProviderWithPackage()
323 private void disconnectIfPasspointNetwork(String fqdn) { in disconnectIfPasspointNetwork() argument
328 fqdn)) { in disconnectIfPasspointNetwork()
329 Log.i(TAG, "Disconnect current Passpoint network for " + fqdn in disconnectIfPasspointNetwork()
671 public boolean removeProvider(int callingUid, boolean privileged, String fqdn) { in removeProvider() argument
674 PasspointProvider provider = mProviders.get(fqdn); in removeProvider()
686 mProviders.remove(fqdn); in removeProvider()
694 Log.d(TAG, "Removed Passpoint configuration: " + fqdn); in removeProvider()
[all …]
DANQPMatcher.java52 public static boolean matchDomainName(DomainNameElement element, String fqdn, in matchDomainName() argument
59 if (DomainMatcher.arg2SubdomainOfArg1(fqdn, domain)) { in matchDomainName()
DOsuServerConnection.java641 String fqdn = mUrl.getHost(); in getProviderCert() local
654 && name.get(1).toString().equals(fqdn)) { in getProviderCert()
664 Log.e(TAG, "Unable to match certificate to " + fqdn); in getProviderCert()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DTestAccessPointBuilder.java205 public TestAccessPointBuilder setFqdn(String fqdn) { in setFqdn() argument
206 mFqdn = fqdn; in setFqdn()
DAccessPoint.java686 public static String getKey(String fqdn) { in getKey() argument
689 .append(fqdn).toString(); in getKey()
1932 String fqdn = passpointConfig.getHomeSp().getFqdn(); in onProvisioningComplete() local
1936 if (TextUtils.equals(config.FQDN, fqdn)) { in onProvisioningComplete()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl76 boolean removePasspointConfiguration(in String fqdn, String packageName); in removePasspointConfiguration() argument
84 int matchProviderWithCurrentNetwork(String fqdn); in matchProviderWithCurrentNetwork() argument
DWifiInfo.java538 public void setFQDN(@Nullable String fqdn) { in setFQDN() argument
539 mFqdn = fqdn; in setFQDN()
DWifiManager.java1789 public void removePasspointConfiguration(String fqdn) { in removePasspointConfiguration() argument
1791 if (!mService.removePasspointConfiguration(fqdn, mContext.getOpPackageName())) { in removePasspointConfiguration()
1846 public int matchProviderWithCurrentNetwork(String fqdn) { in matchProviderWithCurrentNetwork() argument
1848 return mService.matchProviderWithCurrentNetwork(fqdn); in matchProviderWithCurrentNetwork()
/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/wifi/java/com/android/server/wifi/
DBaseWifiService.java122 public boolean removePasspointConfiguration(String fqdn, String packageName) { in removePasspointConfiguration() argument
142 public int matchProviderWithCurrentNetwork(String fqdn) { in matchProviderWithCurrentNetwork() argument
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java107 boolean shared, boolean enabled, String fqdn, String providerFriendlyName) { in generateWifiConfig() argument
115 config.FQDN = fqdn; in generateWifiConfig()
133 boolean shared, boolean enabled, String fqdn, String providerFriendlyName, in generateWifiConfig() argument
135 WifiConfiguration config = generateWifiConfig(networkId, uid, ssid, shared, enabled, fqdn, in generateWifiConfig()
DClientModeImplTest.java1933 String fqdn = "test.com"; in syncRemovePasspointConfig() local
1934 when(mPasspointManager.removeProvider(anyInt(), anyBoolean(), eq(fqdn))).thenReturn(true); in syncRemovePasspointConfig()
1936 assertTrue(mCmi.syncRemovePasspointConfig(mCmiAsyncChannel, true, fqdn)); in syncRemovePasspointConfig()
1940 when(mPasspointManager.removeProvider(anyInt(), anyBoolean(), eq(fqdn))).thenReturn(false); in syncRemovePasspointConfig()
1942 assertFalse(mCmi.syncRemovePasspointConfig(mCmiAsyncChannel, true, fqdn)); in syncRemovePasspointConfig()
3690 String fqdn = "test.com"; in testRemovePasspointConfig() local
3696 mCmi.sendMessage(ClientModeImpl.CMD_REMOVE_PASSPOINT_CONFIG, TEST_UID, 0, fqdn); in testRemovePasspointConfig()
3699 verify(mWifiConfigManager).removePasspointConfiguredNetwork(fqdn); in testRemovePasspointConfig()
DWifiServiceImplTest.java3654 final String fqdn = "example.com"; in testFactoryReset() local
3658 homeSp.setFqdn(fqdn); in testFactoryReset()
3671 verify(mClientModeImpl).syncRemovePasspointConfig(mAsyncChannel, true, fqdn); in testFactoryReset()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java286 private static WifiConfiguration buildPasspointConfiguration(String fqdn, String friendlyName) { in buildPasspointConfiguration() argument
288 config.FQDN = fqdn; in buildPasspointConfiguration()
318 String fqdn, String friendlyName) { in createPasspointMatchingWifiConfigWithScanResults() argument
330 matchingList.add(new Pair(buildPasspointConfiguration(fqdn, friendlyName), in createPasspointMatchingWifiConfigWithScanResults()
DAccessPointTest.java741 String fqdn = "Test.com";
743 AccessPoint ap = new TestAccessPointBuilder(mContext).setFqdn(fqdn)
746 assertThat(ap.getPasspointFqdn()).isEqualTo(fqdn);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java1558 public int matchProviderWithCurrentNetwork(AsyncChannel channel, String fqdn) { in matchProviderWithCurrentNetwork() argument
1559 Message resultMsg = channel.sendMessageSynchronously(CMD_MATCH_PROVIDER_NETWORK, fqdn); in matchProviderWithCurrentNetwork()
1798 String fqdn) { in syncRemovePasspointConfig() argument
1800 privileged ? 1 : 0, 0, fqdn); in syncRemovePasspointConfig()
4536 String fqdn = passpointConfig.getHomeSp().getFqdn(); in processMessage() local
4537 if (isProviderOwnedNetwork(mTargetNetworkId, fqdn) in processMessage()
4538 || isProviderOwnedNetwork(mLastNetworkId, fqdn)) { in processMessage()
4548 String fqdn = (String) message.obj; in processMessage() local
4550 message.sendingUid, message.arg1 == 1, fqdn)) { in processMessage()
4551 if (isProviderOwnedNetwork(mTargetNetworkId, fqdn) in processMessage()
[all …]
DWifiServiceImpl.java2337 public boolean removePasspointConfiguration(String fqdn, String packageName) { in removePasspointConfiguration() argument
2348 return mClientModeImpl.syncRemovePasspointConfig(mClientModeImplChannel, privileged, fqdn); in removePasspointConfiguration()
2398 public int matchProviderWithCurrentNetwork(String fqdn) { in matchProviderWithCurrentNetwork() argument
2400 return mClientModeImpl.matchProviderWithCurrentNetwork(mClientModeImplChannel, fqdn); in matchProviderWithCurrentNetwork()
DWifiConfigManager.java1531 public boolean removePasspointConfiguredNetwork(String fqdn) { in removePasspointConfiguredNetwork() argument
1535 if (config.isPasspoint() && TextUtils.equals(fqdn, config.FQDN)) { in removePasspointConfiguredNetwork()