/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)); 56 .addValues(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, 1024L, 8L, 0L, 0L, 10) 57 .addValues(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, 0L, 0L, 1024L, 8L, 11 [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkStatsServiceTest.java | 27 import static android.net.NetworkStats.SET_DEFAULT; 261 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 512L, 4L, 256L, 2L, 0L) 262 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, 0xFAAD, 256L, 2L, 128L, 1L, 0L) 265 .addValues(TEST_IFACE, UID_BLUE, SET_DEFAULT, TAG_NONE, 128L, 1L, 128L, 1L, 0L)); 279 assertUidTotal(sTemplateWifi, UID_RED, SET_DEFAULT, 512L, 4L, 256L, 2L, 4); 315 assertUidTotal(sTemplateWifi, UID_RED, SET_DEFAULT, 512L, 4L, 256L, 2L, 4); 401 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 1536L, 12L, 512L, 4L, 0L) 402 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, 0xF00D, 512L, 4L, 512L, 4L, 0L) 403 .addValues(TEST_IFACE, UID_BLUE, SET_DEFAULT, TAG_NONE, 512L, 4L, 0L, 0L, 0L)); 427 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 1536L, 12L, 512L, 4L, 0L [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
NetworkStatsFactoryTest.java | 20 import static android.net.NetworkStats.SET_DEFAULT; 77 assertStatsEntry(stats, "wlan0", 0, SET_DEFAULT, 0x0, 18621L, 2898L); 78 assertStatsEntry(stats, "wlan0", 10011, SET_DEFAULT, 0x0, 35777L, 5718L); 79 assertStatsEntry(stats, "wlan0", 10021, SET_DEFAULT, 0x7fffff01, 562386L, 49228L); 80 assertStatsEntry(stats, "rmnet1", 10021, SET_DEFAULT, 0x30100000, 219110L, 227423L); 81 assertStatsEntry(stats, "rmnet2", 10001, SET_DEFAULT, 0x0, 1125899906842624L, 984L); 103 assertStatsEntry(stats, "rmnet1", 10021, SET_DEFAULT, 0x30100000, 219110L, 578L, 227423L, 676L);
|
/packages/apps/Settings/src/com/android/settings/net/ |
ChartDataLoader.java | 19 import static android.net.NetworkStats.SET_DEFAULT; 97 template, uid, SET_DEFAULT, data.detailDefault);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
NetworkStatsCollectionTest.java | 19 import static android.net.NetworkStats.SET_DEFAULT; 146 collection.recordData(null, UID_ALL, SET_DEFAULT, TAG_NONE, 30 * MINUTE_IN_MILLIS,
|
/frameworks/base/core/java/android/net/ |
NetworkStats.java | 54 public static final int SET_DEFAULT = 0; 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); 321 iface, uid, SET_DEFAULT, tag, rxBytes, rxPackets, txBytes, txPackets, operations); 726 case SET_DEFAULT: 742 case SET_DEFAULT:
|
NetworkStatsHistory.java | 20 import static android.net.NetworkStats.SET_DEFAULT; 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/core/java/com/android/server/net/ |
NetworkStatsCollection.java | 21 import static android.net.NetworkStats.SET_DEFAULT; 412 : SET_DEFAULT; 452 key.ident, UID_REMOVED, SET_DEFAULT, TAG_NONE);
|
NetworkStatsService.java | 32 import static android.net.NetworkStats.SET_DEFAULT; 580 final int set = mActiveUidCounterSet.get(uid, SET_DEFAULT); 593 final int set = uidForeground ? SET_FOREGROUND : SET_DEFAULT; 594 final int oldSet = mActiveUidCounterSet.get(uid, SET_DEFAULT); [all...] |
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
BandwidthTest.java | 264 stats.addValues(NetworkStats.IFACE_ALL, uid, NetworkStats.SET_DEFAULT,
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
QuickContactActivity.java | 407 static final int SET_DEFAULT = 2; 444 menu.add(ContextMenu.NONE, ContextMenuIds.SET_DEFAULT, 445 ContextMenu.NONE, getString(R.string.set_default)); 465 case ContextMenuIds.SET_DEFAULT: [all...] |
/frameworks/base/services/core/java/com/android/server/ |
NetworkManagementService.java | 22 import static android.net.NetworkStats.SET_DEFAULT; [all...] |
/external/robolectric/lib/main/ |
h2-1.2.147.jar | |