Home
last modified time | relevance | path

Searched refs:dhcpResults (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/net/
DDhcpResults.java198 final DhcpResults dhcpResults = new DhcpResults(s); in readFromParcel() local
199 dhcpResults.leaseDuration = in.readInt(); in readFromParcel()
200 dhcpResults.mtu = in.readInt(); in readFromParcel()
201 dhcpResults.serverAddress = (Inet4Address) InetAddressUtils.unparcelInetAddress(in); in readFromParcel()
202 dhcpResults.vendorInfo = in.readString(); in readFromParcel()
203 dhcpResults.serverHostName = in.readString(); in readFromParcel()
204 return dhcpResults; in readFromParcel()
/frameworks/base/services/net/java/android/net/ip/
DIpClientUtil.java118 public void onNewDhcpResults(DhcpResultsParcelable dhcpResults) { in onNewDhcpResults() argument
119 mCb.onNewDhcpResults(fromStableParcelable(dhcpResults)); in onNewDhcpResults()
DIpClientCallbacks.java66 public void onNewDhcpResults(DhcpResults dhcpResults) {} in onNewDhcpResults() argument
DIIpClientCallbacks.aidl35 void onNewDhcpResults(in DhcpResultsParcelable dhcpResults); in onNewDhcpResults() argument
/frameworks/base/services/net/aidl/networkstack/2/android/net/ip/
DIIpClientCallbacks.aidl6 oneway void onNewDhcpResults(in android.net.DhcpResultsParcelable dhcpResults); in onNewDhcpResults() argument
/frameworks/base/services/net/aidl/networkstack/1/android/net/ip/
DIIpClientCallbacks.aidl6 oneway void onNewDhcpResults(in android.net.DhcpResultsParcelable dhcpResults); in onNewDhcpResults() argument
/frameworks/base/services/net/aidl/networkstack/3/android/net/ip/
DIIpClientCallbacks.aidl23 oneway void onNewDhcpResults(in android.net.DhcpResultsParcelable dhcpResults); in onNewDhcpResults() argument
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java309 private void injectDhcpSuccess(DhcpResults dhcpResults) { in injectDhcpSuccess() argument
310 mIpClientCallback.onNewDhcpResults(dhcpResults); in injectDhcpSuccess()
1009 DhcpResults dhcpResults = new DhcpResults(); in connect() local
1010 dhcpResults.setGateway("1.2.3.4"); in connect()
1011 dhcpResults.setIpAddress("192.168.1.100", 0); in connect()
1012 dhcpResults.addDns("8.8.8.8"); in connect()
1013 dhcpResults.setLeaseDuration(3600); in connect()
1015 injectDhcpSuccess(dhcpResults); in connect()
1958 DhcpResults dhcpResults = new DhcpResults(); in disconnectFromNetworkWhenRemovedWhileObtainingIpAddr() local
1959 dhcpResults.setGateway("1.2.3.4"); in disconnectFromNetworkWhenRemovedWhileObtainingIpAddr()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java2455 DhcpResults dhcpResults = mClientModeImpl.syncGetDhcpResults(); in getDhcpInfo() local
2459 if (dhcpResults.ipAddress != null && in getDhcpInfo()
2460 dhcpResults.ipAddress.getAddress() instanceof Inet4Address) { in getDhcpInfo()
2462 (Inet4Address) dhcpResults.ipAddress.getAddress()); in getDhcpInfo()
2465 if (dhcpResults.gateway != null) { in getDhcpInfo()
2466 info.gateway = NetworkUtils.inetAddressToInt((Inet4Address) dhcpResults.gateway); in getDhcpInfo()
2470 for (InetAddress dns : dhcpResults.dnsServers) { in getDhcpInfo()
2480 Inet4Address serverAddress = dhcpResults.serverAddress; in getDhcpInfo()
2484 info.leaseDuration = dhcpResults.leaseDuration; in getDhcpInfo()
DClientModeImpl.java1010 public void onNewDhcpResults(DhcpResults dhcpResults) { in onNewDhcpResults() argument
1011 if (dhcpResults != null) { in onNewDhcpResults()
1012 sendMessage(CMD_IPV4_PROVISIONING_SUCCESS, dhcpResults); in onNewDhcpResults()
3166 private void handleIPv4Success(DhcpResults dhcpResults) { in handleIPv4Success() argument
3168 logd("handleIPv4Success <" + dhcpResults.toString() + ">"); in handleIPv4Success()
3169 logd("link address " + dhcpResults.ipAddress); in handleIPv4Success()
3174 mDhcpResults = dhcpResults; in handleIPv4Success()
3175 addr = (Inet4Address) dhcpResults.ipAddress.getAddress(); in handleIPv4Success()
3196 if (dhcpResults.hasMeteredHint()) { in handleIPv4Success()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java567 public void onNewDhcpResults(DhcpResults dhcpResults) { in onNewDhcpResults() argument
568 mP2pStateMachine.sendMessage(IPC_DHCP_RESULTS, dhcpResults); in onNewDhcpResults()