Home
last modified time | relevance | path

Searched refs:METERED_ALL (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsBaseTest.java22 import static android.net.NetworkStats.METERED_ALL;
54 stats, iface, uid, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL, in assertValues()
77 if (metered == METERED_ALL) { in assertValues()
78 meterings = new int[] {METERED_ALL, METERED_YES, METERED_NO}; in assertValues()
DNetworkStatsFactoryTest.java21 import static android.net.NetworkStats.METERED_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()
DNetworkStatsServiceTest.java29 import static android.net.NetworkStats.METERED_ALL;
974 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_ALL, ROAMING_NO,
976 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, 0xF00D, METERED_ALL, ROAMING_NO,
987 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, TAG_NONE, METERED_ALL, ROAMING_YES,
989 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, 0xF00D, METERED_ALL, ROAMING_YES,
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/net/
DNetworkTemplateTest.kt25 import android.net.NetworkStats.METERED_ALL
141 val templateMobile = NetworkTemplate(MATCH_MOBILE, TEST_IMSI1, null, null, METERED_ALL, in testParcelUnparcel()
143 val templateWifi = NetworkTemplate(MATCH_WIFI, null, null, TEST_SSID1, METERED_ALL, in testParcelUnparcel()
DNetworkStatsTest.java24 import static android.net.NetworkStats.METERED_ALL;
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()
669 assertContains(delta, underlyingIface, tunUid, SET_DBG_VPN_OUT, TAG_NONE, METERED_ALL, in testMigrateTun()
728 assertContains(delta, underlyingIface, tunUid, SET_DBG_VPN_OUT, TAG_NONE, METERED_ALL, in testMigrateTun_VpnAsLoopback()
/frameworks/base/core/java/android/app/usage/
DNetworkStats.java175 METERED_ALL,
185 public static final int METERED_ALL = -1; field in NetworkStats.Bucket
316 case android.net.NetworkStats.METERED_ALL : return METERED_ALL; in convertMetered()
665 bucketOut.mMetered = Bucket.METERED_ALL; in getNextHistoryBucket()
/frameworks/base/core/java/android/net/
DNetworkTemplate.java29 import static android.net.NetworkStats.METERED_ALL;
149 METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL, ratType); in buildTemplateMobileWithRatType()
152 METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL, ratType); in buildTemplateMobileWithRatType()
240 this(matchRule, subscriberId, matchSubscriberIds, networkId, METERED_ALL, ROAMING_ALL, in NetworkTemplate()
304 if (mMetered != METERED_ALL) { in toString()
406 return (mMetered == METERED_ALL) in matchesMetered()
DNetworkStats.java133 public static final int METERED_ALL = -1; field in NetworkStats
142 METERED_ALL,
906 entry.metered = METERED_ALL; in getTotal()
1123 entry.metered = METERED_ALL; in groupedByIface()
1155 entry.metered = METERED_ALL; in groupedByUid()
1332 case METERED_ALL: in meteredToString()
1648 moved[i].metered = METERED_ALL; in deductTrafficFromVpnApp()
/frameworks/base/services/core/java/com/android/server/connectivity/
DMultipathPolicyTracker.java223 null, NetworkStats.METERED_ALL, NetworkStats.ROAMING_ALL, in MultipathTracker()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java36 import static android.net.NetworkStats.METERED_ALL;
850 METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL, entry.rxBytes, entry.rxPackets,
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java808 entry.metered = NetworkStats.METERED_ALL; in rollupNetworkStatsByFGBG()
/frameworks/base/non-updatable-api/
Dcurrent.txt7679 field public static final int METERED_ALL = -1; // 0xffffffff
/frameworks/base/api/
Dcurrent.txt7679 field public static final int METERED_ALL = -1; // 0xffffffff
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44697 Landroid/net/NetworkStats;->METERED_ALL:I