Home
last modified time | relevance | path

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

/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;
202 this(matchRule, subscriberId, matchSubscriberIds, networkId, METERED_ALL, ROAMING_ALL, in NetworkTemplate()
263 if (mMetered != METERED_ALL) { in toString()
361 return (mMetered == METERED_ALL) in matchesMetered()
DNetworkStats.java80 public static final int METERED_ALL = -1; field in NetworkStats
690 entry.metered = METERED_ALL; in getTotal()
917 entry.metered = METERED_ALL; in groupedByIface()
948 entry.metered = METERED_ALL; in groupedByUid()
1100 case METERED_ALL: in meteredToString()
1320 moved.metered = METERED_ALL; in deductTrafficFromVpnApp()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java30 import static android.net.NetworkStats.METERED_ALL;
865 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_ALL, ROAMING_NO, in testRoaming()
867 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, 0xF00D, METERED_ALL, ROAMING_NO, in testRoaming()
878 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, TAG_NONE, METERED_ALL, ROAMING_YES, in testRoaming()
880 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, 0xF00D, METERED_ALL, ROAMING_YES, in testRoaming()
1158 assertValues(stats, IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in assertNetworkTotal()
1164 assertUidTotal(template, uid, SET_ALL, METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL, in assertUidTotal()
1286 if (metered == METERED_ALL) { in assertValues()
1287 meterings = new int[] { METERED_ALL, METERED_YES, METERED_NO }; in assertValues()
/frameworks/base/tests/net/java/android/net/
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()
622 assertContains(delta, underlyingIface, tunUid, SET_DBG_VPN_OUT, TAG_NONE, METERED_ALL, in testMigrateTun()
681 assertContains(delta, underlyingIface, tunUid, SET_DBG_VPN_OUT, TAG_NONE, METERED_ALL, in testMigrateTun_VpnAsLoopback()
/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.java32 import static android.net.NetworkStats.METERED_ALL;
734 METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL, entry.rxBytes, entry.rxPackets, in internalGetSummaryForNetwork()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java806 entry.metered = NetworkStats.METERED_ALL; in rollupNetworkStatsByFGBG()
/frameworks/base/api/
Dcurrent.txt7676 field public static final int METERED_ALL = -1; // 0xffffffff
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt47966 Landroid/net/NetworkStats;->METERED_ALL:I