/frameworks/base/tests/net/java/android/net/ |
D | NetworkStatsTest.java | 24 import static android.net.NetworkStats.METERED_NO; 66 .addValues(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndex() 68 .addValues(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndex() 72 .addValues(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndex() 79 assertEquals(3, stats.findIndex(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_NO, in testFindIndex() 83 assertEquals(1, stats.findIndex(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_NO, in testFindIndex() 85 assertEquals(0, stats.findIndex(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, METERED_NO, in testFindIndex() 87 assertEquals(-1, stats.findIndex(TEST_IFACE, 6, SET_DEFAULT, TAG_NONE, METERED_NO, in testFindIndex() 89 assertEquals(-1, stats.findIndex(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, METERED_NO, in testFindIndex() 96 .addValues(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndexHinted() [all …]
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsObserversTest.java | 23 import static android.net.NetworkStats.METERED_NO; 345 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_notifiesSameUid() 353 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_notifiesSameUid() 380 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_usageOtherUid_doesNotNotify() 388 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_usageOtherUid_doesNotNotify() 414 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_userAccess_usageSameUser_notifies() 422 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_userAccess_usageSameUser_notifies() 449 .addValues(TEST_IFACE, UID_ANOTHER_USER, SET_DEFAULT, TAG_NONE, METERED_NO, in testUpdateStats_userAccess_usageAnotherUser_doesNotNotify() 457 .addValues(TEST_IFACE, UID_ANOTHER_USER, SET_DEFAULT, TAG_NONE, METERED_NO, in testUpdateStats_userAccess_usageAnotherUser_doesNotNotify()
|
D | NetworkStatsServiceTest.java | 30 import static android.net.NetworkStats.METERED_NO; 327 assertUidTotal(sTemplateWifi, UID_RED, SET_DEFAULT, METERED_NO, ROAMING_NO, in testStatsRebootPersist() 329 assertUidTotal(sTemplateWifi, UID_RED, SET_FOREGROUND, METERED_NO, ROAMING_NO, in testStatsRebootPersist() 350 assertUidTotal(sTemplateWifi, UID_RED, SET_DEFAULT, METERED_NO, ROAMING_NO, in testStatsRebootPersist() 352 assertUidTotal(sTemplateWifi, UID_RED, SET_FOREGROUND, METERED_NO, ROAMING_NO, in testStatsRebootPersist() 643 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testSummaryForAllUid() 645 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, 0xF00D, METERED_NO, ROAMING_NO, in testSummaryForAllUid() 647 assertValues(stats, IFACE_ALL, UID_BLUE, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testSummaryForAllUid() 655 assertValues(stats, IFACE_ALL, UID_BLUE, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testSummaryForAllUid() 795 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testForegroundBackground() [all …]
|
/frameworks/base/core/java/android/app/usage/ |
D | NetworkStats.java | 176 METERED_NO, 190 public static final int METERED_NO = 0x1; field in NetworkStats.Bucket 317 case android.net.NetworkStats.METERED_NO: return METERED_NO; in convertMetered()
|
/frameworks/base/tests/net/java/com/android/internal/net/ |
D | NetworkStatsFactoryTest.java | 20 import static android.net.NetworkStats.METERED_NO; 244 final int i = stats.findIndex(iface, uid, set, tag, METERED_NO, ROAMING_NO, in assertStatsEntry() 257 final int i = stats.findIndex(iface, uid, set, tag, METERED_NO, ROAMING_NO, in assertStatsEntry()
|
/frameworks/base/core/java/android/net/ |
D | NetworkTemplate.java | 30 import static android.net.NetworkStats.METERED_NO; 341 || (mMetered == METERED_NO && !ident.mMetered); in matchesMetered()
|
D | NetworkStats.java | 78 public static final int METERED_NO = 0; field in NetworkStats 168 this(iface, uid, set, tag, METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, in Entry() 1035 case METERED_NO: in meteredToString() 1265 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO); in deductTrafficFromVpnApp() 1271 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO); in deductTrafficFromVpnApp()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsCollection.java | 22 import static android.net.NetworkStats.METERED_NO; 381 entry.metered = key.ident.isAnyMemberMetered() ? METERED_YES : METERED_NO; in getSummary()
|
/frameworks/base/config/ |
D | hiddenapi-public-dex.txt | 4597 Landroid/app/usage/NetworkStats$Bucket;->METERED_NO:I
|
/frameworks/base/api/ |
D | current.txt | 7407 field public static final int METERED_NO = 1; // 0x1
|