Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java21 import static android.net.NetworkStats.DEFAULT_NETWORK_YES;
68 DEFAULT_NETWORK_YES, 1024L, 8L, 0L, 0L, 10) in testFindIndex()
72 DEFAULT_NETWORK_YES, 0L, 0L, 1024L, 8L, 11) in testFindIndex()
76 DEFAULT_NETWORK_YES, 1024L, 8L, 1024L, 8L, 12); in testFindIndex()
79 ROAMING_YES, DEFAULT_NETWORK_YES)); in testFindIndex()
83 ROAMING_NO, DEFAULT_NETWORK_YES)); in testFindIndex()
87 ROAMING_NO, DEFAULT_NETWORK_YES)); in testFindIndex()
98 DEFAULT_NETWORK_YES, 1024L, 8L, 0L, 0L, 10) in testFindIndexHinted()
102 DEFAULT_NETWORK_YES, 1024L, 8L, 1024L, 8L, 12) in testFindIndexHinted()
106 DEFAULT_NETWORK_YES, 0L, 0L, 1024L, 8L, 11) in testFindIndexHinted()
[all …]
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java26 import static android.net.NetworkStats.DEFAULT_NETWORK_YES;
360 DEFAULT_NETWORK_YES, 512L, 4L, 256L, 2L, 4);
362 DEFAULT_NETWORK_YES, 512L, 4L, 256L, 2L, 6);
383 DEFAULT_NETWORK_YES, 512L, 4L, 256L, 2L, 4);
385 DEFAULT_NETWORK_YES, 512L, 4L, 256L, 2L, 6);
749 DEFAULT_NETWORK_YES, 50L, 5L, 50L, 5L, 1);
751 DEFAULT_NETWORK_YES, 10L, 1L, 10L, 1L, 1);
753 DEFAULT_NETWORK_YES, 2048L, 16L, 1024L, 8L, 0);
761 DEFAULT_NETWORK_YES, 1024L, 8L, 512L, 4L, 0);
908 DEFAULT_NETWORK_YES, 128L, 2L, 128L, 2L, 1);
[all …]
DNetworkStatsBaseTest.java21 import static android.net.NetworkStats.DEFAULT_NETWORK_YES;
86 new int[] {DEFAULT_NETWORK_ALL, DEFAULT_NETWORK_YES, DEFAULT_NETWORK_NO}; in assertValues()
DNetworkStatsObserversTest.java21 import static android.net.NetworkStats.DEFAULT_NETWORK_YES;
330 DEFAULT_NETWORK_YES, BASE_BYTES, 2L, BASE_BYTES, 2L, 0L); in testUpdateStats_defaultAccess_notifiesSameUid()
395 DEFAULT_NETWORK_YES, BASE_BYTES, 2L, BASE_BYTES, 2L, 0L); in testUpdateStats_userAccess_usageSameUser_notifies()
402 DEFAULT_NETWORK_YES, BASE_BYTES + THRESHOLD_BYTES, 2L, in testUpdateStats_userAccess_usageSameUser_notifies()
428 ROAMING_NO, DEFAULT_NETWORK_YES, BASE_BYTES, 2L, BASE_BYTES, 2L, 0L); in testUpdateStats_userAccess_usageAnotherUser_doesNotNotify()
/frameworks/base/core/java/android/app/usage/
DNetworkStats.java237 DEFAULT_NETWORK_YES
261 public static final int DEFAULT_NETWORK_YES = 0x2; field in NetworkStats.Bucket
337 case android.net.NetworkStats.DEFAULT_NETWORK_YES: return DEFAULT_NETWORK_YES; in convertDefaultNetworkStatus()
/frameworks/base/tests/net/common/java/android/net/netstats/
DNetworkStatsApiTest.kt21 import android.net.NetworkStats.DEFAULT_NETWORK_YES
77 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_YES, 20, 3, 57, 40, 3)) in setUp()
122 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_YES, 20, 3, 57, 40, 3)) in setUp()
/frameworks/base/core/java/android/net/
DNetworkTemplate.java28 import static android.net.NetworkStats.DEFAULT_NETWORK_YES;
419 || (mDefaultNetwork == DEFAULT_NETWORK_YES && ident.mDefaultNetwork) in matchesDefaultNetwork()
DNetworkStats.java178 public static final int DEFAULT_NETWORK_YES = 1; field in NetworkStats
185 DEFAULT_NETWORK_YES
1370 case DEFAULT_NETWORK_YES: in defaultNetworkToString()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsCollection.java20 import static android.net.NetworkStats.DEFAULT_NETWORK_YES;
356 DEFAULT_NETWORK_YES : DEFAULT_NETWORK_NO; in getSummary()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java18 import static android.net.NetworkStats.DEFAULT_NETWORK_YES;
1211 TAG_NONE, METERED_YES, ROAMING_NO, DEFAULT_NETWORK_YES, rxBytes, 0L, in assertVtDataUsageUpdated()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java4039 NetworkStats.DEFAULT_NETWORK_YES, delta / 2, 0, delta / 2, 0, 0)); in updateVtDataUsage()
4062 isRoaming, NetworkStats.DEFAULT_NETWORK_YES, delta / 2, 0, delta / 2, 0, 0)); in updateVtDataUsage()
/frameworks/base/api/
Dsystem-current.txt4683 field public static final int DEFAULT_NETWORK_YES = 1; // 0x1
Dcurrent.txt7678 field public static final int DEFAULT_NETWORK_YES = 2; // 0x2
/frameworks/base/non-updatable-api/
Dsystem-current.txt4683 field public static final int DEFAULT_NETWORK_YES = 1; // 0x1
Dcurrent.txt7678 field public static final int DEFAULT_NETWORK_YES = 2; // 0x2
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44678 Landroid/net/NetworkStats;->DEFAULT_NETWORK_YES:I