Searched refs:addDnsServer (Results 1 – 13 of 13) sorted by relevance
105 source.addDnsServer(DNS1); in testEqualsSameOrder()106 source.addDnsServer(DNS2); in testEqualsSameOrder()118 target.addDnsServer(DNS1); in testEqualsSameOrder()119 target.addDnsServer(DNS2); in testEqualsSameOrder()131 target.addDnsServer(DNS1); in testEqualsSameOrder()132 target.addDnsServer(DNS2); in testEqualsSameOrder()144 target.addDnsServer(DNS1); in testEqualsSameOrder()145 target.addDnsServer(DNS2); in testEqualsSameOrder()156 target.addDnsServer(NetworkUtils.numericToInetAddress("75.208.7.2")); in testEqualsSameOrder()157 target.addDnsServer(DNS2); in testEqualsSameOrder()[all …]
175 expected.addDnsServer(DNS1); in testToLinkProperties()180 expected.addDnsServer(DNS2); in testToLinkProperties()181 expected.addDnsServer(DNS3); in testToLinkProperties()
537 public Builder addDnsServer(InetAddress address) { in addDnsServer() method in VpnService.Builder559 public Builder addDnsServer(String address) { in addDnsServer() method in VpnService.Builder560 return addDnsServer(InetAddress.parseNumericAddress(address)); in addDnsServer()
333 public boolean addDnsServer(InetAddress dnsServer) { in addDnsServer() method in LinkProperties365 addDnsServer(dnsServer); in setDnsServers()1164 netProp.addDnsServer(InetAddress.getByAddress(in.createByteArray()));
114 lp.addDnsServer(dns); in toLinkProperties()
204 linkProperties.addDnsServer(ia); in setLinkProperties()221 linkProperties.addDnsServer(ia); in setLinkProperties()
183 mLinkProperties.addDnsServer(TEST_DNS4); in NetworkDiagnostics()189 mLinkProperties.addDnsServer(TEST_DNS6); in NetworkDiagnostics()
642 lp.addDnsServer(address); in makeLinkProperties()
305 v6only.addDnsServer(dnsServer); in getIPv6OnlyLinkProperties()
933 lp.addDnsServer(dns); in addAllReachableDnsServers()
17464 method public android.net.VpnService.Builder addDnsServer(java.net.InetAddress);17465 method public android.net.VpnService.Builder addDnsServer(java.lang.String);
25914 method public android.net.VpnService.Builder addDnsServer(java.net.InetAddress);25915 method public android.net.VpnService.Builder addDnsServer(java.lang.String);
28178 method public android.net.VpnService.Builder addDnsServer(java.net.InetAddress);28179 method public android.net.VpnService.Builder addDnsServer(java.lang.String);