Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkStatsServiceTest.java24 import static android.net.NetworkStats.IFACE_ALL;
646 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, 50L, in testSummaryForAllUid()
648 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, 0xF00D, METERED_NO, ROAMING_NO, 10L, in testSummaryForAllUid()
650 assertValues(stats, IFACE_ALL, UID_BLUE, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testSummaryForAllUid()
658 assertValues(stats, IFACE_ALL, UID_BLUE, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testSummaryForAllUid()
713 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, 128L, in testForegroundBackground()
715 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, 0xF00D, METERED_NO, ROAMING_NO, 64L, in testForegroundBackground()
717 assertValues(stats, IFACE_ALL, UID_RED, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, in testForegroundBackground()
719 assertValues(stats, IFACE_ALL, UID_RED, SET_FOREGROUND, 0xFAAD, METERED_NO, ROAMING_NO, 1L, in testForegroundBackground()
759 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, TAG_NONE, METERED_YES, ROAMING_NO, in testMetered()
[all …]
/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java30 import static android.net.NetworkStats.IFACE_ALL;
317 .addValues(IFACE_ALL, 100, SET_ALL, TAG_NONE, METERED_NO, ROAMING_NO, 128L, 8L, 0L, in testGroupedByIfaceAll()
319 .addValues(IFACE_ALL, 101, SET_FOREGROUND, TAG_NONE, METERED_YES, ROAMING_NO, 128L, in testGroupedByIfaceAll()
321 .addValues(IFACE_ALL, 101, SET_ALL, TAG_NONE, METERED_NO, ROAMING_YES, 128L, 8L, 0L, in testGroupedByIfaceAll()
328 assertValues(grouped, 0, IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in testGroupedByIfaceAll()
/frameworks/base/core/java/android/net/
DNetworkStats.java48 public static final String IFACE_ALL = null; field in NetworkStats
130 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); in Entry()
134 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, in Entry()
502 if (iface != IFACE_ALL) { in getUniqueIfaces()
573 entry.iface = IFACE_ALL; in getTotal()
751 entry.iface = IFACE_ALL; in groupedByUid()
DNetworkStatsHistory.java19 import static android.net.NetworkStats.IFACE_ALL;
292 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, 0L, txBytes, 0L, 0L)); in recordData()
366 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); in recordHistory()
555 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); in generateRandom()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsCollection.java19 import static android.net.NetworkStats.IFACE_ALL;
247 entry.iface = IFACE_ALL; in getSummary()
DNetworkStatsService.java30 import static android.net.NetworkStats.IFACE_ALL;
680 entry.iface = IFACE_ALL; in getDataLayerSnapshotForUid()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java264 stats.addValues(NetworkStats.IFACE_ALL, uid, NetworkStats.SET_DEFAULT, in fetchDataFromProc()