/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)); 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 | 29 import static android.net.NetworkStats.TAG_NONE; 261 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 512L, 4L, 256L, 2L, 0L) 263 .addValues(TEST_IFACE, UID_RED, SET_FOREGROUND, TAG_NONE, 512L, 4L, 256L, 2L, 0L) 265 .addValues(TEST_IFACE, UID_BLUE, SET_DEFAULT, TAG_NONE, 128L, 1L, 128L, 1L, 0L)); 401 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 1536L, 12L, 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) 429 .addValues(TEST_IFACE, UID_BLUE, SET_DEFAULT, TAG_NONE, 512L, 4L, 0L, 0L, 0L)); 444 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, 1536L, 12L, 512L, 4L, 0L) 446 .addValues(TEST_IFACE, UID_BLUE, SET_DEFAULT, TAG_NONE, 640L, 5L, 1024L, 8L, 0L [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
NetworkStatsFactoryTest.java | 22 import static android.net.NetworkStats.TAG_NONE; 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);
|
/packages/apps/Settings/src/com/android/settings/net/ |
ChartDataLoader.java | 21 import static android.net.NetworkStats.TAG_NONE; 136 template, uid, set, TAG_NONE, FIELD_RX_BYTES | FIELD_TX_BYTES);
|
/frameworks/base/core/java/com/android/internal/net/ |
NetworkStatsFactory.java | 20 import static android.net.NetworkStats.TAG_NONE; 88 entry.tag = TAG_NONE; 146 entry.tag = TAG_NONE;
|
/frameworks/base/core/java/android/net/ |
NetworkStats.java | 54 public static final int TAG_NONE = 0; 86 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); 90 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, 210 iface, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, 0L); 468 entry.tag = TAG_NONE; 480 // skip specific tags, since already counted in TAG_NONE 481 if (tag[i] != TAG_NONE && !includeTags) continue; 575 entry.tag = TAG_NONE; 579 // skip specific tags, since already counted in TAG_NONE 580 if (tag[i] != TAG_NONE) continue [all...] |
NetworkStatsHistory.java | 21 import static android.net.NetworkStats.TAG_NONE; 287 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, 0L, txBytes, 0L, 0L)); 361 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); 550 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 | 20 import static android.net.NetworkStats.TAG_NONE; 146 collection.recordData(null, UID_ALL, SET_DEFAULT, TAG_NONE, 30 * MINUTE_IN_MILLIS,
|
/frameworks/base/services/java/com/android/server/net/ |
NetworkStatsCollection.java | 22 import static android.net.NetworkStats.TAG_NONE; 349 final Key key = new Key(ident, UID_ALL, SET_ALL, TAG_NONE); 412 if ((tag == TAG_NONE) != onlyTags) { 432 * moving any {@link NetworkStats#TAG_NONE} series to 442 // only migrate combined TAG_NONE history 443 if (key.tag == TAG_NONE) { 446 key.ident, UID_REMOVED, SET_DEFAULT, TAG_NONE);
|
NetworkStatsRecorder.java | 19 import static android.net.NetworkStats.TAG_NONE; 184 if ((entry.tag == TAG_NONE) != mOnlyTags) {
|
NetworkStatsService.java | 36 import static android.net.NetworkStats.TAG_NONE; 510 if (tag == TAG_NONE) { 555 return mDevStatsCached.getHistory(template, UID_ALL, SET_ALL, TAG_NONE, fields); 562 template, UID_ALL, SET_ALL, TAG_NONE, fields, Long.MIN_VALUE, firstAtomicBucket); 564 template, UID_ALL, SET_ALL, TAG_NONE, fields, firstAtomicBucket, Long.MAX_VALUE); 624 if (tag == TAG_NONE) { 633 mActiveIface, uid, set, TAG_NONE, 0L, 0L, 0L, 0L, operationCount); [all...] |
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
BandwidthTest.java | 265 NetworkStats.TAG_NONE, rx, 0, tx, 0, 0);
|
/frameworks/base/services/java/com/android/server/ |
NetworkManagementService.java | 23 import static android.net.NetworkStats.TAG_NONE; [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
BatteryStatsImpl.java | [all...] |