Home
last modified time | relevance | path

Searched refs:DEFAULT_NETWORK_YES (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStatsTest.java21 import static android.net.NetworkStats.DEFAULT_NETWORK_YES;
78 DEFAULT_NETWORK_YES, 1024L, 8L, 0L, 0L, 10) in testFindIndex()
82 DEFAULT_NETWORK_YES, 0L, 0L, 1024L, 8L, 11) in testFindIndex()
86 DEFAULT_NETWORK_YES, 1024L, 8L, 1024L, 8L, 12); in testFindIndex()
89 ROAMING_YES, DEFAULT_NETWORK_YES)); in testFindIndex()
93 ROAMING_NO, DEFAULT_NETWORK_YES)); in testFindIndex()
97 ROAMING_NO, DEFAULT_NETWORK_YES)); in testFindIndex()
108 DEFAULT_NETWORK_YES, 1024L, 8L, 0L, 0L, 10) in testFindIndexHinted()
112 DEFAULT_NETWORK_YES, 1024L, 8L, 1024L, 8L, 12) in testFindIndexHinted()
116 DEFAULT_NETWORK_YES, 0L, 0L, 1024L, 8L, 11) in testFindIndexHinted()
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsServiceTest.java35 import static android.net.NetworkStats.DEFAULT_NETWORK_YES;
802 DEFAULT_NETWORK_YES, 512L, 4L, 256L, 2L, 4); in testStatsRebootPersist()
804 DEFAULT_NETWORK_YES, 512L, 4L, 256L, 2L, 6); in testStatsRebootPersist()
823 DEFAULT_NETWORK_YES, 512L, 4L, 256L, 2L, 4); in testStatsRebootPersist()
825 DEFAULT_NETWORK_YES, 512L, 4L, 256L, 2L, 6); in testStatsRebootPersist()
1129 DEFAULT_NETWORK_YES, 128L, 2L, 128L, 2L, 0L) in testMobileStatsMeteredness()
1131 DEFAULT_NETWORK_YES, 256, 3L, 128L, 5L, 0L)); in testMobileStatsMeteredness()
1296 DEFAULT_NETWORK_YES, 50L, 5L, 50L, 5L, 1); in testSummaryForAllUid()
1298 DEFAULT_NETWORK_YES, 10L, 1L, 10L, 1L, 1); in testSummaryForAllUid()
1300 DEFAULT_NETWORK_YES, 2048L, 16L, 1024L, 8L, 0); in testSummaryForAllUid()
[all …]
DNetworkStatsBaseTest.java21 import static android.net.NetworkStats.DEFAULT_NETWORK_YES;
88 new int[] {DEFAULT_NETWORK_ALL, DEFAULT_NETWORK_YES, DEFAULT_NETWORK_NO}; in assertValues()
DNetworkStatsObserversTest.java22 import static android.net.NetworkStats.DEFAULT_NETWORK_YES;
411 DEFAULT_NETWORK_YES, BASE_BYTES, 2L, BASE_BYTES, 2L, 0L); in testUpdateStats_defaultAccess_notifiesSameUid()
476 DEFAULT_NETWORK_YES, BASE_BYTES, 2L, BASE_BYTES, 2L, 0L); in testUpdateStats_userAccess_usageSameUser_notifies()
483 DEFAULT_NETWORK_YES, BASE_BYTES + THRESHOLD_BYTES, 2L, in testUpdateStats_userAccess_usageSameUser_notifies()
509 ROAMING_NO, DEFAULT_NETWORK_YES, BASE_BYTES, 2L, BASE_BYTES, 2L, 0L); in testUpdateStats_userAccess_usageAnotherUser_doesNotNotify()
/packages/modules/Connectivity/tests/common/java/android/net/netstats/
DNetworkStatsApiTest.kt21 import android.net.NetworkStats.DEFAULT_NETWORK_YES
69 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_YES, 20, 3, 57, 40, 3)) in setUp()
114 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_YES, 20, 3, 57, 40, 3)) in setUp()
/packages/modules/Connectivity/framework-t/src/android/app/usage/
DNetworkStats.java240 DEFAULT_NETWORK_YES
264 public static final int DEFAULT_NETWORK_YES = 0x2; field in NetworkStats.Bucket
340 case android.net.NetworkStats.DEFAULT_NETWORK_YES: return DEFAULT_NETWORK_YES; in convertDefaultNetworkStatus()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DNetworkStatsUtils.java170 case NetworkStats.Bucket.DEFAULT_NETWORK_YES: in convertBucketDefaultNetworkStatus()
171 return android.net.NetworkStats.DEFAULT_NETWORK_YES; in convertBucketDefaultNetworkStatus()
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkTemplate.java32 import static android.net.NetworkStats.DEFAULT_NETWORK_YES;
768 || (mDefaultNetwork == DEFAULT_NETWORK_YES && ident.mDefaultNetwork) in matchesDefaultNetwork()
DNetworkStats.java171 public static final int DEFAULT_NETWORK_YES = 1; field in NetworkStats
178 DEFAULT_NETWORK_YES
1524 case DEFAULT_NETWORK_YES: in defaultNetworkToString()
DNetworkStatsCollection.java21 import static android.net.NetworkStats.DEFAULT_NETWORK_YES;
413 ? DEFAULT_NETWORK_YES : DEFAULT_NETWORK_NO; in getSummary()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkStatsManagerTest.java20 import static android.app.usage.NetworkStats.Bucket.DEFAULT_NETWORK_YES;
520 ? DEFAULT_NETWORK_YES : DEFAULT_NETWORK_NO; in testAppSummary()
/packages/modules/Connectivity/framework-t/api/
Dcurrent.txt26 field public static final int DEFAULT_NETWORK_YES = 2; // 0x2
Dsystem-current.txt322 field public static final int DEFAULT_NETWORK_YES = 1; // 0x1
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt978 Landroid/net/NetworkStats;->DEFAULT_NETWORK_YES:I