Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java20 import static android.net.NetworkStats.DEFAULT_NETWORK_NO;
70 DEFAULT_NETWORK_NO, 0L, 0L, 1024L, 8L, 11) in testFindIndex()
74 DEFAULT_NETWORK_NO, 1024L, 8L, 1024L, 8L, 12) in testFindIndex()
81 ROAMING_NO, DEFAULT_NETWORK_NO)); in testFindIndex()
85 ROAMING_NO, DEFAULT_NETWORK_NO)); in testFindIndex()
89 ROAMING_NO, DEFAULT_NETWORK_NO)); in testFindIndex()
91 ROAMING_NO, DEFAULT_NETWORK_NO)); in testFindIndex()
100 DEFAULT_NETWORK_NO, 0L, 0L, 1024L, 8L, 11) in testFindIndexHinted()
104 DEFAULT_NETWORK_NO, 1024L, 8L, 0L, 0L, 10) in testFindIndexHinted()
108 DEFAULT_NETWORK_NO, 0L, 0L, 1024L, 8L, 11) in testFindIndexHinted()
[all …]
/frameworks/base/tests/net/common/java/android/net/netstats/
DNetworkStatsApiTest.kt20 import android.net.NetworkStats.DEFAULT_NETWORK_NO
79 METERED_NO, ROAMING_YES, DEFAULT_NETWORK_NO, 31, 7, 24, 5, 8)) in setUp()
81 METERED_YES, ROAMING_NO, DEFAULT_NETWORK_NO, 25, 3, 47, 8, 2)) in setUp()
83 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 37, 52, 1, 10, 4)) in setUp()
86 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 101, 2, 103, 4, 5)) in setUp()
88 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 17, 2, 11, 1, 0)) in setUp()
90 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 40, 1, 0, 0, 8)) in setUp()
92 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 3, 1, 6, 2, 0)) in setUp()
98 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 3, 15, 2, 31, 1)) in setUp()
100 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, 13, 61, 10, 1, 45)) in setUp()
[all …]
/frameworks/base/core/java/android/app/usage/
DNetworkStats.java236 DEFAULT_NETWORK_NO,
253 public static final int DEFAULT_NETWORK_NO = 0x1; field in NetworkStats.Bucket
336 case android.net.NetworkStats.DEFAULT_NETWORK_NO: return DEFAULT_NETWORK_NO; in convertDefaultNetworkStatus()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsBaseTest.java20 import static android.net.NetworkStats.DEFAULT_NETWORK_NO;
86 new int[] {DEFAULT_NETWORK_ALL, DEFAULT_NETWORK_YES, DEFAULT_NETWORK_NO}; in assertValues()
DNetworkStatsObserversTest.java20 import static android.net.NetworkStats.DEFAULT_NETWORK_NO;
337 DEFAULT_NETWORK_NO, BASE_BYTES + THRESHOLD_BYTES, 2L, in testUpdateStats_defaultAccess_notifiesSameUid()
363 DEFAULT_NETWORK_NO, BASE_BYTES, 2L, BASE_BYTES, 2L, 0L); in testUpdateStats_defaultAccess_usageOtherUid_doesNotNotify()
370 DEFAULT_NETWORK_NO, BASE_BYTES + THRESHOLD_BYTES, 2L, in testUpdateStats_defaultAccess_usageOtherUid_doesNotNotify()
435 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;
528 DEFAULT_NETWORK_NO); in assertStatsEntry()
541 DEFAULT_NETWORK_NO); in assertNoStatsEntry()
549 assertStatsEntry(stats, iface, uid, set, tag, METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, in assertStatsEntry()
/frameworks/base/core/java/android/net/
DNetworkStats.java176 public static final int DEFAULT_NETWORK_NO = 0; field in NetworkStats
184 DEFAULT_NETWORK_NO,
324 this(iface, uid, set, tag, METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, in Entry()
1368 case DEFAULT_NETWORK_NO: in defaultNetworkToString()
1661 TAG_NONE, METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO); in deductTrafficFromVpnApp()
1669 TAG_NONE, METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO); in deductTrafficFromVpnApp()
DNetworkTemplate.java27 import static android.net.NetworkStats.DEFAULT_NETWORK_NO;
420 || (mDefaultNetwork == DEFAULT_NETWORK_NO && !ident.mDefaultNetwork); in matchesDefaultNetwork()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DOffloadController.java19 import static android.net.NetworkStats.DEFAULT_NETWORK_NO;
314 ROAMING_NO, DEFAULT_NETWORK_NO, value.rxBytes, 0L, value.txBytes, 0L, 0L); in getTetherStats()
DBpfCoordinator.java19 import static android.net.NetworkStats.DEFAULT_NETWORK_NO;
675 ROAMING_NO, DEFAULT_NETWORK_NO, diff.rxBytes, diff.rxPackets, in buildNetworkStats()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java19 import static android.net.NetworkStats.DEFAULT_NETWORK_NO;
164 SET_DEFAULT, TAG_NONE, METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, rxBytes, in buildTestEntry()
DOffloadControllerTest.java19 import static android.net.NetworkStats.DEFAULT_NETWORK_NO;
422 TAG_NONE, METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, rxBytes, 0L, in buildTestEntry()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsCollection.java19 import static android.net.NetworkStats.DEFAULT_NETWORK_NO;
356 DEFAULT_NETWORK_YES : DEFAULT_NETWORK_NO; in getSummary()
/frameworks/base/services/core/java/com/android/server/connectivity/
DMultipathPolicyTracker.java224 NetworkStats.DEFAULT_NETWORK_NO, NETWORK_TYPE_ALL); in MultipathTracker()
/frameworks/base/api/
Dsystem-current.txt4682 field public static final int DEFAULT_NETWORK_NO = 0; // 0x0
Dcurrent.txt7677 field public static final int DEFAULT_NETWORK_NO = 1; // 0x1
/frameworks/base/non-updatable-api/
Dsystem-current.txt4682 field public static final int DEFAULT_NETWORK_NO = 0; // 0x0
Dcurrent.txt7677 field public static final int DEFAULT_NETWORK_NO = 1; // 0x1
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44677 Landroid/net/NetworkStats;->DEFAULT_NETWORK_NO:I