/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
NetworkStatsFactoryTest.java | 22 import static android.net.NetworkStats.UID_ALL; 96 assertStatsEntry(stats, "lo", UID_ALL, SET_DEFAULT, TAG_NONE, 8308L, 8308L); 97 assertStatsEntry(stats, "rmnet0", UID_ALL, SET_DEFAULT, TAG_NONE, 1507570L, 489339L); 98 assertStatsEntry(stats, "ifb0", UID_ALL, SET_DEFAULT, TAG_NONE, 52454L, 0L); 99 assertStatsEntry(stats, "ifb1", UID_ALL, SET_DEFAULT, TAG_NONE, 52454L, 0L); 100 assertStatsEntry(stats, "sit0", UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L); 101 assertStatsEntry(stats, "ip6tnl0", UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L); 114 assertStatsEntry(stats, "rmnet0", UID_ALL, SET_DEFAULT, TAG_NONE, 1507570L, 489339L); 115 assertStatsEntry(stats, "wlan0", UID_ALL, SET_DEFAULT, TAG_NONE, 1024L, 2048L); 127 assertStatsEntry(stats, "rmnet0", UID_ALL, SET_DEFAULT, TAG_NONE, 1507570L + 10L [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
NetworkStatsTest.java | 24 import static android.net.NetworkStats.UID_ALL; 149 .addValues(TEST_IFACE, UID_ALL, SET_DEFAULT, TAG_NONE, 1024L, 0L, 0L, 0L, 0) 150 .addValues(TEST_IFACE2, UID_ALL, SET_DEFAULT, TAG_NONE, 2048L, 0L, 0L, 0L, 0); 153 .addValues(TEST_IFACE2, UID_ALL, SET_DEFAULT, TAG_NONE, 2049L, 2L, 3L, 4L, 0); 159 assertValues(result, 0, TEST_IFACE2, UID_ALL, SET_DEFAULT, TAG_NONE, 1L, 2L, 3L, 4L, 0); 165 .addValues(TEST_IFACE, UID_ALL, SET_DEFAULT, TAG_NONE, 128L, 0L, 0L, 0L, 0L) 166 .addValues(TEST_IFACE2, UID_ALL, SET_DEFAULT, TAG_NONE, 256L, 0L, 0L, 0L, 0L); 202 assertValues(grouped, 0, IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE, 256L, 16L, 0L, 4L, 0L); 219 assertValues(grouped, 0, TEST_IFACE, UID_ALL, SET_ALL, TAG_NONE, 256L, 16L, 0L, 2L, 0L); 220 assertValues(grouped, 1, TEST_IFACE2, UID_ALL, SET_ALL, TAG_NONE, 1024L, 64L, 0L, 0L, 0L) [all...] |
/frameworks/base/core/java/com/android/internal/net/ |
NetworkStatsFactory.java | 21 import static android.net.NetworkStats.UID_ALL; 127 entry.uid = UID_ALL; 186 entry.uid = UID_ALL; 214 entry.uid = UID_ALL; 247 return readNetworkStatsDetail(UID_ALL); 304 if (limitUid == UID_ALL || limitUid == entry.uid) {
|
/frameworks/base/core/java/android/net/ |
NetworkStats.java | 47 public static final int UID_ALL = -1; 85 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); 89 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, 169 iface, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, 0L); 365 return getTotal(recycle, null, UID_ALL); 381 return getTotal(recycle, limitIface, UID_ALL); 405 final boolean matchesUid = (limitUid == UID_ALL) || (limitUid == uid[i]); 519 entry.uid = UID_ALL;
|
NetworkStatsHistory.java | 22 import static android.net.NetworkStats.UID_ALL; 261 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, 0L, txBytes, 0L, 0L)); 321 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); 504 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
ThrottleServiceTest.java | 21 import static android.net.NetworkStats.UID_ALL; 295 stats.addValues(TEST_IFACE, UID_ALL, SET_DEFAULT, TAG_NONE, rx, 0L, tx, 0L, 0);
|
NetworkStatsServiceTest.java | 30 import static android.net.NetworkStats.UID_ALL; [all...] |
/frameworks/base/services/java/com/android/server/net/ |
NetworkStatsService.java | 34 import static android.net.NetworkStats.UID_ALL; 455 entry.uid = UID_ALL; 756 mLastPollUidSnapshot = mNetworkManager.getNetworkStatsUidDetail(UID_ALL); [all...] |
/frameworks/base/services/java/com/android/server/ |
NetworkManagementService.java | 25 import static android.net.NetworkStats.UID_ALL; [all...] |
ThrottleService.java | 515 final int index = stats.findIndex(mIface, NetworkStats.UID_ALL, [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
BatteryStatsImpl.java | 20 import static android.net.NetworkStats.UID_ALL; [all...] |