/frameworks/base/core/java/android/app/usage/ |
D | NetworkStats.java | 167 @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/ |
D | NetworkStatsServiceTest.java | 25 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/ |
D | NetworkStatsTest.java | 19 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/ |
D | NetworkStats.java | 72 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/ |
D | current.txt | 6935 field public static final int METERED_ALL = -1; // 0xffffffff
|
D | system-current.txt | 7405 field public static final int METERED_ALL = -1; // 0xffffffff
|