Home
last modified time | relevance | path

Searched refs:setDnsServers (Results 1 – 25 of 32) sorted by relevance

12

/packages/modules/Connectivity/Tethering/src/android/net/dhcp/
DDhcpServingParamsParcelExt.java90 public DhcpServingParamsParcelExt setDnsServers(@NonNull Set<Inet4Address> dnsServers) { in setDnsServers() method in DhcpServingParamsParcelExt
100 public DhcpServingParamsParcelExt setDnsServers(@NonNull Inet4Address... dnsServers) { in setDnsServers() method in DhcpServingParamsParcelExt
101 return setDnsServers(newArraySet(dnsServers)); in setDnsServers()
110 return setDnsServers(); in setNoDnsServer()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpServingParams.java156 .setDnsServers(toInet4AddressSet(parcel.dnsServers)) in fromParcelableObject()
268 public Builder setDnsServers(@NonNull Set<Inet4Address> dnsServers) { in setDnsServers() method in DhcpServingParams.Builder
279 public Builder setDnsServers(@NonNull Inet4Address... dnsServers) { in setDnsServers() method in DhcpServingParams.Builder
280 return setDnsServers(makeArraySet(dnsServers)); in setDnsServers()
289 return setDnsServers(); in withNoDnsServer()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DIpConfigStoreTest.java75 .setDnsServers(DNS_SERVERS)
80 .setDnsServers(DNS_SERVERS)
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetTrackerTest.java121 .setDnsServers(dnsAddresses) in createStaticIpConfiguration()
129 .setDnsServers(dnsAddresses) in createStaticIpConfiguration()
DEthernetConfigStoreTest.java56 .setDnsServers(new ArrayList<InetAddress>(
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpServingParamsTest.java75 .setDnsServers(TEST_DNS_SERVERS) in setUp()
93 .setDnsServers(dnsServers) in testBuild_Immutable()
DDhcpServerTest.java180 .setDnsServers(TEST_DNS_SERVERS) in makeServingParams()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DStaticIpConfigurationTest.java246 .setDnsServers(dnsServers) in testBuilder()
278 StaticIpConfiguration.Builder b = new StaticIpConfiguration.Builder().setDnsServers( in testIllegalBuilders()
DIpConfigurationTest.java68 .setDnsServers(dnsServers) in setUp()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/dhcp/
DDhcpServingParamsParcelExtTest.java80 mParcel.setDnsServers(TEST_ADDRESS_SET); in testSetDnsServers()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder_client_ndk.h66 constexpr Builder& setDnsServers(const std::vector<std::string>& servers) { in setDnsServers() function
Ddns_responder_client_ndk.cpp124 .setDnsServers(servers) in SetResolversForNetwork()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DAdvancedOptionsFlowUtil.java161 staticIpBuilder.setDnsServers(dnsServers); in processIpSettings()
/packages/modules/Connectivity/framework/src/android/net/
DStaticIpConfiguration.java153 public @NonNull Builder setDnsServers(@NonNull Iterable<InetAddress> dnsServers) { in setDnsServers() method in StaticIpConfiguration.Builder
DLinkProperties.java407 public void setDnsServers(@NonNull Collection<InetAddress> dnsServers) { in setDnsServers() method in LinkProperties
/packages/modules/NetworkStack/src/android/net/
DDhcpResults.java80 .setDnsServers(dnsServers) in toStaticIpConfiguration()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DIpConfigStore.java180 staticIPBuilder.setDnsServers(dnsServerAddresses); in readIpConfigurations()
/packages/modules/DnsResolver/tests/
Ddnsresolver_binder_test.cpp388 .setDnsServers(LOCALLY_ASSIGNED_DNS) in TEST_F()
488 .setDnsServers(servers) in TEST_F()
Dresolv_integration_test.cpp679 .setDnsServers(servers) in TEST_F()
876 .setDnsServers(servers_for_t1) in TEST_F()
892 .setDnsServers(servers_for_t2) in TEST_F()
911 .setDnsServers(servers_for_t3) in TEST_F()
1269 .setDnsServers(servers) in TEST_F()
1327 .setDnsServers({listen_addr0, listen_addr1}) in TEST_F()
1896 .setDnsServers(servers) in TEST_F()
2173 .setDnsServers(servers) in TEST_F()
2342 auto builder = ResolverParams::Builder().setDnsServers(servers).setDotServers(servers); in TEST_F()
4122 auto builder = ResolverParams::Builder().setDnsServers(servers).setDotServers(servers); in TEST_F()
[all …]
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DIpConfigStore.java374 .setDnsServers(dnsServers) in readIpConfigurations()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java683 builder.setDnsServers(dnsServerAddresses); in parseIpConfigurationFromXml()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClientLinkObserver.java719 lp.setDnsServers(mCurrentServers); in setDnsServersOn()
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/
DEthernetTetheringTestBase.java659 lp.setDnsServers(dnses); in createTestUpstream()
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/
DEthernetTracker.java912 staticIpConfigBuilder.setDnsServers(dnsAddresses); in parseStaticIpConfiguration()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java938 .setDnsServers(staticIpConfiguration.getDnsServers()) in validateIpConfigFields()
1005 staticIPBuilder.setDnsServers(dnsServers); in validateIpConfigFields()

12