Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsBaseTest.java28 import static android.net.NetworkStats.SET_ALL;
54 stats, iface, uid, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL, in assertValues()
63 if (set == SET_ALL) { in assertValues()
64 sets = new int[] {SET_ALL, SET_DEFAULT, SET_FOREGROUND}; in assertValues()
DNetworkStatsFactoryTest.java25 import static android.net.NetworkStats.SET_ALL;
123 assertValues(tunStats, TUN_IFACE, UID_RED, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in testVpnRewriteTrafficThroughItself()
125 assertValues(tunStats, TUN_IFACE, UID_BLUE, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in testVpnRewriteTrafficThroughItself()
127 assertValues(tunStats, TUN_IFACE, UID_VPN, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in testVpnRewriteTrafficThroughItself()
406 assertStatsEntry(stats, "rmnet0", UID_ALL, SET_ALL, TAG_NONE, 2112L, 24L, 700L, 10L); in testNetworkStatsSingle()
407 assertStatsEntry(stats, "test1", UID_ALL, SET_ALL, TAG_NONE, 6L, 8L, 10L, 12L); in testNetworkStatsSingle()
408 assertStatsEntry(stats, "test2", UID_ALL, SET_ALL, TAG_NONE, 1L, 2L, 3L, 4L); in testNetworkStatsSingle()
417 assertStatsEntry(stats, "rmnet0", UID_ALL, SET_ALL, TAG_NONE, 6824L, 16L, 5692L, 10L); in testNetworkStatsXt()
418 assertStatsEntry(stats, "rmnet1", UID_ALL, SET_ALL, TAG_NONE, 11153922L, 8051L, 190226L, in testNetworkStatsXt()
420 assertStatsEntry(stats, "rmnet2", UID_ALL, SET_ALL, TAG_NONE, 4968L, 35L, 3081L, 39L); in testNetworkStatsXt()
DNetworkStatsCollectionTest.java20 import static android.net.NetworkStats.SET_ALL;
473 large.recordData(ident, UID_ALL, SET_ALL, TAG_NONE, TIME_A, TIME_B, in testAugmentPlanGigantic()
551 SET_ALL, TAG_NONE, FIELD_ALL, start, end, NetworkStatsAccess.Level.DEVICE, myUid()); in getHistory()
DNetworkStatsServiceTest.java35 import static android.net.NetworkStats.SET_ALL;
1327 assertValues(stats, IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL,
1333 assertUidTotal(template, uid, SET_ALL, METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL,
/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/services/core/java/com/android/server/net/
DNetworkStatsFactory.java20 import static android.net.NetworkStats.SET_ALL;
211 entry.set = SET_ALL; in readNetworkStatsSummaryDev()
272 entry.set = SET_ALL; in readNetworkStatsSummaryXt()
DNetworkStatsObservers.java409 NetworkStats.SET_ALL, NetworkStats.TAG_NONE, in getTotalBytesForNetworkUid()
DNetworkStatsCollection.java26 import static android.net.NetworkStats.SET_ALL;
527 final Key key = new Key(ident, UID_ALL, SET_ALL, TAG_NONE); in readLegacyNetwork()
DNetworkStatsService.java38 import static android.net.NetworkStats.SET_ALL;
849 stats.insertEntry(new NetworkStats.Entry(IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE,
866 UID_ALL, SET_ALL, TAG_NONE, fields, Long.MIN_VALUE, Long.MAX_VALUE,
/frameworks/base/core/java/android/net/
DNetworkStats.java85 public static final int SET_ALL = -1; field in NetworkStats
109 SET_ALL,
904 entry.set = SET_ALL; in getTotal()
1121 entry.set = SET_ALL; in groupedByIface()
1153 entry.set = SET_ALL; in groupedByUid()
1270 case SET_ALL: in setToString()
1291 case SET_ALL: in setToCheckinString()
1315 return querySet == SET_ALL && dataSet < SET_DEBUG_START; in setMatches()
/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java30 import static android.net.NetworkStats.SET_ALL;
346 .insertEntry(IFACE_ALL, 100, SET_ALL, TAG_NONE, METERED_NO, ROAMING_NO, in testGroupedByIfaceAll()
350 .insertEntry(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()
384 assertValues(grouped, 0, TEST_IFACE, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in testGroupedByIface()
386 assertValues(grouped, 1, TEST_IFACE2, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in testGroupedByIface()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java38 import static android.net.NetworkStats.SET_ALL;
1201 stats.insertEntry(IFACE_ALL, UID_A, SET_ALL, TAG_ALL,
1203 stats.insertEntry(IFACE_ALL, UID_B, SET_ALL, TAG_ALL,
1205 stats.insertEntry(IFACE_ALL, UID_C, SET_ALL, TAG_ALL,
1229 stats.insertEntry(IFACE_ALL, UID_A, SET_ALL, TAG_ALL,
1231 stats.insertEntry(IFACE_ALL, UID_B, SET_ALL, TAG_ALL,
1695 stats.insertEntry(TEST_IFACE, UID_A, SET_ALL, TAG_NONE, in testStatsProviderLimitReached()
1719 stats.insertEntry(TEST_IFACE, UID_A, SET_ALL, TAG_NONE, in testStatsProviderLimitReached()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java329 if (totalStats == null || statsEntry.set == NetworkStats.SET_ALL) { in addStatsToResults()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44710 Landroid/net/NetworkStats;->SET_ALL:I