Home
last modified time | relevance | path

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

/frameworks/base/tests/net/common/java/android/net/
DLinkPropertiesTest.java144 lp.addDnsServer(DNS1); in makeTestObject()
145 lp.addDnsServer(DNS2); in makeTestObject()
241 source.addDnsServer(DNS1); in testEqualsSameOrder()
242 source.addDnsServer(DNS2); in testEqualsSameOrder()
256 target.addDnsServer(DNS1); in testEqualsSameOrder()
257 target.addDnsServer(DNS2); in testEqualsSameOrder()
270 target.addDnsServer(DNS1); in testEqualsSameOrder()
271 target.addDnsServer(DNS2); in testEqualsSameOrder()
283 target.addDnsServer(DNS1); in testEqualsSameOrder()
284 target.addDnsServer(DNS2); in testEqualsSameOrder()
[all …]
DStaticIpConfigurationTest.java171 expected.addDnsServer(DNS1); in testToLinkProperties()
176 expected.addDnsServer(DNS2); in testToLinkProperties()
177 expected.addDnsServer(DNS3); in testToLinkProperties()
249 s.addDnsServer(DNS1); in testAddDnsServers()
253 s.addDnsServer(DNS2); in testAddDnsServers()
254 s.addDnsServer(DNS3); in testAddDnsServers()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DDnsManagerTest.java156 lp.addDnsServer(InetAddress.getByName("3.3.3.3")); in testTrackedValidationUpdates()
157 lp.addDnsServer(InetAddress.getByName("4.4.4.4")); in testTrackedValidationUpdates()
232 lp.addDnsServer(InetAddress.getByName("3.3.3.3")); in testIgnoreUntrackedValidationUpdates()
340 lp.addDnsServer(InetAddress.getByName("3.3.3.3")); in testSendDnsConfiguration()
341 lp.addDnsServer(InetAddress.getByName("4.4.4.4")); in testSendDnsConfiguration()
396 lp.addDnsServer(dnsAddr); in testGetPrivateDnsConfigForNetwork()
/frameworks/libs/net/common/tests/unit/src/android/net/util/
DLinkPropertiesUtilsTest.java72 lp.addDnsServer(DNS1); in createTestObject()
73 lp.addDnsServer(DNS2); in createTestObject()
125 target.addDnsServer(toInetAddress("75.208.10.1")); in testLinkPropertiesIdenticalEqual()
/frameworks/base/core/java/android/net/
DVpnService.java632 public Builder addDnsServer(@NonNull InetAddress address) { in addDnsServer() method in VpnService.Builder
655 public Builder addDnsServer(@NonNull String address) { in addDnsServer() method in VpnService.Builder
656 return addDnsServer(InetAddress.parseNumericAddress(address)); in addDnsServer()
DStaticIpConfiguration.java194 public void addDnsServer(@NonNull InetAddress server) { in addDnsServer() method in StaticIpConfiguration
238 lp.addDnsServer(dns); in toLinkProperties()
DDhcpResults.java278 public void addDnsServer(InetAddress server) { in addDnsServer() method in DhcpResults
DLinkProperties.java381 public boolean addDnsServer(@NonNull InetAddress dnsServer) { in addDnsServer() method in LinkProperties
411 addDnsServer(dnsServer); in setDnsServers()
1861 netProp.addDnsServer(readAddress(in));
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DIPv6TetheringCoordinatorTest.java93 linkProp.addDnsServer(dns); in createDualStackUpstream()
DTetheringTest.java455 prop.addDnsServer(InetAddresses.parseNumericAddress("2001:db8::2")); in buildMobileUpstreamState()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DIPv6TetheringCoordinator.java254 v6only.addDnsServer(dnsServer); in getIPv6OnlyLinkProperties()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkDiagnostics.java199 mLinkProperties.addDnsServer(TEST_DNS4); in NetworkDiagnostics()
205 mLinkProperties.addDnsServer(TEST_DNS6); in NetworkDiagnostics()
DVpn.java1034 lp.addDnsServer(address);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java113 lp4.addDnsServer(dns1); in createProvisionedLinkProperties()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java4871 cellLp.addDnsServer(InetAddress.getByName("2001:db8::1")); in testBasicDnsConfigurationPushed()
4883 cellLp.addDnsServer(InetAddress.getByName("192.0.2.1")); in testBasicDnsConfigurationPushed()
5006 cellLp.addDnsServer(InetAddress.getByName("2001:db8::1")); in testPrivateDnsSettingsChange()
5007 cellLp.addDnsServer(InetAddress.getByName("192.0.2.1")); in testPrivateDnsSettingsChange()
5104 lp2.addDnsServer(InetAddress.getByName("145.100.185.16")); in testLinkPropertiesWithPrivateDnsValidationEvents()
6167 cellLp.addDnsServer(InetAddress.getByName("8.8.8.8")); in testStackedLinkProperties()
6305 baseLp.addDnsServer(InetAddress.getByName("2001:4860:4860::6464")); in testNat64PrefixMultipleSources()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java1531 linkProperties.addDnsServer(dns); in setLinkProperties()
1545 linkProperties.addDnsServer(ia); in setLinkProperties()
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java931 linkProp.addDnsServer(dns); in buildIpv6OnlyLinkProperties()
/frameworks/base/api/
Dtest-current.txt2082 method public boolean addDnsServer(@NonNull java.net.InetAddress);
2160 method public void addDnsServer(@NonNull java.net.InetAddress);
Dsystem-current.txt6152 method public boolean addDnsServer(@NonNull java.net.InetAddress);
6425 method public void addDnsServer(@NonNull java.net.InetAddress);
Dcurrent.txt30686 … method @NonNull public android.net.VpnService.Builder addDnsServer(@NonNull java.net.InetAddress);
30687 method @NonNull public android.net.VpnService.Builder addDnsServer(@NonNull String);
/frameworks/base/non-updatable-api/
Dsystem-current.txt6100 method public boolean addDnsServer(@NonNull java.net.InetAddress);
6373 method public void addDnsServer(@NonNull java.net.InetAddress);
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17464 method public android.net.VpnService.Builder addDnsServer(java.net.InetAddress);
17465 method public android.net.VpnService.Builder addDnsServer(java.lang.String);
/frameworks/base/config/
Dboot-image-profile.txt13913 HSPLandroid/net/LinkProperties;->addDnsServer(Ljava/net/InetAddress;)Z