Searched refs:dhcpResults (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/jni/ |
D | android_net_NetUtils.cpp | 116 jobject dhcpResults, bool renew) in android_net_utils_runDhcpCommon() argument 149 env->CallVoidMethod(dhcpResults, dhcpResultsFieldIds.clear); in android_net_utils_runDhcpCommon() 153 env->CallVoidMethod(dhcpResults, dhcpResultsFieldIds.setInterfaceName, ifname); in android_net_utils_runDhcpCommon() 157 result = env->CallBooleanMethod(dhcpResults, dhcpResultsFieldIds.addLinkAddress, in android_net_utils_runDhcpCommon() 164 result = env->CallBooleanMethod(dhcpResults, in android_net_utils_runDhcpCommon() 170 result = env->CallBooleanMethod(dhcpResults, in android_net_utils_runDhcpCommon() 175 env->CallVoidMethod(dhcpResults, dhcpResultsFieldIds.setDomains, in android_net_utils_runDhcpCommon() 178 result = env->CallBooleanMethod(dhcpResults, in android_net_utils_runDhcpCommon() 182 result = env->CallBooleanMethod(dhcpResults, in android_net_utils_runDhcpCommon() 185 result = env->CallBooleanMethod(dhcpResults, in android_net_utils_runDhcpCommon() [all …]
|
/frameworks/base/core/java/android/net/ |
D | DhcpStateMachine.java | 351 DhcpResults dhcpResults = new DhcpResults(); in runDhcp() local 357 success = NetworkUtils.runDhcp(mInterfaceName, dhcpResults); in runDhcp() 360 success = NetworkUtils.runDhcpRenew(mInterfaceName, dhcpResults); in runDhcp() 361 if (success) dhcpResults.updateFromDhcpRequest(mDhcpResults); in runDhcp() 365 long leaseDuration = dhcpResults.leaseDuration; //int to long conversion in runDhcp() 385 mDhcpResults = dhcpResults; in runDhcp() 386 mController.obtainMessage(CMD_POST_DHCP_ACTION, DHCP_SUCCESS, 0, dhcpResults) in runDhcp()
|
D | EthernetDataTracker.java | 168 DhcpResults dhcpResults = new DhcpResults(); in runDhcp() 169 if (!NetworkUtils.runDhcp(mIface, dhcpResults)) { in runDhcp() 173 mLinkProperties = dhcpResults.linkProperties; in runDhcp()
|
D | NetworkUtils.java | 70 public native static boolean runDhcp(String interfaceName, DhcpResults dhcpResults); in runDhcp() argument 80 public native static boolean runDhcpRenew(String interfaceName, DhcpResults dhcpResults); in runDhcpRenew() argument
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothTetheringDataTracker.java | 321 DhcpResults dhcpResults = new DhcpResults(); in startReverseTether() 323 dhcpResults); in startReverseTether() 333 mLinkProperties = dhcpResults.linkProperties; in startReverseTether()
|
/frameworks/base/services/java/com/android/server/wifi/ |
D | WifiService.java | 927 DhcpResults dhcpResults = mWifiStateMachine.syncGetDhcpResults(); in getDhcpInfo() local 928 if (dhcpResults.linkProperties == null) return null; in getDhcpInfo() 931 for (LinkAddress la : dhcpResults.linkProperties.getLinkAddresses()) { in getDhcpInfo() 938 for (RouteInfo r : dhcpResults.linkProperties.getRoutes()) { in getDhcpInfo() 953 for (InetAddress dns : dhcpResults.linkProperties.getDnses()) { in getDhcpInfo() 963 InetAddress serverAddress = dhcpResults.serverAddress; in getDhcpInfo() 967 info.leaseDuration = dhcpResults.leaseDuration; in getDhcpInfo()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiStateMachine.java | 2385 private void handleSuccessfulIpConfiguration(DhcpResults dhcpResults) { in handleSuccessfulIpConfiguration() argument 2389 mDhcpResults = dhcpResults; in handleSuccessfulIpConfiguration() 2391 LinkProperties linkProperties = dhcpResults.linkProperties; in handleSuccessfulIpConfiguration() 2399 mWifiInfo.setMeteredHint(dhcpResults.hasMeteredHint()); in handleSuccessfulIpConfiguration() 3765 DhcpResults dhcpResults = new DhcpResults( in enter() local 3769 dhcpResults.linkProperties.getLinkAddresses().iterator(); in enter() 3779 sendMessage(CMD_STATIC_IP_SUCCESS, dhcpResults); in enter()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pService.java | 1764 DhcpResults dhcpResults = (DhcpResults) message.obj; in processMessage() local 1766 dhcpResults != null) { in processMessage() 1767 if (DBG) logd("DhcpResults: " + dhcpResults); in processMessage() 1768 setWifiP2pInfoOnGroupFormation(dhcpResults.serverAddress); in processMessage()
|