Home
last modified time | relevance | path

Searched refs:dnses (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataCallResponseTest.java48 mDcResponse.dnses = new String[]{"98.76.54.32"}; in setUp()
72 assertEquals(mDcResponse.dnses.length, linkProperties.getDnsServers().size()); in testSetLinkProperties()
73 for (int i = 0; i < mDcResponse.dnses.length; ++i) { in testSetLinkProperties()
74 assertEquals("i = " + i, mDcResponse.dnses[i], in testSetLinkProperties()
DDcTrackerTest.java342 dcResponse.dnses = new String[]{FAKE_DNS}; in createDataCallResponse()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataCallResponse.java48 public String [] dnses = new String[0]; field in DataCallResponse
96 for (String addr : dnses) { in toString()
100 if (dnses.length > 0) sb.deleteCharAt(sb.length()-1); in toString()
177 if (dnses != null && dnses.length > 0) { in setLinkProperties()
178 for (String addr : dnses) { in setLinkProperties()
DDataConnection.java446 response.dnses = new String[0]; in onConnect()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java1757 final Collection<InetAddress> dnses = lp.getDnsServers(); in setDnsForwarders() local
1759 if (dnses != null && !dnses.isEmpty()) { in setDnsForwarders()
1761 dnsServers = NetworkUtils.makeStrings(dnses); in setDnsForwarders()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java3827 String dnses = p.readString(); in getDataCallResponse() local
3828 if (!TextUtils.isEmpty(dnses)) { in getDataCallResponse()
3829 dataCall.dnses = dnses.split(" "); in getDataCallResponse()
3888 String dnses = p.readString(); in responseSetupDataCall() local
3889 if (RILJ_LOGD) riljLog("responseSetupDataCall got dnses=" + dnses); in responseSetupDataCall()
3890 if (!TextUtils.isEmpty(dnses)) { in responseSetupDataCall()
3891 dataCall.dnses = dnses.split(" "); in responseSetupDataCall()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java4383 Collection<InetAddress> dnses = newLp.getDnsServers(); in updateDnses() local
4384 if (DBG) log("Setting DNS servers for network " + netId + " to " + dnses); in updateDnses()
4387 netId, NetworkUtils.makeStrings(dnses), newLp.getDomains()); in updateDnses()
4393 setDefaultDnsSystemProperties(dnses); in updateDnses()
4398 private void setDefaultDnsSystemProperties(Collection<InetAddress> dnses) { in setDefaultDnsSystemProperties() argument
4400 for (InetAddress dns : dnses) { in setDefaultDnsSystemProperties()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DSimulatedCommands.java1106 mDcResponse.dnses = new String[]{"98.76.54.32"}; in setupDataCall()