diff options
author | Irfan Sheriff <isheriff@google.com> | 2011-06-22 11:01:16 -0700 |
---|---|---|
committer | Irfan Sheriff <isheriff@google.com> | 2011-06-22 11:01:16 -0700 |
commit | cf99765b6255d73aa4fbc61d5bd78ec65fbd0370 (patch) | |
tree | a8a3bb0cec1d2d22527902d3b3e283e1028bff83 /core/java/android/net/NetworkUtils.java | |
parent | 5d5b73be515d839d72e1cf7aeffdfdfb56d66045 (diff) | |
parent | 914ed90f2c02092474d2db36626734ca1b2cf315 (diff) | |
download | frameworks_base-cf99765b6255d73aa4fbc61d5bd78ec65fbd0370.zip frameworks_base-cf99765b6255d73aa4fbc61d5bd78ec65fbd0370.tar.gz frameworks_base-cf99765b6255d73aa4fbc61d5bd78ec65fbd0370.tar.bz2 |
resolved conflicts for merge of 914ed90f to honeycomb-LTE
Change-Id: I616b7ba5c27d0cc4247f5cce4303effe14658e1e
Diffstat (limited to 'core/java/android/net/NetworkUtils.java')
-rw-r--r-- | core/java/android/net/NetworkUtils.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/net/NetworkUtils.java b/core/java/android/net/NetworkUtils.java index cb9caf8..8a678d6 100644 --- a/core/java/android/net/NetworkUtils.java +++ b/core/java/android/net/NetworkUtils.java @@ -54,6 +54,16 @@ public class NetworkUtils { public native static boolean runDhcp(String interfaceName, DhcpInfoInternal ipInfo); /** + * Initiate renewal on the Dhcp client daemon. This call blocks until it obtains + * a result (either success or failure) from the daemon. + * @param interfaceName the name of the interface to configure + * @param ipInfo if the request succeeds, this object is filled in with + * the IP address information. + * @return {@code true} for success, {@code false} for failure + */ + public native static boolean runDhcpRenew(String interfaceName, DhcpInfoInternal ipInfo); + + /** * Shut down the DHCP client daemon. * @param interfaceName the name of the interface for which the daemon * should be stopped |