Home
last modified time | relevance | path

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

12

/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStatsTest.java28 import static android.net.NetworkStats.ROAMING_NO;
77 .insertEntry(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndex()
79 .insertEntry(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndex()
81 .insertEntry(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_YES, ROAMING_NO, in testFindIndex()
83 .insertEntry(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testFindIndex()
91 ROAMING_NO, DEFAULT_NETWORK_NO)); in testFindIndex()
93 ROAMING_NO, DEFAULT_NETWORK_YES)); in testFindIndex()
95 ROAMING_NO, DEFAULT_NETWORK_NO)); in testFindIndex()
97 ROAMING_NO, DEFAULT_NETWORK_YES)); in testFindIndex()
99 ROAMING_NO, DEFAULT_NETWORK_NO)); in testFindIndex()
[all …]
DNetworkStatsHistoryTest.java22 import static android.net.NetworkStats.ROAMING_NO;
122 ROAMING_NO, DEFAULT_NETWORK_NO, 1024L, 10L, 2048L, 20L, 2L)); in testRecordSingleBucket()
137 ROAMING_NO, DEFAULT_NETWORK_NO, 1024L, 10L, 128L, 2L, 2L)); in testRecordEqualBuckets()
155 ROAMING_NO, DEFAULT_NETWORK_NO, 1000L, 2000L, 5000L, 10000L, 100L)); in testRecordTouchingBuckets()
176 ROAMING_NO, DEFAULT_NETWORK_NO, 128L, 2L, 256L, 4L, 1L)); in testRecordGapBuckets()
179 ROAMING_NO, DEFAULT_NETWORK_NO, 64L, 1L, 512L, 8L, 2L)); in testRecordGapBuckets()
191 ROAMING_NO, DEFAULT_NETWORK_NO, 2048L, 4L, 2048L, 4L, 2L)); in testRecordGapBuckets()
209 ROAMING_NO, DEFAULT_NETWORK_NO, 256L, 2L, 256L, 2L, 1L)); in testRecordOverlapBuckets()
213 ROAMING_NO, DEFAULT_NETWORK_NO, 1024L, 10L, 1024L, 10L, 10L)); in testRecordOverlapBuckets()
392 ROAMING_NO, DEFAULT_NETWORK_NO, 1024L, 10L, 2048L, 20L, 4L)); in testIgnoreFields()
[all …]
DNetworkStatsCollectionTest.java24 import static android.net.NetworkStats.ROAMING_NO;
517 ROAMING_NO, DEFAULT_NETWORK_NO, 12_730_893_164L, 1, 0, 0, 0)); in testAugmentPlanGigantic()
697 ROAMING_NO, DEFAULT_NETWORK_NO, rxBytes, rxPackets, txBytes, txPackets, 0L), in assertEntry()
704 ROAMING_NO, DEFAULT_NETWORK_NO, rxBytes, rxPackets, txBytes, txPackets, 0L), in assertEntry()
711 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, actual.rxBytes, actual.rxPackets, in assertEntry()
718 ROAMING_NO, DEFAULT_NETWORK_NO, actual.rxBytes, actual.rxPackets, in assertEntry()
721 ROAMING_NO, DEFAULT_NETWORK_NO, actual.rxBytes, actual.rxPackets, in assertEntry()
/packages/modules/Connectivity/tests/common/java/android/net/netstats/
DNetworkStatsApiTest.kt26 import android.net.NetworkStats.ROAMING_NO
69 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_YES, 20, 3, 57, 40, 3)) in setUp()
73 METERED_YES, ROAMING_NO, DEFAULT_NETWORK_NO, 25, 3, 47, 8, 2)) in setUp()
75 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 37, 52, 1, 10, 4)) in setUp()
78 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 101, 2, 103, 4, 5)) in setUp()
80 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 17, 2, 11, 1, 0)) in setUp()
82 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 40, 1, 0, 0, 8)) in setUp()
84 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 3, 1, 6, 2, 0)) in setUp()
90 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 3, 15, 2, 31, 1)) in setUp()
92 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 13, 61, 10, 1, 45)) in setUp()
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsServiceTest.java42 import static android.net.NetworkStats.ROAMING_NO;
801 assertUidTotal(sTemplateWifi, UID_RED, SET_DEFAULT, METERED_NO, ROAMING_NO, in testStatsRebootPersist()
803 assertUidTotal(sTemplateWifi, UID_RED, SET_FOREGROUND, METERED_NO, ROAMING_NO, in testStatsRebootPersist()
822 assertUidTotal(sTemplateWifi, UID_RED, SET_DEFAULT, METERED_NO, ROAMING_NO, in testStatsRebootPersist()
824 assertUidTotal(sTemplateWifi, UID_RED, SET_FOREGROUND, METERED_NO, ROAMING_NO, in testStatsRebootPersist()
1045 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 12L, 18L, 14L, 1L, 0L))); in doTestMobileStatsByRatType()
1060 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 16L, 22L, 17L, 2L, 0L)) in doTestMobileStatsByRatType()
1063 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 33L, 27L, 8L, 10L, 1L))); in doTestMobileStatsByRatType()
1080 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 16L, 22L, 17L, 2L, 0L)) in doTestMobileStatsByRatType()
1082 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 33L, 27L, 8L, 10L, 1L)) in doTestMobileStatsByRatType()
[all …]
DNetworkStatsObserversTest.java25 import static android.net.NetworkStats.ROAMING_NO;
410 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_notifiesSameUid()
417 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_notifiesSameUid()
443 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_usageOtherUid_doesNotNotify()
450 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_defaultAccess_usageOtherUid_doesNotNotify()
475 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_userAccess_usageSameUser_notifies()
482 .insertEntry(TEST_IFACE, UID_RED, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testUpdateStats_userAccess_usageSameUser_notifies()
509 ROAMING_NO, DEFAULT_NETWORK_YES, BASE_BYTES, 2L, BASE_BYTES, 2L, 0L); in testUpdateStats_userAccess_usageAnotherUser_doesNotNotify()
516 ROAMING_NO, DEFAULT_NETWORK_NO, BASE_BYTES + THRESHOLD_BYTES, 2L, in testUpdateStats_userAccess_usageAnotherUser_doesNotNotify()
DNetworkStatsBaseTest.java26 import static android.net.NetworkStats.ROAMING_NO;
73 roamings = new int[] {ROAMING_ALL, ROAMING_YES, ROAMING_NO}; in assertValues()
DNetworkStatsFactoryTest.java24 import static android.net.NetworkStats.ROAMING_NO;
581 final int i = stats.findIndex(iface, uid, set, tag, METERED_NO, ROAMING_NO, in assertStatsEntry()
594 final int i = stats.findIndex(iface, uid, set, tag, METERED_NO, ROAMING_NO, in assertNoStatsEntry()
603 assertStatsEntry(stats, iface, uid, set, tag, METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, in assertStatsEntry()
/packages/modules/NetworkStack/tests/unit/src/android/net/testutils/
DNetworkStatsUtilsTest.kt22 import android.net.NetworkStats.ROAMING_NO
48 NetworkStats.Entry(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testOrderInsensitiveEquals()
50 NetworkStats.Entry(TEST_IFACE2, 100, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testOrderInsensitiveEquals()
/packages/modules/Connectivity/tests/unit/java/android/app/usage/
DNetworkStatsManagerTest.java24 import static android.net.NetworkStats.ROAMING_NO;
97 Entry uid1Entry1 = new Entry("if1", uid1, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testQueryDetails()
100 Entry uid1Entry2 = new Entry("if2", uid1, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testQueryDetails()
103 Entry uid2Entry1 = new Entry("if1", uid2, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testQueryDetails()
106 Entry uid2Entry2 = new Entry("if2", uid2, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in testQueryDetails()
/packages/modules/Connectivity/framework-t/src/android/app/usage/
DNetworkStats.java206 ROAMING_NO,
226 public static final int ROAMING_NO = 0x1; field in NetworkStats.Bucket
329 case android.net.NetworkStats.ROAMING_NO: return ROAMING_NO; in convertRoaming()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DNetworkStatsUtils.java158 case NetworkStats.Bucket.ROAMING_NO: return android.net.NetworkStats.ROAMING_NO; in convertBucketRoaming()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DNetworkStatsUtilsTest.kt85 android.app.usage.NetworkStats.Bucket.ROAMING_NO, in testBucketToEntry()
90 NetworkStats.ROAMING_NO, NetworkStats.DEFAULT_NETWORK_ALL, 1024, 8, 2048, 12, in testBucketToEntry()
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkStats.java152 public static final int ROAMING_NO = 0; field in NetworkStats
160 ROAMING_NO,
307 this(IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in Entry()
635 iface, UID_ALL, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, in insertEntry()
644 iface, uid, set, tag, METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, in insertEntry()
817 iface, uid, set, tag, METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, in combineValues()
1505 case ROAMING_NO: in roamingToString()
1853 TAG_NONE, METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO); in deductTrafficFromVpnApp()
1861 TAG_NONE, METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO); in deductTrafficFromVpnApp()
DNetworkStatsHistory.java23 import static android.net.NetworkStats.ROAMING_NO;
535 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in recordData()
618 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in recordHistory()
862 IFACE_ALL, UID_ALL, SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, in generateRandom()
DNetworkStatsCollection.java25 import static android.net.NetworkStats.ROAMING_NO;
330 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 1L, 0L, 1L, 0L, 0L)); in getHistory()
415 entry.roaming = key.ident.isAnyMemberRoaming() ? ROAMING_YES : ROAMING_NO; in getSummary()
DNetworkTemplate.java37 import static android.net.NetworkStats.ROAMING_NO;
763 || (mRoaming == ROAMING_NO && !ident.mRoaming); in matchesRoaming()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DOffloadController.java21 import static android.net.NetworkStats.ROAMING_NO;
351 ROAMING_NO, DEFAULT_NETWORK_NO, value.rxBytes, 0L, value.txBytes, 0L, 0L); in getTetherStats()
DBpfCoordinator.java21 import static android.net.NetworkStats.ROAMING_NO;
2206 ROAMING_NO, DEFAULT_NETWORK_NO, diff.rxBytes, diff.rxPackets, in buildNetworkStats()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkStatsManagerTest.java25 import static android.app.usage.NetworkStats.Bucket.ROAMING_NO;
518 ? ROAMING_YES : ROAMING_NO; in testAppSummary()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadControllerTest.java21 import static android.net.NetworkStats.ROAMING_NO;
420 TAG_NONE, METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, rxBytes, 0L, in buildTestEntry()
DBpfCoordinatorTest.java23 import static android.net.NetworkStats.ROAMING_NO;
691 SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, rxBytes, in buildTestEntry()
/packages/modules/Connectivity/framework-t/api/
Dcurrent.txt31 field public static final int ROAMING_NO = 1; // 0x1
Dsystem-current.txt328 field public static final int ROAMING_NO = 0; // 0x0
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsService.java39 import static android.net.NetworkStats.ROAMING_NO;
3327 SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO,

12