Home
last modified time | relevance | path

Searched refs:SET_ALL (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/tests/net/java/com/android/internal/net/
DNetworkStatsFactoryTest.java22 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/
DNetworkStatsManagerTest.java110 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/
DNetworkStats.java283 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/
DNetworkStatsFactory.java19 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/
DNetworkStats.java56 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/
DNetworkStatsTest.java33 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/
DNetworkStatsCollectionTest.java20 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()
DNetworkStatsServiceTest.java35 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/
DNetworkPolicyManagerServiceTest.java31 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/
DBandwidthTest.java322 if (totalStats == null || statsEntry.set == NetworkStats.SET_ALL) { in addStatsToResults()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsObservers.java410 NetworkStats.SET_ALL, NetworkStats.TAG_NONE, in getTotalBytesForNetworkUid()
DNetworkStatsCollection.java26 import static android.net.NetworkStats.SET_ALL;
551 final Key key = new Key(ident, UID_ALL, SET_ALL, TAG_NONE); in readLegacyNetwork()
DNetworkStatsService.java33 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()