blob: 780ba267a32598ebfc8bfca5f1d156a2d577144b [file] [log] [blame]
Remi NGUYEN VANf33b6ea2020-06-03 16:10:43 +09001{
Remi NGUYEN VANa773ccb2020-06-25 03:58:10 +00002 "presubmit": [
Remi NGUYEN VAN48c68882021-07-16 01:36:12 +00003 {
4 "name": "ConnectivityCoverageTests"
5 },
Remi NGUYEN VANad380c12021-03-01 06:48:29 +00006 // Run in addition to mainline-presubmit as mainline-presubmit is not
7 // supported in every branch.
8 // CtsNetTestCasesLatestSdk uses stable API shims, so does not exercise
9 // some latest APIs. Run CtsNetTestCases to get coverage of newer APIs.
Remi NGUYEN VANf33b6ea2020-06-03 16:10:43 +090010 {
Remi NGUYEN VANad380c12021-03-01 06:48:29 +000011 "name": "CtsNetTestCases",
Remi NGUYEN VANf33b6ea2020-06-03 16:10:43 +090012 "options": [
13 {
14 "exclude-annotation": "com.android.testutils.SkipPresubmit"
Remi NGUYEN VAN9a689f82021-10-28 09:41:21 +090015 },
16 {
17 "exclude-annotation": "androidx.test.filters.RequiresDevice"
Remi NGUYEN VANf33b6ea2020-06-03 16:10:43 +090018 }
19 ]
Remi NGUYEN VANd954bfc2021-05-20 01:25:47 +000020 },
21 {
22 "name": "TetheringTests"
23 },
24 {
25 "name": "TetheringIntegrationTests"
Wayne Ma7be6bce2022-01-12 16:29:49 +080026 },
27 {
28 "name": "traffic_controller_unit_test"
Ken Chenf426b2b2022-01-23 15:39:13 +080029 },
30 {
31 "name": "libnetworkstats_test"
Remi NGUYEN VANf33b6ea2020-06-03 16:10:43 +090032 }
easoncyleea1b13d62020-06-12 14:14:14 +080033 ],
markchien911cf8f2021-07-19 17:23:54 +080034 "postsubmit": [
35 {
36 "name": "TetheringPrivilegedTests"
Lorenzo Colitti3b38b122022-01-12 16:06:07 +090037 },
38 // TODO: move to presubmit when known green.
39 {
40 "name": "bpf_existence_test"
Hungming Chenaaa8bd82021-12-20 16:43:40 +080041 },
42 {
43 "name": "libclat_test"
Wayne Ma7be6bce2022-01-12 16:29:49 +080044 },
Wayne Ma320b95d2022-01-23 23:43:11 +080045 {
46 "name": "traffic_controller_unit_test",
Wayne Ma7be6bce2022-01-12 16:29:49 +080047 "keywords": ["netd-device-kernel-4.9", "netd-device-kernel-4.14"]
Ken Chenf426b2b2022-01-23 15:39:13 +080048 },
49 {
50 "name": "libnetworkstats_test"
markchien911cf8f2021-07-19 17:23:54 +080051 }
52 ],
easoncyleea1b13d62020-06-12 14:14:14 +080053 "mainline-presubmit": [
54 {
easoncylee48c4cf62020-10-23 13:10:01 +080055 "name": "CtsNetTestCasesLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]",
easoncyleea1b13d62020-06-12 14:14:14 +080056 "options": [
57 {
58 "exclude-annotation": "com.android.testutils.SkipPresubmit"
Remi NGUYEN VAN9a689f82021-10-28 09:41:21 +090059 },
60 {
61 "exclude-annotation": "androidx.test.filters.RequiresDevice"
easoncyleea1b13d62020-06-12 14:14:14 +080062 }
63 ]
Remi NGUYEN VAN5a1f2f72021-07-01 13:55:49 +000064 },
65 {
66 "name": "ConnectivityCoverageTests[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]"
Wayne Ma7be6bce2022-01-12 16:29:49 +080067 },
68 {
69 "name": "traffic_controller_unit_test[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]"
Ken Chenf426b2b2022-01-23 15:39:13 +080070 },
71 {
72 "name": "libnetworkstats_test[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]"
easoncyleea1b13d62020-06-12 14:14:14 +080073 }
Remi NGUYEN VAN1bc62872020-11-25 07:35:21 +000074 ],
Remi NGUYEN VAN1bc62872020-11-25 07:35:21 +000075 "mainline-postsubmit": [
Remi NGUYEN VANd954bfc2021-05-20 01:25:47 +000076 // Tests on physical devices with SIM cards: postsubmit only for capacity constraints
Remi NGUYEN VAN1bc62872020-11-25 07:35:21 +000077 {
78 "name": "CtsNetTestCasesLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]",
79 "keywords": ["sim"]
Remi NGUYEN VANd954bfc2021-05-20 01:25:47 +000080 },
81 {
82 "name": "TetheringCoverageTests[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]"
Lorenzo Colitti3b38b122022-01-12 16:06:07 +090083 },
84 // TODO: move to mainline-presubmit when known green.
85 {
86 "name": "bpf_existence_test[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]"
Remi NGUYEN VANd954bfc2021-05-20 01:25:47 +000087 }
88 ],
89 "imports": [
90 {
Remi NGUYEN VANf353baf2021-03-19 16:03:06 +000091 "path": "frameworks/base/core/java/android/net"
92 },
93 {
Filip Zakrzewski8a5823d2022-01-07 20:47:30 +000094 "path": "frameworks/opt/net/ethernet"
95 },
96 {
Remi NGUYEN VANf353baf2021-03-19 16:03:06 +000097 "path": "packages/modules/NetworkStack"
98 },
99 {
100 "path": "packages/modules/CaptivePortalLogin"
101 },
102 {
103 "path": "packages/modules/Connectivity"
104 },
105 {
106 "path": "packages/modules/Connectivity/Tethering"
107 }
Remi NGUYEN VANf33b6ea2020-06-03 16:10:43 +0900108 ]
109}