HomeSort by relevance Sort by last modified time
    Searched refs:TAG_NONE (Results 1 - 12 of 12) sorted by null

  /frameworks/base/core/tests/coretests/src/android/net/
NetworkStatsTest.java 23 import static android.net.NetworkStats.TAG_NONE;
44 .addValues(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, 1024L, 8L, 0L, 0L, 10)
45 .addValues(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, 0L, 0L, 1024L, 8L, 11)
46 .addValues(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, 1024L, 8L, 1024L, 8L, 12);
48 assertEquals(2, stats.findIndex(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE));
49 assertEquals(2, stats.findIndex(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE));
50 assertEquals(0, stats.findIndex(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE));
51 assertEquals(-1, stats.findIndex(TEST_IFACE, 6, SET_DEFAULT, TAG_NONE));
60 stats.addValues(TEST_IFACE, TEST_UID, SET_DEFAULT, TAG_NONE, 1L, 1L, 2L, 2L, 3);
61 stats.addValues(TEST_IFACE, TEST_UID, SET_DEFAULT, TAG_NONE, 2L, 2L, 2L, 2L, 4)
    [all...]
  /frameworks/base/core/tests/coretests/src/com/android/internal/net/
NetworkStatsFactoryTest.java 21 import static android.net.NetworkStats.TAG_NONE;
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/services/tests/servicestests/src/com/android/server/
NetworkStatsServiceTest.java 29 import static android.net.NetworkStats.TAG_NONE;
253 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 512L, 4L, 256L, 2L, 0L)
255 .addValues(TEST_IFACE, UID_RED, SET_FOREGROUND, TAG_NONE, 512L, 4L, 256L, 2L, 0L)
257 .addValues(TEST_IFACE, UID_BLUE, SET_DEFAULT, TAG_NONE, 128L, 1L, 128L, 1L, 0L));
398 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 1536L, 12L, 512L, 4L, 0L)
400 .addValues(TEST_IFACE, UID_BLUE, SET_DEFAULT, TAG_NONE, 512L, 4L, 0L, 0L, 0L));
437 .addValues(TEST_IFACE, UID_BLUE, SET_DEFAULT, TAG_NONE, 128L, 1L, 1024L, 8L, 0L)
480 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 16L, 1L, 16L, 1L, 0L)
482 .addValues(TEST_IFACE, UID_BLUE, SET_DEFAULT, TAG_NONE, 4096L, 258L, 512L, 32L, 0L)
483 .addValues(TEST_IFACE, UID_GREEN, SET_DEFAULT, TAG_NONE, 16L, 1L, 16L, 1L, 0L))
    [all...]
ThrottleServiceTest.java 20 import static android.net.NetworkStats.TAG_NONE;
295 stats.addValues(TEST_IFACE, UID_ALL, SET_DEFAULT, TAG_NONE, rx, 0L, tx, 0L, 0);
  /packages/apps/Settings/src/com/android/settings/net/
ChartDataLoader.java 21 import static android.net.NetworkStats.TAG_NONE;
128 template, uid, set, TAG_NONE, FIELD_RX_BYTES | FIELD_TX_BYTES);
  /frameworks/base/core/java/android/net/
NetworkStats.java 55 public static final int TAG_NONE = 0;
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);
397 entry.tag = TAG_NONE;
409 // skip specific tags, since already counted in TAG_NONE
410 if (tag[i] != TAG_NONE) continue;
521 entry.tag = TAG_NONE;
525 // skip specific tags, since already counted in TAG_NONE
526 if (tag[i] != TAG_NONE) continue
    [all...]
NetworkStatsHistory.java 21 import static android.net.NetworkStats.TAG_NONE;
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/core/java/com/android/internal/net/
NetworkStatsFactory.java 20 import static android.net.NetworkStats.TAG_NONE;
129 entry.tag = TAG_NONE;
188 entry.tag = TAG_NONE;
216 entry.tag = TAG_NONE;
  /frameworks/base/services/java/com/android/server/net/
NetworkStatsService.java 33 import static android.net.NetworkStats.TAG_NONE;
456 entry.tag = TAG_NONE;
487 // always include summary under TAG_NONE, and include
489 if (key.tag == TAG_NONE || includeTags) {
548 if (tag == TAG_NONE) {
555 mOperations.combineValues(IFACE_ALL, uid, set, TAG_NONE, 0L, 0L, 0L, 0L, operationCount);
    [all...]
  /frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
BandwidthTest.java 208 NetworkStats.TAG_NONE, rx, 0, tx, 0, 0);
  /frameworks/base/services/java/com/android/server/
NetworkManagementService.java 24 import static android.net.NetworkStats.TAG_NONE;
    [all...]
ThrottleService.java 516 NetworkStats.SET_DEFAULT, NetworkStats.TAG_NONE);
    [all...]

Completed in 1969 milliseconds