Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/common/java/android/net/netstats/
DNetworkTemplateTest.kt19 import android.net.NetworkStats.DEFAULT_NETWORK_ALL in <lambda>()
71 emptyArray<String>(), METERED_YES, ROAMING_ALL, DEFAULT_NETWORK_ALL, in <lambda>()
83 emptyArray<String>(), METERED_YES, ROAMING_YES, DEFAULT_NETWORK_ALL, in <lambda>()
111 DEFAULT_NETWORK_ALL, in <lambda>()
124 METERED_YES, ROAMING_ALL, DEFAULT_NETWORK_ALL, NETWORK_TYPE_ALL, in <lambda>()
134 emptyArray<String>(), METERED_YES, ROAMING_ALL, DEFAULT_NETWORK_ALL, in <lambda>()
144 ROAMING_ALL, DEFAULT_NETWORK_ALL, NETWORK_TYPE_ALL, OEM_MANAGED_ALL) in <lambda>()
153 arrayOf(TEST_WIFI_KEY1), METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL, in <lambda>()
163 arrayOf(TEST_WIFI_KEY1), METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL, in <lambda>()
174 METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL, NETWORK_TYPE_ALL, in <lambda>()
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsBaseTest.java19 import static android.net.NetworkStats.DEFAULT_NETWORK_ALL;
56 stats, iface, uid, SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL, in assertValues()
86 if (defaultNetwork == DEFAULT_NETWORK_ALL) { in assertValues()
88 new int[] {DEFAULT_NETWORK_ALL, DEFAULT_NETWORK_YES, DEFAULT_NETWORK_NO}; in assertValues()
DNetworkStatsFactoryTest.java19 import static android.net.NetworkStats.DEFAULT_NETWORK_ALL;
134 DEFAULT_NETWORK_ALL, 2000L, 200L, 1000L, 100L, 0); in testVpnRewriteTrafficThroughItself()
136 DEFAULT_NETWORK_ALL, 1000L, 100L, 500L, 50L, 0); in testVpnRewriteTrafficThroughItself()
138 DEFAULT_NETWORK_ALL, 0L, 0L, 1600L, 160L, 0); in testVpnRewriteTrafficThroughItself()
DNetworkStatsServiceTest.java33 import static android.net.NetworkStats.DEFAULT_NETWORK_ALL;
1341 DEFAULT_NETWORK_ALL, 50L, 5L, 51L, 1L, 3L); in testGetLatestSummary()
2085 DEFAULT_NETWORK_ALL, 3L, 4L, 5L, 5L, 0); in testOperationCount_nonDefault_traffic()
2087 DEFAULT_NETWORK_ALL, 5L, 4L, 1L, 4L, 0); in testOperationCount_nonDefault_traffic()
2096 DEFAULT_NETWORK_ALL, 0L, 0L, 0L, 0L, 2); in testOperationCount_nonDefault_traffic()
2557 DEFAULT_NETWORK_ALL, rxBytes, rxPackets, txBytes, txPackets, operations); in assertNetworkTotal()
2562 assertUidTotal(template, uid, SET_ALL, METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL, in assertUidTotal()
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkTemplateTest.kt30 import android.net.NetworkStats.DEFAULT_NETWORK_ALL
164 METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL, NETWORK_TYPE_ALL, OEM_MANAGED_ALL) in testWifiMatches()
490 emptyArray<String>(), METERED_YES, ROAMING_ALL, DEFAULT_NETWORK_ALL, in testEquals()
503 arrayOf(TEST_WIFI_KEY1), METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL, in testEquals()
516 emptyArray<String>(), METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL, in testParcelUnparcel()
519 arrayOf(TEST_WIFI_KEY1), METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL, 0, in testParcelUnparcel()
522 emptyArray<String>(), METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL, 0, in testParcelUnparcel()
583 DEFAULT_NETWORK_ALL, NETWORK_TYPE_ALL, OEM_MANAGED_YES) in matchOemManagedIdent()
586 DEFAULT_NETWORK_ALL, NETWORK_TYPE_ALL, OEM_MANAGED_ALL) in matchOemManagedIdent()
597 DEFAULT_NETWORK_ALL, NETWORK_TYPE_ALL, templateOemManagedState) in matchOemManagedIdent()
DNetworkStatsTest.java19 import static android.net.NetworkStats.DEFAULT_NETWORK_ALL;
370 DEFAULT_NETWORK_ALL, 384L, 24L, 0L, 6L, 0L); in testGroupedByIfaceAll()
398 DEFAULT_NETWORK_ALL, 384L, 24L, 0L, 2L, 0L); in testGroupedByIface()
400 DEFAULT_NETWORK_ALL, 1024L, 64L, 0L, 0L, 0L); in testGroupedByIface()
683 ROAMING_ALL, DEFAULT_NETWORK_ALL, 121569, 260, 59216, 297, 0); in testMigrateTun()
742 ROAMING_ALL, DEFAULT_NETWORK_ALL, 50500L, 27L, 100200L, 55, 0); in testMigrateTun_VpnAsLoopback()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DNetworkStatsUtils.java34 private static final int DEFAULT_NETWORK_ALL = -1; field in NetworkStatsUtils
166 case NetworkStats.Bucket.DEFAULT_NETWORK_ALL: in convertBucketDefaultNetworkStatus()
167 return DEFAULT_NETWORK_ALL; in convertBucketDefaultNetworkStatus()
/packages/modules/Connectivity/framework-t/src/android/app/usage/
DNetworkStats.java238 DEFAULT_NETWORK_ALL,
248 public static final int DEFAULT_NETWORK_ALL = -1; field in NetworkStats.Bucket
338 case android.net.NetworkStats.DEFAULT_NETWORK_ALL : return DEFAULT_NETWORK_ALL; in convertDefaultNetworkStatus()
691 bucketOut.mDefaultNetworkStatus = Bucket.DEFAULT_NETWORK_ALL; in getNextHistoryBucket()
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkTemplate.java30 import static android.net.NetworkStats.DEFAULT_NETWORK_ALL;
460 DEFAULT_NETWORK_ALL, NETWORK_TYPE_ALL, OEM_MANAGED_ALL); in NetworkTemplate() local
495 ROAMING_ALL, DEFAULT_NETWORK_ALL, NETWORK_TYPE_ALL, in NetworkTemplate() local
581 if (mDefaultNetwork != DEFAULT_NETWORK_ALL) { in toString()
767 return (mDefaultNetwork == DEFAULT_NETWORK_ALL) in matchesDefaultNetwork()
1005 ROAMING_ALL, DEFAULT_NETWORK_ALL, NETWORK_TYPE_ALL, OEM_MANAGED_ALL); in normalizeImpl()
1057 mDefaultNetwork = DEFAULT_NETWORK_ALL; in Builder()
DNetworkStats.java167 public static final int DEFAULT_NETWORK_ALL = -1; field in NetworkStats
176 DEFAULT_NETWORK_ALL,
1041 entry.defaultNetwork = DEFAULT_NETWORK_ALL; in getTotal()
1263 SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL)); in groupedByIface()
1288 SET_ALL, TAG_NONE, METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL)); in groupedByUid()
1520 case DEFAULT_NETWORK_ALL: in defaultNetworkToString()
1842 moved[i].defaultNetwork = DEFAULT_NETWORK_ALL; in deductTrafficFromVpnApp()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DNetworkStatsUtilsTest.kt86 android.app.usage.NetworkStats.Bucket.DEFAULT_NETWORK_ALL, 1024, 8, 2048, 12) in testBucketToEntry()
90 NetworkStats.ROAMING_NO, NetworkStats.DEFAULT_NETWORK_ALL, 1024, 8, 2048, 12, in testBucketToEntry()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkStatsManagerTest.java18 import static android.app.usage.NetworkStats.Bucket.DEFAULT_NETWORK_ALL;
438 assertEquals(bucket.getDefaultNetworkStatus(), DEFAULT_NETWORK_ALL); in testDeviceSummary() local
474 assertEquals(bucket.getDefaultNetworkStatus(), DEFAULT_NETWORK_ALL); in testUserSummary() local
633 assertEquals(bucket.getDefaultNetworkStatus(), DEFAULT_NETWORK_ALL); in testUidDetails() local
687 assertEquals(bucket.getDefaultNetworkStatus(), DEFAULT_NETWORK_ALL); in testTagDetails() local
946 assertEquals(bucket.getDefaultNetworkStatus(), DEFAULT_NETWORK_ALL); in getTotalAndAssertNotEmpty() local
/packages/modules/Connectivity/framework-t/api/
Dcurrent.txt24 field public static final int DEFAULT_NETWORK_ALL = -1; // 0xffffffff
Dsystem-current.txt320 field public static final int DEFAULT_NETWORK_ALL = -1; // 0xffffffff
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsService.java30 import static android.net.NetworkStats.DEFAULT_NETWORK_ALL;
1818 METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL, entry.rxBytes, entry.rxPackets,
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt976 Landroid/net/NetworkStats;->DEFAULT_NETWORK_ALL:I