Home
last modified time | relevance | path

Searched refs:METERED_ALL (Results 1 – 13 of 13) 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;
954 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_ALL, ROAMING_NO,
956 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, 0xF00D, METERED_ALL, ROAMING_NO,
967 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, TAG_NONE, METERED_ALL, ROAMING_YES,
969 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, 0xF00D, METERED_ALL, ROAMING_YES,
1214 assertValues(stats, IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL,
1220 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;
152 METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL, ratType); in buildTemplateMobileWithRatType()
155 METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL, ratType); in buildTemplateMobileWithRatType()
243 this(matchRule, subscriberId, matchSubscriberIds, networkId, METERED_ALL, ROAMING_ALL, in NetworkTemplate()
307 if (mMetered != METERED_ALL) { in toString()
409 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.java35 import static android.net.NetworkStats.METERED_ALL;
817 METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL, entry.rxBytes, entry.rxPackets, in internalGetSummaryForNetwork()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java1294 entry.metered = NetworkStats.METERED_ALL;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/api/
Dcurrent.txt7981 field public static final int METERED_ALL = -1; // 0xffffffff