diff options
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/net/INetworkManagementEventObserver.aidl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/core/java/android/net/INetworkManagementEventObserver.aidl b/core/java/android/net/INetworkManagementEventObserver.aidl index f0fe92eb8641..55ae2185c226 100644 --- a/core/java/android/net/INetworkManagementEventObserver.aidl +++ b/core/java/android/net/INetworkManagementEventObserver.aidl @@ -85,11 +85,14 @@ oneway interface INetworkManagementEventObserver { /** * Interface data activity status is changed. * - * @param iface The interface. + * @param label Unique identifier indicates the network type of the data activity change. * @param active True if the interface is actively transmitting data, false if it is idle. * @param tsNanos Elapsed realtime in nanos when the state of the network interface changed. + * @param uid Uid of this event. It represents the uid that was responsible for waking the + * radio. For those events that are reported by system itself, not from specific uid, + * use -1 for the events which means no uid. */ - void interfaceClassDataActivityChanged(String label, boolean active, long tsNanos); + void interfaceClassDataActivityChanged(String label, boolean active, long tsNanos, int uid); /** * Information about available DNS servers has been received. |
