/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 27 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/ |
D | NetworkStats.java | 49 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()
|
D | NetworkStatsHistory.java | 19 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/ |
D | NetworkStatsTest.java | 34 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/ |
D | NetworkPolicyManagerServiceTest.java | 30 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/ |
D | BandwidthTest.java | 264 stats.addValues(NetworkStats.IFACE_ALL, uid, NetworkStats.SET_DEFAULT, in fetchDataFromProc()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsCollection.java | 21 import static android.net.NetworkStats.IFACE_ALL; 375 entry.iface = IFACE_ALL; in getSummary()
|
D | NetworkStatsService.java | 29 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/ |
D | StatsCompanionService.java | 551 entry.iface = NetworkStats.IFACE_ALL; in rollupNetworkStatsByFGBG()
|