Home
last modified time | relevance | path

Searched refs:IFACE_ALL (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java27 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/
DNetworkStats.java62 @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()
DNetworkStatsHistory.java19 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/
DNetworkStatsTest.java22 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/
DNetworkPolicyManagerServiceTest.java37 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/
DNetworkStatsService.java32 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()
DNetworkStatsCollection.java21 import static android.net.NetworkStats.IFACE_ALL;
375 entry.iface = IFACE_ALL; in getSummary()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java271 stats.insertEntry(NetworkStats.IFACE_ALL, uid, NetworkStats.SET_DEFAULT, in fetchDataFromProc()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java1291 entry.iface = NetworkStats.IFACE_ALL;