/frameworks/base/core/tests/benchmarks/src/com/android/internal/net/ |
NetworkStatsFactoryBenchmark.java | 43 NetworkStatsFactory.javaReadNetworkStatsDetail(mStats, NetworkStats.UID_ALL); 51 stats, mStats.getAbsolutePath(), NetworkStats.UID_ALL);
|
/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
NetworkStatsFactoryTest.java | 23 import static android.net.NetworkStats.UID_ALL; 112 assertStatsEntry(stats, "rmnet0", UID_ALL, SET_ALL, TAG_NONE, 2112L, 24L, 700L, 10L); 113 assertStatsEntry(stats, "test1", UID_ALL, SET_ALL, TAG_NONE, 6L, 8L, 10L, 12L); 114 assertStatsEntry(stats, "test2", UID_ALL, SET_ALL, TAG_NONE, 1L, 2L, 3L, 4L); 123 assertStatsEntry(stats, "rmnet0", UID_ALL, SET_ALL, TAG_NONE, 6824L, 16L, 5692L, 10L); 124 assertStatsEntry(stats, "rmnet1", UID_ALL, SET_ALL, TAG_NONE, 11153922L, 8051L, 190226L, 2468L); 125 assertStatsEntry(stats, "rmnet2", UID_ALL, SET_ALL, TAG_NONE, 4968L, 35L, 3081L, 39L);
|
/frameworks/base/core/java/com/android/internal/net/ |
NetworkStatsFactory.java | 21 import static android.net.NetworkStats.UID_ALL; 86 entry.uid = UID_ALL; 144 entry.uid = UID_ALL; 168 return readNetworkStatsDetail(UID_ALL); 225 if (limitUid == UID_ALL || limitUid == entry.uid) {
|
/frameworks/base/core/tests/coretests/src/android/net/ |
NetworkStatsTest.java | 24 import static android.net.NetworkStats.UID_ALL; 170 .addValues(TEST_IFACE, UID_ALL, SET_DEFAULT, TAG_NONE, 1024L, 0L, 0L, 0L, 0) 171 .addValues(TEST_IFACE2, UID_ALL, SET_DEFAULT, TAG_NONE, 2048L, 0L, 0L, 0L, 0); 174 .addValues(TEST_IFACE2, UID_ALL, SET_DEFAULT, TAG_NONE, 2049L, 2L, 3L, 4L, 0); 180 assertValues(result, 0, TEST_IFACE2, UID_ALL, SET_DEFAULT, TAG_NONE, 1L, 2L, 3L, 4L, 0); 186 .addValues(TEST_IFACE, UID_ALL, SET_DEFAULT, TAG_NONE, 128L, 0L, 0L, 0L, 0L) 187 .addValues(TEST_IFACE2, UID_ALL, SET_DEFAULT, TAG_NONE, 256L, 0L, 0L, 0L, 0L); 223 assertValues(grouped, 0, IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE, 256L, 16L, 0L, 4L, 0L); 240 assertValues(grouped, 0, TEST_IFACE, UID_ALL, SET_ALL, TAG_NONE, 256L, 16L, 0L, 2L, 0L); 241 assertValues(grouped, 1, TEST_IFACE2, UID_ALL, SET_ALL, TAG_NONE, 1024L, 64L, 0L, 0L, 0L) [all...] |
/frameworks/base/core/java/android/net/ |
NetworkStats.java | 46 public static final int UID_ALL = -1; 86 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); 90 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, 210 iface, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, 0L); 431 return getTotal(recycle, null, UID_ALL, false); 447 return getTotal(recycle, limitIface, UID_ALL, false); 451 return getTotal(recycle, null, UID_ALL, true); 476 final boolean matchesUid = (limitUid == UID_ALL) || (limitUid == uid[i]); 573 entry.uid = UID_ALL;
|
NetworkStatsHistory.java | 22 import static android.net.NetworkStats.UID_ALL; 287 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, 0L, txBytes, 0L, 0L)); 361 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); 550 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
NetworkStatsCollectionTest.java | 21 import static android.net.NetworkStats.UID_ALL; 146 collection.recordData(null, UID_ALL, SET_DEFAULT, TAG_NONE, 30 * MINUTE_IN_MILLIS,
|
/frameworks/base/services/java/com/android/server/net/ |
NetworkStatsService.java | 37 import static android.net.NetworkStats.UID_ALL; 558 return mDevStatsCached.getHistory(template, UID_ALL, SET_ALL, TAG_NONE, fields); 565 template, UID_ALL, SET_ALL, TAG_NONE, fields, Long.MIN_VALUE, firstAtomicBucket); 567 template, UID_ALL, SET_ALL, TAG_NONE, fields, firstAtomicBucket, Long.MAX_VALUE); [all...] |
NetworkStatsCollection.java | 23 import static android.net.NetworkStats.UID_ALL; 349 final Key key = new Key(ident, UID_ALL, SET_ALL, TAG_NONE);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkStatsServiceTest.java | 30 import static android.net.NetworkStats.UID_ALL; [all...] |
/frameworks/base/services/java/com/android/server/ |
NetworkManagementService.java | 24 import static android.net.NetworkStats.UID_ALL; [all...] |