Merge "NetworkManagementService: Introduce API methods for configuring interfaces"
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user