Merge "NetworkManagementService: receive bandwidth controller events"

This commit is contained in:
JP Abgrall
2011-07-21 18:44:52 -07:00
committed by Android (Google) Code Review
6 changed files with 79 additions and 25 deletions

View File

@@ -103,6 +103,10 @@ public class EthernetDataTracker implements NetworkStateTracker {
public void interfaceRemoved(String iface) {
mTracker.interfaceRemoved(iface);
}
public void limitReached(String limitName, String iface) {
// Ignored.
}
}
private EthernetDataTracker() {

View File

@@ -52,4 +52,14 @@ interface INetworkManagementEventObserver {
* @param iface The interface.
*/
void interfaceRemoved(String iface);
/**
* A networking quota limit has been reached. The quota might not
* be specific to an interface.
*
* @param limitName The name of the limit that triggered.
* @param iface The interface on which the limit was detected.
*/
void limitReached(String limitName, String iface);
}