Lines Matching defs:NetworkStats
19 import static android.net.NetworkStats.IFACE_ALL;
20 import static android.net.NetworkStats.SET_ALL;
21 import static android.net.NetworkStats.SET_DEFAULT;
22 import static android.net.NetworkStats.TAG_NONE;
23 import static android.net.NetworkStats.UID_ALL;
30 import android.net.NetworkStats;
167 public NetworkStats getSummary(NetworkTemplate template, long start, long end) {
170 final NetworkStats stats = new NetworkStats(end - start, 24);
171 final NetworkStats.Entry entry = new NetworkStats.Entry();
203 * Record given {@link android.net.NetworkStats.Entry} into this collection.
206 long end, NetworkStats.Entry entry) {
438 * moving any {@link NetworkStats#TAG_NONE} series to
481 pw.print(" set="); pw.print(NetworkStats.setToString(key.set));
482 pw.print(" tag="); pw.println(NetworkStats.tagToString(key.tag));
531 pw.print(NetworkStats.setToCheckinString(key.set)); pw.print(',');