Home
last modified time | relevance | path

Searched refs:gateways (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataCallResponse.java49 public String[] gateways = new String[0]; field in DataCallResponse
102 for (String addr : gateways) { in toString()
106 if (gateways.length > 0) sb.deleteCharAt(sb.length()-1); in toString()
213 if ((gateways == null) || (gateways.length == 0)) { in setLinkProperties()
216 gateways = sysGateways.split(" "); in setLinkProperties()
218 gateways = new String[0]; in setLinkProperties()
221 for (String addr : gateways) { in setLinkProperties()
DDataConnection.java447 response.gateways = new String[0]; in onConnect()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataCallResponseTest.java49 mDcResponse.gateways = new String[]{"11.22.33.44"}; in setUp()
78 assertEquals(mDcResponse.gateways.length, linkProperties.getRoutes().size()); in testSetLinkProperties()
79 for (int i = 0; i < mDcResponse.gateways.length; ++i) { in testSetLinkProperties()
80 assertEquals("i = " + i, mDcResponse.gateways[i], in testSetLinkProperties()
DDcTrackerTest.java343 dcResponse.gateways = new String[]{FAKE_GATEWAY}; in createDataCallResponse()
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpPacket.java739 List<Inet4Address> gateways = new ArrayList<>(); // aka router in decodeFullPacket() local
926 gateways.add(readIpAddress(packet)); in decodeFullPacket()
1070 newPacket.mGateways = gateways; in decodeFullPacket()
1174 List<Inet4Address> gateways, List<Inet4Address> dnsServers, in buildOfferPacket() argument
1178 pkt.mGateways = gateways; in buildOfferPacket()
1194 List<Inet4Address> gateways, List<Inet4Address> dnsServers, in buildAckPacket() argument
1198 pkt.mGateways = gateways; in buildAckPacket()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java3831 String gateways = p.readString(); in getDataCallResponse() local
3832 if (!TextUtils.isEmpty(gateways)) { in getDataCallResponse()
3833 dataCall.gateways = gateways.split(" "); in getDataCallResponse()
3895 String gateways = p.readString(); in responseSetupDataCall() local
3896 if (RILJ_LOGD) riljLog("responseSetupDataCall got gateways=" + gateways); in responseSetupDataCall()
3897 if (!TextUtils.isEmpty(gateways)) { in responseSetupDataCall()
3898 dataCall.gateways = gateways.split(" "); in responseSetupDataCall()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DSimulatedCommands.java1107 mDcResponse.gateways = new String[]{"11.22.33.44"}; in setupDataCall()