/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/android/net/ |
NetworkStats.java | 58 public static final int TAG_NONE = 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); 495 entry.tag = TAG_NONE; 507 // skip specific tags, since already counted in TAG_NONE 508 if (tag[i] != TAG_NONE && !includeTags) continue; 637 entry.tag = TAG_NONE; 641 // skip specific tags, since already counted in TAG_NONE 642 if (tag[i] != TAG_NONE) continue [all...] |
NetworkStatsHistory.java | 21 import static android.net.NetworkStats.TAG_NONE; 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/core/java/com/android/internal/net/ |
NetworkStatsFactory.java | 21 import static android.net.NetworkStats.TAG_NONE; 106 entry.tag = TAG_NONE; 164 entry.tag = TAG_NONE;
|
/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/core/java/com/android/server/net/ |
NetworkStatsCollection.java | 22 import static android.net.NetworkStats.TAG_NONE; 355 final Key key = new Key(ident, UID_ALL, SET_ALL, TAG_NONE); 418 if ((tag == TAG_NONE) != onlyTags) { 438 * moving any {@link NetworkStats#TAG_NONE} series to 448 // only migrate combined TAG_NONE history 449 if (key.tag == TAG_NONE) { 452 key.ident, UID_REMOVED, SET_DEFAULT, TAG_NONE);
|
NetworkStatsRecorder.java | 19 import static android.net.NetworkStats.TAG_NONE; 198 if ((entry.tag == TAG_NONE) != mOnlyTags) {
|
NetworkStatsService.java | 34 import static android.net.NetworkStats.TAG_NONE; 485 if (tag == TAG_NONE) { 518 return mXtStatsCached.getHistory(template, UID_ALL, SET_ALL, TAG_NONE, fields); 575 if (tag == TAG_NONE) { 584 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/core/java/com/android/server/ |
NetworkManagementService.java | 24 import static android.net.NetworkStats.TAG_NONE; [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
BatteryStatsImpl.java | [all...] |