Merge "NetworkManagementService: Introduce API methods for configuring interfaces"

This commit is contained in:
San Mehat
2010-01-22 15:20:18 -08:00
committed by Android (Google) Code Review
2 changed files with 86 additions and 2 deletions

View File

@@ -17,6 +17,8 @@
package android.os;
import android.net.InterfaceConfiguration;
/**
* @hide
*/
@@ -31,6 +33,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
*/