/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 28 import static android.net.NetworkStats.IFACE_ALL; 642 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testSummaryForAllUid() 644 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, 0xF00D, METERED_NO, ROAMING_NO, in testSummaryForAllUid() 646 assertValues(stats, IFACE_ALL, UID_BLUE, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testSummaryForAllUid() 654 assertValues(stats, IFACE_ALL, UID_BLUE, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testSummaryForAllUid() 794 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testForegroundBackground() 796 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, 0xF00D, METERED_NO, ROAMING_NO, in testForegroundBackground() 798 assertValues(stats, IFACE_ALL, UID_RED, SET_FOREGROUND, TAG_NONE, METERED_NO, ROAMING_NO, in testForegroundBackground() 800 assertValues(stats, IFACE_ALL, UID_RED, SET_FOREGROUND, 0xFAAD, METERED_NO, ROAMING_NO, in testForegroundBackground() 838 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 | 53 public static final String IFACE_ALL = null; field in NetworkStats 185 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, 0L, 0L, 0L, 0L, 0L); in Entry() 189 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, rxBytes, rxPackets, txBytes, txPackets, in Entry() 610 if (iface != IFACE_ALL) { in getUniqueIfaces() 686 entry.iface = IFACE_ALL; in getTotal() 858 Entry adjust = new NetworkStats.Entry(IFACE_ALL, 0, 0, 0, 0, 0, 0, 0L, 0L, 0L, 0L, 0L); in apply464xlatAdjustments() 945 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 .addValues(IFACE_ALL, 100, SET_ALL, TAG_NONE, METERED_NO, ROAMING_NO, in testGroupedByIfaceAll() 348 .addValues(IFACE_ALL, 101, SET_FOREGROUND, TAG_NONE, METERED_YES, ROAMING_NO, in testGroupedByIfaceAll() 350 .addValues(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/core/java/com/android/server/net/ |
D | NetworkStatsService.java | 30 import static android.net.NetworkStats.IFACE_ALL; 733 stats.addValues(new NetworkStats.Entry(IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE, in internalGetSummaryForNetwork() 805 entry.iface = IFACE_ALL; in getDataLayerSnapshotForUid() 988 return nativeTotalStats + getTetherStats(IFACE_ALL, type); in getTotalStats() 1004 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/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 37 import static android.net.NetworkStats.IFACE_ALL; 1200 stats.addValues(IFACE_ALL, UID_A, SET_ALL, TAG_ALL, 1202 stats.addValues(IFACE_ALL, UID_B, SET_ALL, TAG_ALL, 1204 stats.addValues(IFACE_ALL, UID_C, SET_ALL, TAG_ALL, 1228 stats.addValues(IFACE_ALL, UID_A, SET_ALL, TAG_ALL, 1230 stats.addValues(IFACE_ALL, UID_B, SET_ALL, TAG_ALL,
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
D | BandwidthTest.java | 271 stats.addValues(NetworkStats.IFACE_ALL, uid, NetworkStats.SET_DEFAULT, in fetchDataFromProc()
|
/frameworks/base/services/core/java/com/android/server/stats/ |
D | StatsCompanionService.java | 804 entry.iface = NetworkStats.IFACE_ALL; in rollupNetworkStatsByFGBG()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 47961 Landroid/net/NetworkStats;->IFACE_ALL:Ljava/lang/String;
|