Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStatsTest.java20 import static android.net.NetworkStats.DEFAULT_NETWORK_NO;
80 DEFAULT_NETWORK_NO, 0L, 0L, 1024L, 8L, 11) in testFindIndex()
84 DEFAULT_NETWORK_NO, 1024L, 8L, 1024L, 8L, 12) in testFindIndex()
91 ROAMING_NO, DEFAULT_NETWORK_NO)); in testFindIndex()
95 ROAMING_NO, DEFAULT_NETWORK_NO)); in testFindIndex()
99 ROAMING_NO, DEFAULT_NETWORK_NO)); in testFindIndex()
101 ROAMING_NO, DEFAULT_NETWORK_NO)); in testFindIndex()
110 DEFAULT_NETWORK_NO, 0L, 0L, 1024L, 8L, 11) in testFindIndexHinted()
114 DEFAULT_NETWORK_NO, 1024L, 8L, 0L, 0L, 10) in testFindIndexHinted()
118 DEFAULT_NETWORK_NO, 0L, 0L, 1024L, 8L, 11) in testFindIndexHinted()
[all …]
DNetworkStatsHistoryTest.java19 import static android.net.NetworkStats.DEFAULT_NETWORK_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.java21 import static android.net.NetworkStats.DEFAULT_NETWORK_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.kt20 import android.net.NetworkStats.DEFAULT_NETWORK_NO
71 METERED_NO, ROAMING_YES, DEFAULT_NETWORK_NO, 31, 7, 24, 5, 8)) 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/NetworkStack/tests/unit/src/android/net/testutils/
DNetworkStatsUtilsTest.kt20 import android.net.NetworkStats.DEFAULT_NETWORK_NO
49 DEFAULT_NETWORK_NO, 128L, 8L, 0L, 2L, 20L), in testOrderInsensitiveEquals()
51 DEFAULT_NETWORK_NO, 512L, 32L, 0L, 0L, 0L)) in testOrderInsensitiveEquals()
/packages/modules/Connectivity/tests/unit/java/android/app/usage/
DNetworkStatsManagerTest.java21 import static android.net.NetworkStats.DEFAULT_NETWORK_NO;
98 DEFAULT_NETWORK_NO, 100, 10, 200, 20, 0); in testQueryDetails()
101 DEFAULT_NETWORK_NO, 100, 10, 200, 20, 0); in testQueryDetails()
104 DEFAULT_NETWORK_NO, 150, 10, 250, 20, 0); in testQueryDetails()
107 DEFAULT_NETWORK_NO, 150, 10, 250, 20, 0); in testQueryDetails()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsServiceTest.java34 import static android.net.NetworkStats.DEFAULT_NETWORK_NO;
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()
1085 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 5L, 13L, 31L, 9L, 2L))); in doTestMobileStatsByRatType()
1169 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 36L, 41L, 24L, 96L, 0L))); in testMobileStatsOemManaged()
1184 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 49L, 71L, 72L, 48L, 0L))); in testMobileStatsOemManaged()
1200 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 57L, 86L, 83L, 93L, 0L))); in testMobileStatsOemManaged()
[all …]
DNetworkStatsBaseTest.java20 import static android.net.NetworkStats.DEFAULT_NETWORK_NO;
88 new int[] {DEFAULT_NETWORK_ALL, DEFAULT_NETWORK_YES, DEFAULT_NETWORK_NO}; in assertValues()
DNetworkStatsObserversTest.java21 import static android.net.NetworkStats.DEFAULT_NETWORK_NO;
418 DEFAULT_NETWORK_NO, BASE_BYTES + THRESHOLD_BYTES, 2L, in testUpdateStats_defaultAccess_notifiesSameUid()
444 DEFAULT_NETWORK_NO, BASE_BYTES, 2L, BASE_BYTES, 2L, 0L); in testUpdateStats_defaultAccess_usageOtherUid_doesNotNotify()
451 DEFAULT_NETWORK_NO, BASE_BYTES + THRESHOLD_BYTES, 2L, in testUpdateStats_defaultAccess_usageOtherUid_doesNotNotify()
516 ROAMING_NO, DEFAULT_NETWORK_NO, BASE_BYTES + THRESHOLD_BYTES, 2L, in testUpdateStats_userAccess_usageAnotherUser_doesNotNotify()
DNetworkStatsFactoryTest.java20 import static android.net.NetworkStats.DEFAULT_NETWORK_NO;
582 DEFAULT_NETWORK_NO); in assertStatsEntry()
595 DEFAULT_NETWORK_NO); in assertNoStatsEntry()
603 assertStatsEntry(stats, iface, uid, set, tag, METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, in assertStatsEntry()
/packages/modules/Connectivity/framework-t/src/android/app/usage/
DNetworkStats.java239 DEFAULT_NETWORK_NO,
256 public static final int DEFAULT_NETWORK_NO = 0x1; field in NetworkStats.Bucket
339 case android.net.NetworkStats.DEFAULT_NETWORK_NO: return DEFAULT_NETWORK_NO; in convertDefaultNetworkStatus()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DNetworkStatsUtils.java168 case NetworkStats.Bucket.DEFAULT_NETWORK_NO: in convertBucketDefaultNetworkStatus()
169 return android.net.NetworkStats.DEFAULT_NETWORK_NO; in convertBucketDefaultNetworkStatus()
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkStats.java169 public static final int DEFAULT_NETWORK_NO = 0; field in NetworkStats
177 DEFAULT_NETWORK_NO,
308 DEFAULT_NETWORK_NO, 0L, 0L, 0L, 0L, 0L); 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()
1522 case DEFAULT_NETWORK_NO: in defaultNetworkToString()
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.java20 import static android.net.NetworkStats.DEFAULT_NETWORK_NO;
536 DEFAULT_NETWORK_NO, rxBytes, 0L, txBytes, 0L, 0L)); in recordData()
619 DEFAULT_NETWORK_NO, 0L, 0L, 0L, 0L, 0L); in recordHistory()
863 DEFAULT_NETWORK_NO, 0L, 0L, 0L, 0L, 0L); in generateRandom()
DNetworkStatsCollection.java20 import static android.net.NetworkStats.DEFAULT_NETWORK_NO;
330 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 1L, 0L, 1L, 0L, 0L)); in getHistory()
413 ? DEFAULT_NETWORK_YES : DEFAULT_NETWORK_NO; in getSummary()
DNetworkTemplate.java31 import static android.net.NetworkStats.DEFAULT_NETWORK_NO;
769 || (mDefaultNetwork == DEFAULT_NETWORK_NO && !ident.mDefaultNetwork); in matchesDefaultNetwork()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DOffloadController.java19 import static android.net.NetworkStats.DEFAULT_NETWORK_NO;
351 ROAMING_NO, DEFAULT_NETWORK_NO, value.rxBytes, 0L, value.txBytes, 0L, 0L); in getTetherStats()
DBpfCoordinator.java19 import static android.net.NetworkStats.DEFAULT_NETWORK_NO;
2206 ROAMING_NO, DEFAULT_NETWORK_NO, diff.rxBytes, diff.rxPackets, in buildNetworkStats()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkStatsManagerTest.java19 import static android.app.usage.NetworkStats.Bucket.DEFAULT_NETWORK_NO;
520 ? DEFAULT_NETWORK_YES : DEFAULT_NETWORK_NO; in testAppSummary()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadControllerTest.java19 import static android.net.NetworkStats.DEFAULT_NETWORK_NO;
420 TAG_NONE, METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, rxBytes, 0L, in buildTestEntry()
DBpfCoordinatorTest.java21 import static android.net.NetworkStats.DEFAULT_NETWORK_NO;
691 SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, rxBytes, in buildTestEntry()
/packages/modules/Connectivity/framework-t/api/
Dcurrent.txt25 field public static final int DEFAULT_NETWORK_NO = 1; // 0x1
Dsystem-current.txt321 field public static final int DEFAULT_NETWORK_NO = 0; // 0x0
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsService.java31 import static android.net.NetworkStats.DEFAULT_NETWORK_NO;
3327 SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO,
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt977 Landroid/net/NetworkStats;->DEFAULT_NETWORK_NO:I