Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java28 import static android.net.NetworkStats.ROAMING_NO;
67 .addValues(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndex()
69 .addValues(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndex()
71 .addValues(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_YES, ROAMING_NO, in testFindIndex()
73 .addValues(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndex()
81 ROAMING_NO, DEFAULT_NETWORK_NO)); in testFindIndex()
83 ROAMING_NO, DEFAULT_NETWORK_YES)); in testFindIndex()
85 ROAMING_NO, DEFAULT_NETWORK_NO)); in testFindIndex()
87 ROAMING_NO, DEFAULT_NETWORK_YES)); in testFindIndex()
89 ROAMING_NO, DEFAULT_NETWORK_NO)); in testFindIndex()
[all …]
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsObserversTest.java23 import static android.net.NetworkStats.ROAMING_NO;
338 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_notifiesSameUid()
346 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_notifiesSameUid()
373 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_usageOtherUid_doesNotNotify()
381 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_usageOtherUid_doesNotNotify()
407 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_userAccess_usageSameUser_notifies()
415 .addValues(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_userAccess_usageSameUser_notifies()
443 ROAMING_NO, DEFAULT_NETWORK_YES, BASE_BYTES, 2L, BASE_BYTES, 2L, 0L); in testUpdateStats_userAccess_usageAnotherUser_doesNotNotify()
451 ROAMING_NO, DEFAULT_NETWORK_NO, BASE_BYTES + THRESHOLD_BYTES, 2L, in testUpdateStats_userAccess_usageAnotherUser_doesNotNotify()
DNetworkStatsServiceTest.java34 import static android.net.NetworkStats.ROAMING_NO;
326 assertUidTotal(sTemplateWifi, UID_RED, SET_DEFAULT, METERED_NO, ROAMING_NO, in testStatsRebootPersist()
328 assertUidTotal(sTemplateWifi, UID_RED, SET_FOREGROUND, METERED_NO, ROAMING_NO, in testStatsRebootPersist()
349 assertUidTotal(sTemplateWifi, UID_RED, SET_DEFAULT, METERED_NO, ROAMING_NO, in testStatsRebootPersist()
351 assertUidTotal(sTemplateWifi, UID_RED, SET_FOREGROUND, METERED_NO, ROAMING_NO, in testStatsRebootPersist()
642 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testSummaryForAllUid()
644 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, 0xF00D, METERED_NO, ROAMING_NO, in testSummaryForAllUid()
646 assertValues(stats, IFACE_ALL, UID_BLUE, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testSummaryForAllUid()
654 assertValues(stats, IFACE_ALL, UID_BLUE, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testSummaryForAllUid()
794 assertValues(stats, IFACE_ALL, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testForegroundBackground()
[all …]
DNetworkStatsFactoryTest.java21 import static android.net.NetworkStats.ROAMING_NO;
253 final int i = stats.findIndex(iface, uid, set, tag, METERED_NO, ROAMING_NO, in assertStatsEntry()
266 final int i = stats.findIndex(iface, uid, set, tag, METERED_NO, ROAMING_NO, in assertNoStatsEntry()
275 final int i = stats.findIndex(iface, uid, set, tag, METERED_NO, ROAMING_NO, in assertStatsEntry()
/frameworks/base/core/java/android/app/usage/
DNetworkStats.java203 ROAMING_NO,
223 public static final int ROAMING_NO = 0x1; field in NetworkStats.Bucket
326 case android.net.NetworkStats.ROAMING_NO: return ROAMING_NO; in convertRoaming()
/frameworks/base/core/java/android/net/
DNetworkTemplate.java33 import static android.net.NetworkStats.ROAMING_NO;
369 || (mRoaming == ROAMING_NO && !ident.mRoaming); in matchesRoaming()
DNetworkStats.java89 public static final int ROAMING_NO = 0; field in NetworkStats
195 this(iface, uid, set, tag, METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, in Entry()
1118 case ROAMING_NO: in roamingToString()
1333 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO); in deductTrafficFromVpnApp()
1339 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO); in deductTrafficFromVpnApp()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsCollection.java24 import static android.net.NetworkStats.ROAMING_NO;
382 entry.roaming = key.ident.isAnyMemberRoaming() ? ROAMING_YES : ROAMING_NO; in getSummary()
/frameworks/base/api/
Dcurrent.txt7680 field public static final int ROAMING_NO = 1; // 0x1
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt47972 Landroid/net/NetworkStats;->ROAMING_NO:I