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/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.java277 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/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/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.java111 lp4.addDnsServer(dns1); in createProvisionedLinkProperties()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java4879 cellLp.addDnsServer(InetAddress.getByName("2001:db8::1")); in testBasicDnsConfigurationPushed()
4891 cellLp.addDnsServer(InetAddress.getByName("192.0.2.1")); in testBasicDnsConfigurationPushed()
5014 cellLp.addDnsServer(InetAddress.getByName("2001:db8::1")); in testPrivateDnsSettingsChange()
5015 cellLp.addDnsServer(InetAddress.getByName("192.0.2.1")); in testPrivateDnsSettingsChange()
5112 lp2.addDnsServer(InetAddress.getByName("145.100.185.16")); in testLinkPropertiesWithPrivateDnsValidationEvents()
6175 cellLp.addDnsServer(InetAddress.getByName("8.8.8.8")); in testStackedLinkProperties()
6313 baseLp.addDnsServer(InetAddress.getByName("2001:4860:4860::6464")); in testNat64PrefixMultipleSources()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java1549 linkProperties.addDnsServer(dns); in setLinkProperties()
1563 linkProperties.addDnsServer(ia); in setLinkProperties()
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java937 linkProp.addDnsServer(dns); in buildIpv6OnlyLinkProperties()
/frameworks/base/api/
Dtest-current.txt1489 method public boolean addDnsServer(@NonNull java.net.InetAddress);
1567 method public void addDnsServer(@NonNull java.net.InetAddress);
Dsystem-current.txt4476 method public boolean addDnsServer(@NonNull java.net.InetAddress);
4748 method public void addDnsServer(@NonNull java.net.InetAddress);
Dcurrent.txt29585 … method @NonNull public android.net.VpnService.Builder addDnsServer(@NonNull java.net.InetAddress);
29586 method @NonNull public android.net.VpnService.Builder addDnsServer(@NonNull String);
/frameworks/base/non-updatable-api/
Dsystem-current.txt4476 method public boolean addDnsServer(@NonNull java.net.InetAddress);
4748 method public void addDnsServer(@NonNull java.net.InetAddress);
Dcurrent.txt29455 … method @NonNull public android.net.VpnService.Builder addDnsServer(@NonNull java.net.InetAddress);
29456 method @NonNull public android.net.VpnService.Builder addDnsServer(@NonNull String);
/frameworks/base/config/
Dboot-image-profile.txt10109 HSPLandroid/net/LinkProperties;->addDnsServer(Ljava/net/InetAddress;)Z
10538 HSPLandroid/net/StaticIpConfiguration;->addDnsServer(Ljava/net/InetAddress;)V
/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);