Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/usage/
DNetworkStats.java167 @IntDef({METERED_ALL, METERED_NO, METERED_YES})
174 public static final int METERED_ALL = -1; field in NetworkStats.Bucket
261 case android.net.NetworkStats.METERED_ALL : return METERED_ALL; in convertMetered()
591 bucketOut.mMetered = Bucket.METERED_ALL; in getNextHistoryBucket()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkStatsServiceTest.java25 import static android.net.NetworkStats.METERED_ALL;
787 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_ALL, ROAMING_NO, in testRoaming()
789 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, 0xF00D, METERED_ALL, ROAMING_NO, 64L, in testRoaming()
800 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, TAG_NONE, METERED_ALL, ROAMING_YES, in testRoaming()
802 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, 0xF00D, METERED_ALL, ROAMING_YES, 64L, in testRoaming()
974 assertValues(stats, IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, METERED_ALL, ROAMING_NO, in assertNetworkTotal()
980 assertUidTotal(template, uid, SET_ALL, METERED_ALL, ROAMING_ALL, rxBytes, rxPackets, in assertUidTotal()
1105 if (metered == METERED_NO || metered == METERED_ALL) { in assertValues()
1108 if (metered == METERED_YES || metered == METERED_ALL) { in assertValues()
/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java19 import static android.net.NetworkStats.METERED_ALL;
328 assertValues(grouped, 0, IFACE_ALL, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in testGroupedByIfaceAll()
354 assertValues(grouped, 0, TEST_IFACE, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in testGroupedByIface()
356 assertValues(grouped, 1, TEST_IFACE2, UID_ALL, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, in testGroupedByIface()
550 assertContains(delta, underlyingIface, tunUid, SET_DBG_VPN_OUT, TAG_NONE, METERED_ALL, in testMigrateTun()
608 assertContains(delta, underlyingIface, tunUid, SET_DBG_VPN_OUT, TAG_NONE, METERED_ALL, in testMigrateTun_VpnAsLoopback()
/frameworks/base/core/java/android/net/
DNetworkStats.java72 public static final int METERED_ALL = -1; field in NetworkStats
577 entry.metered = METERED_ALL; in getTotal()
724 entry.metered = METERED_ALL; in groupedByIface()
754 entry.metered = METERED_ALL; in groupedByUid()
874 case METERED_ALL: in meteredToString()
1074 moved.metered = METERED_ALL; in deductTrafficFromVpnApp()
/frameworks/base/api/
Dcurrent.txt6935 field public static final int METERED_ALL = -1; // 0xffffffff
Dsystem-current.txt7405 field public static final int METERED_ALL = -1; // 0xffffffff