/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | NetworkStatsTest.java | 21 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/ |
D | NetworkStatsServiceTest.java | 35 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 …]
|
D | NetworkStatsBaseTest.java | 21 import static android.net.NetworkStats.DEFAULT_NETWORK_YES; 88 new int[] {DEFAULT_NETWORK_ALL, DEFAULT_NETWORK_YES, DEFAULT_NETWORK_NO}; in assertValues()
|
D | NetworkStatsObserversTest.java | 22 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/ |
D | NetworkStatsApiTest.kt | 21 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/ |
D | NetworkStats.java | 240 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/ |
D | NetworkStatsUtils.java | 170 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/ |
D | NetworkTemplate.java | 32 import static android.net.NetworkStats.DEFAULT_NETWORK_YES; 768 || (mDefaultNetwork == DEFAULT_NETWORK_YES && ident.mDefaultNetwork) in matchesDefaultNetwork()
|
D | NetworkStats.java | 171 public static final int DEFAULT_NETWORK_YES = 1; field in NetworkStats 178 DEFAULT_NETWORK_YES 1524 case DEFAULT_NETWORK_YES: in defaultNetworkToString()
|
D | NetworkStatsCollection.java | 21 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/ |
D | NetworkStatsManagerTest.java | 20 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/ |
D | current.txt | 26 field public static final int DEFAULT_NETWORK_YES = 2; // 0x2
|
D | system-current.txt | 322 field public static final int DEFAULT_NETWORK_YES = 1; // 0x1
|
/packages/modules/Connectivity/Tethering/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 978 Landroid/net/NetworkStats;->DEFAULT_NETWORK_YES:I
|