/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 | 22 import static android.net.NetworkStats.UID_ALL; 104 entry.uid = UID_ALL; 162 entry.uid = UID_ALL; 186 return readNetworkStatsDetail(UID_ALL, null, TAG_ALL, null); 301 && (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 | 48 public static final int UID_ALL = -1; 91 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); 95 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, 232 iface, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, 0L); 458 return getTotal(recycle, null, UID_ALL, false); 474 return getTotal(recycle, limitIface, UID_ALL, false); 478 return getTotal(recycle, null, UID_ALL, true); 503 final boolean matchesUid = (limitUid == UID_ALL) || (limitUid == uid[i]); 635 entry.uid = UID_ALL;
|
NetworkStatsHistory.java | 22 import static android.net.NetworkStats.UID_ALL; 289 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, 0L, txBytes, 0L, 0L)); 363 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); 552 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/core/java/com/android/server/net/ |
NetworkStatsCollection.java | 23 import static android.net.NetworkStats.UID_ALL; 355 final Key key = new Key(ident, UID_ALL, SET_ALL, TAG_NONE);
|
NetworkStatsService.java | 35 import static android.net.NetworkStats.UID_ALL; 518 return mXtStatsCached.getHistory(template, UID_ALL, SET_ALL, TAG_NONE, fields); [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkStatsServiceTest.java | 30 import static android.net.NetworkStats.UID_ALL; [all...] |
/frameworks/base/services/core/java/com/android/server/ |
NetworkManagementService.java | 25 import static android.net.NetworkStats.UID_ALL; [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
BatteryStatsImpl.java | 19 import static android.net.NetworkStats.UID_ALL; [all...] |