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

  /frameworks/base/core/tests/coretests/src/android/net/
NetworkStatsTest.java 19 import static android.net.NetworkStats.SET_DEFAULT;
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 19 import static android.net.NetworkStats.SET_DEFAULT;
75 assertStatsEntry(stats, "wlan0", 0, SET_DEFAULT, 0, 14615L, 4270L);
76 assertStatsEntry(stats, "wlan0", 10004, SET_DEFAULT, 0, 333821L, 53558L);
77 assertStatsEntry(stats, "wlan0", 10004, SET_DEFAULT, 1947740890, 18725L, 1066L);
78 assertStatsEntry(stats, "rmnet0", 10037, SET_DEFAULT, 0, 31184994L, 684122L);
79 assertStatsEntry(stats, "rmnet0", 10037, SET_DEFAULT, 1947740890, 28507378L, 437004L);
87 assertStatsEntry(stats, "test0", 1000, SET_DEFAULT, 0, 1024L, 2048L);
88 assertStatsEntry(stats, "test0", 1000, SET_DEFAULT, 0xF00D, 512L, 512L);
96 assertStatsEntry(stats, "lo", UID_ALL, SET_DEFAULT, TAG_NONE, 8308L, 8308L);
97 assertStatsEntry(stats, "rmnet0", UID_ALL, SET_DEFAULT, TAG_NONE, 1507570L, 489339L)
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/
NetworkStatsServiceTest.java 27 import static android.net.NetworkStats.SET_DEFAULT;
253 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 512L, 4L, 256L, 2L, 0L)
254 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, 0xFAAD, 256L, 2L, 128L, 1L, 0L)
257 .addValues(TEST_IFACE, UID_BLUE, SET_DEFAULT, TAG_NONE, 128L, 1L, 128L, 1L, 0L));
271 assertUidTotal(sTemplateWifi, UID_RED, SET_DEFAULT, 512L, 4L, 256L, 2L, 4);
314 assertUidTotal(sTemplateWifi, UID_RED, SET_DEFAULT, 512L, 4L, 256L, 2L, 4);
398 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 1536L, 12L, 512L, 4L, 0L)
399 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, 0xF00D, 512L, 4L, 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
    [all...]
ThrottleServiceTest.java 19 import static android.net.NetworkStats.SET_DEFAULT;
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 19 import static android.net.NetworkStats.SET_DEFAULT;
95 template, uid, SET_DEFAULT, data.detailDefault);
  /frameworks/base/core/java/android/net/
NetworkStats.java 51 public static final int SET_DEFAULT = 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);
253 iface, uid, SET_DEFAULT, tag, rxBytes, rxPackets, txBytes, txPackets, operations);
591 case SET_DEFAULT:
NetworkStatsHistory.java 20 import static android.net.NetworkStats.SET_DEFAULT;
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 19 import static android.net.NetworkStats.SET_DEFAULT;
128 entry.set = SET_DEFAULT;
187 entry.set = SET_DEFAULT;
215 entry.set = SET_DEFAULT;
  /frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
BandwidthTest.java 207 stats.addValues(NetworkStats.IFACE_ALL, uid, NetworkStats.SET_DEFAULT,
253 case NetworkStats.SET_DEFAULT:
  /frameworks/base/services/java/com/android/server/net/
NetworkStatsService.java 31 import static android.net.NetworkStats.SET_DEFAULT;
553 final int set = mActiveUidCounterSet.get(uid, SET_DEFAULT);
564 final int set = uidForeground ? SET_FOREGROUND : SET_DEFAULT;
565 final int oldSet = mActiveUidCounterSet.get(uid, SET_DEFAULT);
    [all...]
  /frameworks/base/services/java/com/android/server/
NetworkManagementService.java 23 import static android.net.NetworkStats.SET_DEFAULT;
    [all...]
ThrottleService.java 516 NetworkStats.SET_DEFAULT, NetworkStats.TAG_NONE);
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactDetailFragment.java 130 static final int SET_DEFAULT = 2;
    [all...]

Completed in 644 milliseconds