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;
643 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testSummaryForAllUid()
645 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, 0xF00D, METERED_NO, ROAMING_NO, in testSummaryForAllUid()
647 assertValues(stats, IFACE_ALL, UID_BLUE, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testSummaryForAllUid()
655 assertValues(stats, IFACE_ALL, UID_BLUE, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testSummaryForAllUid()
795 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testForegroundBackground()
797 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, 0xF00D, METERED_NO, ROAMING_NO, in testForegroundBackground()
799 assertValues(stats, IFACE_ALL, UID_RED, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, in testForegroundBackground()
801 assertValues(stats, IFACE_ALL, UID_RED, SET_FOREGROUND, 0xFAAD, METERED_NO, ROAMING_NO, in testForegroundBackground()
839 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, TAG_NONE, METERED_YES, ROAMING_NO, in testMetered()
[all …]
/frameworks/base/core/java/android/net/
DNetworkStats.java49 public static final String IFACE_ALL = null; field in NetworkStats
158 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); in Entry()
162 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, in Entry()
557 if (iface != IFACE_ALL) { in getUniqueIfaces()
628 entry.iface = IFACE_ALL; in getTotal()
793 Entry adjust = new NetworkStats.Entry(IFACE_ALL, 0, 0, 0, 0, 0, 0, 0L, 0L, 0L, 0L, 0L); in apply464xlatAdjustments()
875 entry.iface = IFACE_ALL; in groupedByUid()
DNetworkStatsHistory.java19 import static android.net.NetworkStats.IFACE_ALL;
313 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, 0L, txBytes, 0L, 0L)); in recordData()
387 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); in recordHistory()
591 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); in generateRandom()
/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java34 import static android.net.NetworkStats.IFACE_ALL;
345 .addValues(IFACE_ALL, 100, SET_ALL, TAG_NONE, METERED_NO, ROAMING_NO, in testGroupedByIfaceAll()
347 .addValues(IFACE_ALL, 101, SET_FOREGROUND, TAG_NONE, METERED_YES, ROAMING_NO, in testGroupedByIfaceAll()
349 .addValues(IFACE_ALL, 101, SET_ALL, TAG_NONE, METERED_NO, ROAMING_YES, in testGroupedByIfaceAll()
356 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/
DNetworkPolicyManagerServiceTest.java30 import static android.net.NetworkStats.IFACE_ALL;
1164 stats.addValues(IFACE_ALL, UID_A, SET_ALL, TAG_ALL, in testNotificationRapid()
1166 stats.addValues(IFACE_ALL, UID_B, SET_ALL, TAG_ALL, in testNotificationRapid()
1168 stats.addValues(IFACE_ALL, UID_C, SET_ALL, TAG_ALL, in testNotificationRapid()
1192 stats.addValues(IFACE_ALL, UID_A, SET_ALL, TAG_ALL, in testNotificationRapid()
1194 stats.addValues(IFACE_ALL, UID_B, SET_ALL, TAG_ALL, in testNotificationRapid()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java264 stats.addValues(NetworkStats.IFACE_ALL, uid, NetworkStats.SET_DEFAULT, in fetchDataFromProc()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsCollection.java21 import static android.net.NetworkStats.IFACE_ALL;
375 entry.iface = IFACE_ALL; in getSummary()
DNetworkStatsService.java29 import static android.net.NetworkStats.IFACE_ALL;
714 stats.addValues(new NetworkStats.Entry(IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE, in internalGetSummaryForNetwork()
786 entry.iface = IFACE_ALL; in getDataLayerSnapshotForUid()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java551 entry.iface = NetworkStats.IFACE_ALL; in rollupNetworkStatsByFGBG()