/frameworks/base/tests/net/java/com/android/internal/net/ |
D | NetworkStatsFactoryTest.java | 22 import static android.net.NetworkStats.SET_ALL; 124 assertStatsEntry(stats, "rmnet0", UID_ALL, SET_ALL, TAG_NONE, 2112L, 24L, 700L, 10L); in testNetworkStatsSingle() 125 assertStatsEntry(stats, "test1", UID_ALL, SET_ALL, TAG_NONE, 6L, 8L, 10L, 12L); in testNetworkStatsSingle() 126 assertStatsEntry(stats, "test2", UID_ALL, SET_ALL, TAG_NONE, 1L, 2L, 3L, 4L); in testNetworkStatsSingle() 135 assertStatsEntry(stats, "rmnet0", UID_ALL, SET_ALL, TAG_NONE, 6824L, 16L, 5692L, 10L); in testNetworkStatsXt() 136 assertStatsEntry(stats, "rmnet1", UID_ALL, SET_ALL, TAG_NONE, 11153922L, 8051L, 190226L, in testNetworkStatsXt() 138 assertStatsEntry(stats, "rmnet2", UID_ALL, SET_ALL, TAG_NONE, 4968L, 35L, 3081L, 39L); in testNetworkStatsXt()
|
/frameworks/base/tests/net/java/android/app/usage/ |
D | NetworkStatsManagerTest.java | 110 eq(uid1), eq(android.net.NetworkStats.SET_ALL), in testQueryDetails() 121 eq(uid2), eq(android.net.NetworkStats.SET_ALL), in testQueryDetails() 190 eq(uid1), eq(android.net.NetworkStats.SET_ALL), in testQueryDetails_NoSubscriberId() 198 eq(uid2), eq(android.net.NetworkStats.SET_ALL), in testQueryDetails_NoSubscriberId()
|
/frameworks/base/core/java/android/app/usage/ |
D | NetworkStats.java | 283 case STATE_ALL: return android.net.NetworkStats.SET_ALL; in convertSet() 292 case android.net.NetworkStats.SET_ALL : return STATE_ALL; in convertState() 575 android.net.NetworkStats.SET_ALL, android.net.NetworkStats.TAG_NONE, in startUserUidEnumeration() 598 android.net.NetworkStats.SET_ALL, android.net.NetworkStats.TAG_NONE, in stepHistory()
|
/frameworks/base/core/java/com/android/internal/net/ |
D | NetworkStatsFactory.java | 19 import static android.net.NetworkStats.SET_ALL; 174 entry.set = SET_ALL; in readNetworkStatsSummaryDev() 235 entry.set = SET_ALL; in readNetworkStatsSummaryXt()
|
/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 56 public static final int SET_ALL = -1; field in NetworkStats 630 entry.set = SET_ALL; in getTotal() 845 entry.set = SET_ALL; in groupedByIface() 876 entry.set = SET_ALL; in groupedByUid() 975 case SET_ALL: in setToString() 995 case SET_ALL: in setToCheckinString() 1018 return querySet == SET_ALL && dataSet < SET_DEBUG_START; in setMatches()
|
/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsTest.java | 33 import static android.net.NetworkStats.SET_ALL; 345 .addValues(IFACE_ALL, 100, SET_ALL, TAG_NONE, METERED_NO, 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() 383 assertValues(grouped, 0, TEST_IFACE, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in testGroupedByIface() 385 assertValues(grouped, 1, TEST_IFACE2, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in testGroupedByIface()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsCollectionTest.java | 20 import static android.net.NetworkStats.SET_ALL; 469 large.recordData(ident, UID_ALL, SET_ALL, TAG_NONE, TIME_A, TIME_B, in testAugmentPlanGigantic() 545 SET_ALL, TAG_NONE, FIELD_ALL, start, end, NetworkStatsAccess.Level.DEVICE, myUid()); in getHistory()
|
D | NetworkStatsServiceTest.java | 35 import static android.net.NetworkStats.SET_ALL; 1053 assertValues(stats, IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in assertNetworkTotal() 1059 assertUidTotal(template, uid, SET_ALL, METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL, in assertUidTotal() 1169 if (set == SET_ALL) { in assertValues() 1170 sets = new int[] { SET_ALL, SET_DEFAULT, SET_FOREGROUND }; in assertValues()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkPolicyManagerServiceTest.java | 31 import static android.net.NetworkStats.SET_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 | 322 if (totalStats == null || statsEntry.set == NetworkStats.SET_ALL) { in addStatsToResults()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsObservers.java | 410 NetworkStats.SET_ALL, NetworkStats.TAG_NONE, in getTotalBytesForNetworkUid()
|
D | NetworkStatsCollection.java | 26 import static android.net.NetworkStats.SET_ALL; 551 final Key key = new Key(ident, UID_ALL, SET_ALL, TAG_NONE); in readLegacyNetwork()
|
D | NetworkStatsService.java | 33 import static android.net.NetworkStats.SET_ALL; 714 stats.addValues(new NetworkStats.Entry(IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE, in internalGetSummaryForNetwork() 731 UID_ALL, SET_ALL, TAG_NONE, fields, Long.MIN_VALUE, Long.MAX_VALUE, in internalGetHistoryForNetwork()
|