summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2010-01-22 15:20:18 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-01-22 15:20:18 -0800
commit63454ebcc9604407152ee54e29ee91c726374f56 (patch)
treea24606cfdc3ea2b75f0e84518f10e33714975a5a /core/java
parentbf81cacc962cdf5befdc0934fbb86008ccc11bae (diff)
parented4fc8acc52d89f1d4dec853a29288c6d06717c3 (diff)
Merge "NetworkManagementService: Introduce API methods for configuring interfaces"
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/os/INetworkManagementService.aidl13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/java/android/os/INetworkManagementService.aidl b/core/java/android/os/INetworkManagementService.aidl
index fe416c5d1223..49abb4d7c105 100644
--- a/core/java/android/os/INetworkManagementService.aidl
+++ b/core/java/android/os/INetworkManagementService.aidl
@@ -17,6 +17,8 @@
package android.os;
+import android.net.InterfaceConfiguration;
+
/**
* @hide
*/
@@ -32,6 +34,17 @@ interface INetworkManagementService
String[] listInterfaces();
/**
+ * Retrieves the specified interface config
+ *
+ */
+ InterfaceConfiguration getInterfaceConfig(String iface);
+
+ /**
+ * Sets the configuration of the specified interface
+ */
+ void setInterfaceConfig(String iface, in InterfaceConfiguration cfg);
+
+ /**
* Shuts down the service
*/
void shutdown();