Methods Summary |
---|
public void | advisePersistThreshold(long thresholdBytes)Advise persistance threshold; may be overridden internally.
|
public void | forceUpdate()Force update of statistics.
|
public void | forceUpdateIfaces()Force update of ifaces.
|
public android.net.NetworkStats | getDataLayerSnapshotForUid(int uid)Return data layer snapshot of UID network usage.
|
public java.lang.String[] | getMobileIfaces()Return set of any ifaces associated with mobile networks since boot.
|
public long | getNetworkTotalBytes(android.net.NetworkTemplate template, long start, long end)Return network layer usage total for traffic that matches template.
|
public void | incrementOperationCount(int uid, int tag, int operationCount)Increment data layer count of operations performed for UID and tag.
|
public android.net.INetworkStatsSession | openSession()Start a statistics query session.
|
public void | setUidForeground(int uid, boolean uidForeground)Mark given UID as being in foreground for stats purposes.
|