am cab133a7: am 33eb7767: Merge "NetworkManagementService: Add interface counters & throttle API" into froyo
Merge commit 'cab133a7fa39969f136e3f401f97f6ce843514bb' into kraken * commit 'cab133a7fa39969f136e3f401f97f6ce843514bb': NetworkManagementService: Add interface counters & throttle API
This commit is contained in:
@@ -179,4 +179,36 @@ interface INetworkManagementService
|
||||
* Set Access Point config
|
||||
*/
|
||||
void setAccessPoint(in WifiConfiguration wifiConfig, String wlanIface, String softapIface);
|
||||
|
||||
/**
|
||||
* Read number of bytes sent over an interface
|
||||
*/
|
||||
long getInterfaceTxCounter(String iface);
|
||||
|
||||
/**
|
||||
* Read number of bytes received over an interface
|
||||
*/
|
||||
long getInterfaceRxCounter(String iface);
|
||||
|
||||
/**
|
||||
* Configures RX bandwidth throttling on an interface
|
||||
*/
|
||||
void setInterfaceRxThrottle(String iface, int kbps);
|
||||
|
||||
/**
|
||||
* Configures TX bandwidth throttling on an interface
|
||||
*/
|
||||
void setInterfaceTxThrottle(String iface, int kbps);
|
||||
|
||||
/**
|
||||
* Returns the currently configured RX throttle values
|
||||
* for the specified interface
|
||||
*/
|
||||
int getInterfaceRxThrottle(String iface);
|
||||
|
||||
/**
|
||||
* Returns the currently configured TX throttle values
|
||||
* for the specified interface
|
||||
*/
|
||||
int getInterfaceTxThrottle(String iface);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user