Home
last modified time | relevance | path

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

12

/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeFqdnIdentification.java37 @NonNull public final String fqdn; field in IkeFqdnIdentification
47 fqdn = new String(fqdnBytes, ASCII); in IkeFqdnIdentification()
56 public IkeFqdnIdentification(@NonNull String fqdn) { in IkeFqdnIdentification() argument
58 if (!ASCII.newEncoder().canEncode(fqdn)) { in IkeFqdnIdentification()
62 this.fqdn = fqdn; in IkeFqdnIdentification()
85 result.putString(FQDN_KEY, fqdn); in toPersistableBundle()
93 return Objects.hash(idType, fqdn); in hashCode()
102 return fqdn.equals(((IkeFqdnIdentification) o).fqdn); in equals()
116 validateEndCertSanOrThrow(endCert, SAN_TYPE_DNS, fqdn); in validateEndCertIdOrThrow()
127 return fqdn.getBytes(ASCII); in getEncodedIdData()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsRecordTests.java76 String fqdn = MdnsRecord.labelsToString(name); in testInet4AddressRecord() local
77 assertEquals("test", fqdn); in testInet4AddressRecord()
111 String fqdn = MdnsRecord.labelsToString(name); in testTypeAAAInet6AddressRecord() local
112 assertEquals("test", fqdn); in testTypeAAAInet6AddressRecord()
148 String fqdn = MdnsRecord.labelsToString(name); in testTypeAAAInet4AddressRecord() local
149 assertEquals("test", fqdn); in testTypeAAAInet4AddressRecord()
188 String fqdn = MdnsRecord.labelsToString(name); in testPointerRecord() local
189 assertEquals("test", fqdn); in testPointerRecord()
225 String fqdn = MdnsRecord.labelsToString(name); in testServiceRecord() local
226 assertEquals("test", fqdn); in testServiceRecord()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/pps/
DHomeSp.java70 public void setFqdn(String fqdn) { in setFqdn() argument
71 mFqdn = fqdn; in setFqdn()
493 for (String fqdn : mOtherHomePartners) { in validate()
494 if (fqdn.length() > MAX_STRING_LENGTH) { in validate()
DPolicy.java167 public void setFqdn(String fqdn) { in setFqdn() argument
168 mFqdn = fqdn; in setFqdn()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DANQPMatcher.java48 public static boolean matchDomainName(DomainNameElement element, String fqdn, in matchDomainName() argument
55 if (DomainMatcher.arg2SubdomainOfArg1(fqdn, domain)) { in matchDomainName()
DPasspointManager.java658 String fqdn) { in removeProvider() argument
659 if (uniqueId == null && fqdn == null) { in removeProvider()
681 if (!TextUtils.equals(provider.getConfig().getHomeSp().getFqdn(), fqdn)) { in removeProvider()
710 public boolean enableAutojoin(String uniqueId, String fqdn, boolean enableAutojoin) { in enableAutojoin() argument
711 if (uniqueId == null && fqdn == null) { in enableAutojoin()
740 if (TextUtils.equals(provider.getConfig().getHomeSp().getFqdn(), fqdn)) { in enableAutojoin()
766 public boolean enableMacRandomization(@NonNull String fqdn, boolean enable) { in enableMacRandomization() argument
772 if (TextUtils.equals(provider.getConfig().getHomeSp().getFqdn(), fqdn)) { in enableMacRandomization()
797 public boolean setMeteredOverride(@NonNull String fqdn, @MeteredOverride int meteredOverride) { in setMeteredOverride() argument
803 if (TextUtils.equals(provider.getConfig().getHomeSp().getFqdn(), fqdn)) { in setMeteredOverride()
DOsuServerConnection.java667 String fqdn = mUrl.getHost(); in getProviderCert() local
680 && name.get(1).toString().equals(fqdn)) { in getProviderCert()
690 Log.e(TAG, "Unable to match certificate to " + fqdn); in getProviderCert()
DPasspointXmlUtils.java549 for (String fqdn: aaaServerTrustedNames) { in serializeAaaServerTrustedNames()
550 XmlUtil.writeNextValue(out, XML_TAG_FQDN, fqdn); in serializeAaaServerTrustedNames()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java368 private PasspointConfiguration createTestConfigWithUserCredential(String fqdn, in createTestConfigWithUserCredential() argument
370 return createTestConfigWithUserCredentialAndRealm(fqdn, friendlyName, TEST_REALM); in createTestConfigWithUserCredential()
379 private PasspointConfiguration createTestConfigWithUserCredentialAndRealm(String fqdn, in createTestConfigWithUserCredentialAndRealm() argument
383 homeSp.setFqdn(fqdn); in createTestConfigWithUserCredentialAndRealm()
404 private PasspointConfiguration createTestConfigWithSimCredential(String fqdn, String imsi, in createTestConfigWithSimCredential() argument
408 homeSp.setFqdn(fqdn); in createTestConfigWithSimCredential()
421 private PasspointProvider addTestProvider(String fqdn, String friendlyName, in addTestProvider() argument
426 fqdn, friendlyName, SECURITY_EAP); in addTestProvider()
428 return addTestProvider(fqdn, friendlyName, packageName, wifiConfig, isSuggestion, realm, in addTestProvider()
438 private PasspointProvider addTestProvider(String fqdn, String friendlyName, in addTestProvider() argument
[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()
DPasspointNetworkNominateHelperTest.java114 private static WifiConfiguration generateWifiConfig(String fqdn) { in generateWifiConfig() argument
117 fqdn, fqdn, SECURITY_EAP); in generateWifiConfig()
/packages/modules/Wifi/framework/java/android/net/wifi/
DIWifiManager.aidl128 boolean removePasspointConfiguration(in String fqdn, String packageName); in removePasspointConfiguration() argument
136 int matchProviderWithCurrentNetwork(String fqdn); in matchProviderWithCurrentNetwork() argument
152 void allowAutojoinPasspoint(String fqdn, boolean enableAutoJoin); in allowAutojoinPasspoint() argument
154 void setMacRandomizationSettingPasspointEnabled(String fqdn, boolean enable); in setMacRandomizationSettingPasspointEnabled() argument
156 void setPasspointMeteredOverride(String fqdn, int meteredOverride); in setPasspointMeteredOverride() argument
DBaseWifiService.java165 public boolean removePasspointConfiguration(String fqdn, String packageName) { in removePasspointConfiguration() argument
185 public int matchProviderWithCurrentNetwork(String fqdn) { in matchProviderWithCurrentNetwork() argument
230 public void allowAutojoinPasspoint(String fqdn, boolean enableAutoJoin) { in allowAutojoinPasspoint() argument
241 public void setMacRandomizationSettingPasspointEnabled(String fqdn, boolean enable) { in setMacRandomizationSettingPasspointEnabled() argument
246 public void setPasspointMeteredOverride(String fqdn, int meteredOverride) { in setPasspointMeteredOverride() argument
DWifiManager.java3549 public void removePasspointConfiguration(String fqdn) { in removePasspointConfiguration() argument
3551 if (!mService.removePasspointConfiguration(fqdn, mContext.getOpPackageName())) { in removePasspointConfiguration()
3605 public int matchProviderWithCurrentNetwork(String fqdn) { in matchProviderWithCurrentNetwork() argument
3607 return mService.matchProviderWithCurrentNetwork(fqdn); in matchProviderWithCurrentNetwork()
7703 public void allowAutojoinPasspoint(@NonNull String fqdn, boolean allowAutojoin) { in allowAutojoinPasspoint() argument
7705 mService.allowAutojoinPasspoint(fqdn, allowAutojoin); in allowAutojoinPasspoint()
7721 public void setMacRandomizationSettingPasspointEnabled(@NonNull String fqdn, boolean enable) { in setMacRandomizationSettingPasspointEnabled() argument
7723 mService.setMacRandomizationSettingPasspointEnabled(fqdn, enable); in setMacRandomizationSettingPasspointEnabled()
7740 public void setPasspointMeteredOverride(@NonNull String fqdn, in setPasspointMeteredOverride() argument
7743 mService.setPasspointMeteredOverride(fqdn, meteredOverride); in setPasspointMeteredOverride()
DWifiInfo.java1344 public void setFQDN(@Nullable String fqdn) { in setFQDN() argument
1345 mFqdn = fqdn; in setFQDN()
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/omadm/
DPpsMoParser.java902 String fqdn = parseOtherHomePartnerInstance(child); in parseOtherHomePartners() local
903 otherHomePartners.add(fqdn); in parseOtherHomePartners()
922 String fqdn = null; in parseOtherHomePartnerInstance() local
926 fqdn = getPpsNodeValue(child); in parseOtherHomePartnerInstance()
933 if (fqdn == null) { in parseOtherHomePartnerInstance()
936 return fqdn; in parseOtherHomePartnerInstance()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeIdentificationTest.java49 assertEquals(LOCAL_HOSTNAME, ikeId.fqdn); in testIkeFqdnIdentification()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionStoreDataTest.java522 private PasspointConfiguration createTestConfigWithUserCredential(String fqdn, in createTestConfigWithUserCredential() argument
526 homeSp.setFqdn(fqdn); in createTestConfigWithUserCredential()
DWifiConfigurationTestUtil.java121 boolean shared, boolean enabled, String fqdn, String providerFriendlyName) { in generateWifiConfig() argument
129 config.FQDN = fqdn; in generateWifiConfig()
152 boolean shared, boolean enabled, String fqdn, String providerFriendlyName, in generateWifiConfig() argument
154 WifiConfiguration config = generateWifiConfig(networkId, uid, ssid, shared, enabled, fqdn, in generateWifiConfig()
DWifiNetworkSuggestionsManagerTest.java5088 private PasspointConfiguration createTestConfigWithUserCredential(String fqdn, in createTestConfigWithUserCredential() argument
5092 homeSp.setFqdn(fqdn); in createTestConfigWithUserCredential()
5113 private PasspointConfiguration createTestConfigWithSimCredential(String fqdn, String imsi, in createTestConfigWithSimCredential() argument
5117 homeSp.setFqdn(fqdn); in createTestConfigWithSimCredential()
5130 private WifiConfiguration createPlaceholderConfigForPasspoint(String fqdn, in createPlaceholderConfigForPasspoint() argument
5133 config.FQDN = fqdn; in createPlaceholderConfigForPasspoint()
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/
DPasspointConfiguration.java1015 for (String fqdn : mAaaServerTrustedNames) { in validateForCommonR1andR2()
1016 if (fqdn.getBytes(StandardCharsets.UTF_8).length > MAX_STRING_LENGTH) { in validateForCommonR1andR2()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNetworkSuggestionsManager.java1811 @Nullable String fqdn) { in getNetworkSuggestionsForFqdnMatch()
1812 if (TextUtils.isEmpty(fqdn)) { in getNetworkSuggestionsForFqdnMatch()
1815 return mPasspointInfo.get(fqdn); in getNetworkSuggestionsForFqdnMatch()
1821 public @NonNull Set<ExtendedWifiNetworkSuggestion> getNetworkSuggestionsForFqdn(String fqdn) { in getNetworkSuggestionsForFqdn() argument
1823 getNetworkSuggestionsForFqdnMatch(fqdn); in getNetworkSuggestionsForFqdn()
1850 + approvedExtNetworkSuggestions + " for " + fqdn); in getNetworkSuggestionsForFqdn()
DWifiServiceImpl.java4352 public void allowAutojoinPasspoint(String fqdn, boolean enableAutojoin) { in allowAutojoinPasspoint() argument
4354 if (fqdn == null) { in allowAutojoinPasspoint()
4361 () -> mPasspointManager.enableAutojoin(null, fqdn, enableAutojoin), in allowAutojoinPasspoint()
4418 public void setMacRandomizationSettingPasspointEnabled(String fqdn, boolean enable) { in setMacRandomizationSettingPasspointEnabled() argument
4420 if (fqdn == null) { in setMacRandomizationSettingPasspointEnabled()
4428 () -> mPasspointManager.enableMacRandomization(fqdn, enable), in setMacRandomizationSettingPasspointEnabled()
4438 public void setPasspointMeteredOverride(String fqdn, int meteredOverride) { in setPasspointMeteredOverride() argument
4440 if (fqdn == null) { in setPasspointMeteredOverride()
4448 () -> mPasspointManager.setMeteredOverride(fqdn, meteredOverride), in setPasspointMeteredOverride()
4756 public boolean removePasspointConfiguration(String fqdn, String packageName) {
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java2778 final String fqdn = "FullyQualifiedDomainName"; in testAllowAutojoinPasspoint() local
2779 mWifiManager.allowAutojoinPasspoint(fqdn, true); in testAllowAutojoinPasspoint()
2780 verify(mWifiService).allowAutojoinPasspoint(fqdn, true); in testAllowAutojoinPasspoint()
2789 final String fqdn = "FullyQualifiedDomainName"; in testSetMacRandomizationSettingPasspointEnabled() local
2790 mWifiManager.setMacRandomizationSettingPasspointEnabled(fqdn, true); in testSetMacRandomizationSettingPasspointEnabled()
2791 verify(mWifiService).setMacRandomizationSettingPasspointEnabled(fqdn, true); in testSetMacRandomizationSettingPasspointEnabled()
2800 final String fqdn = "FullyQualifiedDomainName"; in testSetPasspointMeteredOverride() local
2801 mWifiManager.setPasspointMeteredOverride(fqdn, METERED_OVERRIDE_METERED); in testSetPasspointMeteredOverride()
2802 verify(mWifiService).setPasspointMeteredOverride(fqdn, METERED_OVERRIDE_METERED); in testSetPasspointMeteredOverride()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeIdPayloadTest.java142 assertEquals(FQDN, ikeId.fqdn); in testDecodeFqdnIdPayload()

12