/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 27 import static android.net.NetworkStats.IFACE_ALL; 728 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, 730 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, 0xF00D, METERED_NO, ROAMING_NO, 732 assertValues(stats, IFACE_ALL, UID_BLUE, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, 740 assertValues(stats, IFACE_ALL, UID_BLUE, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, 887 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, 889 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, 0xF00D, METERED_NO, ROAMING_NO, 891 assertValues(stats, IFACE_ALL, UID_RED, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, 893 assertValues(stats, IFACE_ALL, UID_RED, SET_FOREGROUND, 0xFAAD, METERED_NO, ROAMING_NO, 929 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, TAG_NONE, METERED_YES, ROAMING_NO, [all …]
|
/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 62 @Nullable public static final String IFACE_ALL = null; field in NetworkStats 312 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); in Entry() 317 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, in Entry() 820 if (iface != IFACE_ALL) { in getUniqueIfaces() 902 entry.iface = IFACE_ALL; in getTotal() 1152 entry.iface = IFACE_ALL; in groupedByUid()
|
D | NetworkStatsHistory.java | 19 import static android.net.NetworkStats.IFACE_ALL; 327 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, 0L, txBytes, 0L, 0L)); in recordData() 402 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); in recordHistory() 608 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); in generateRandom()
|
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsTest.java | 22 import static android.net.NetworkStats.IFACE_ALL; 346 .insertEntry(IFACE_ALL, 100, SET_ALL, TAG_NONE, METERED_NO, ROAMING_NO, in testGroupedByIfaceAll() 348 .insertEntry(IFACE_ALL, 101, SET_FOREGROUND, TAG_NONE, METERED_YES, ROAMING_NO, in testGroupedByIfaceAll() 350 .insertEntry(IFACE_ALL, 101, SET_ALL, TAG_NONE, METERED_NO, ROAMING_YES, in testGroupedByIfaceAll() 357 assertValues(grouped, 0, IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in testGroupedByIfaceAll()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 37 import static android.net.NetworkStats.IFACE_ALL; 1279 stats.insertEntry(IFACE_ALL, UID_A, SET_ALL, TAG_ALL, 1281 stats.insertEntry(IFACE_ALL, UID_B, SET_ALL, TAG_ALL, 1283 stats.insertEntry(IFACE_ALL, UID_C, SET_ALL, TAG_ALL, 1307 stats.insertEntry(IFACE_ALL, UID_A, SET_ALL, TAG_ALL, 1309 stats.insertEntry(IFACE_ALL, UID_B, SET_ALL, TAG_ALL,
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsService.java | 32 import static android.net.NetworkStats.IFACE_ALL; 816 stats.insertEntry(new NetworkStats.Entry(IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE, in internalGetSummaryForNetwork() 879 entry.iface = IFACE_ALL; in getDataLayerSnapshotForUid() 1069 return nativeTotalStats + getTetherStats(IFACE_ALL, type); in getTotalStats() 1085 if (iface == IFACE_ALL) { in getTetherStats()
|
D | NetworkStatsCollection.java | 21 import static android.net.NetworkStats.IFACE_ALL; 375 entry.iface = IFACE_ALL; in getSummary()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
D | BandwidthTest.java | 271 stats.insertEntry(NetworkStats.IFACE_ALL, uid, NetworkStats.SET_DEFAULT, in fetchDataFromProc()
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | StatsPullAtomService.java | 1291 entry.iface = NetworkStats.IFACE_ALL;
|