Remi NGUYEN VAN | f33b6ea | 2020-06-03 16:10:43 +0900 | [diff] [blame] | 1 | { |
Remi NGUYEN VAN | a773ccb | 2020-06-25 03:58:10 +0000 | [diff] [blame] | 2 | "presubmit": [ |
Remi NGUYEN VAN | 48c6888 | 2021-07-16 01:36:12 +0000 | [diff] [blame] | 3 | { |
| 4 | "name": "ConnectivityCoverageTests" |
| 5 | }, |
Remi NGUYEN VAN | ad380c1 | 2021-03-01 06:48:29 +0000 | [diff] [blame] | 6 | // 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 VAN | f33b6ea | 2020-06-03 16:10:43 +0900 | [diff] [blame] | 10 | { |
Remi NGUYEN VAN | ad380c1 | 2021-03-01 06:48:29 +0000 | [diff] [blame] | 11 | "name": "CtsNetTestCases", |
Remi NGUYEN VAN | f33b6ea | 2020-06-03 16:10:43 +0900 | [diff] [blame] | 12 | "options": [ |
| 13 | { |
| 14 | "exclude-annotation": "com.android.testutils.SkipPresubmit" |
Remi NGUYEN VAN | 9a689f8 | 2021-10-28 09:41:21 +0900 | [diff] [blame] | 15 | }, |
| 16 | { |
| 17 | "exclude-annotation": "androidx.test.filters.RequiresDevice" |
Remi NGUYEN VAN | f33b6ea | 2020-06-03 16:10:43 +0900 | [diff] [blame] | 18 | } |
| 19 | ] |
Remi NGUYEN VAN | d954bfc | 2021-05-20 01:25:47 +0000 | [diff] [blame] | 20 | }, |
| 21 | { |
Ken Chen | 1647f60 | 2021-10-05 21:55:22 +0800 | [diff] [blame^] | 22 | "name": "netd_updatable_unit_test" |
| 23 | }, |
| 24 | { |
Remi NGUYEN VAN | d954bfc | 2021-05-20 01:25:47 +0000 | [diff] [blame] | 25 | "name": "TetheringTests" |
| 26 | }, |
| 27 | { |
| 28 | "name": "TetheringIntegrationTests" |
Wayne Ma | 7be6bce | 2022-01-12 16:29:49 +0800 | [diff] [blame] | 29 | }, |
| 30 | { |
| 31 | "name": "traffic_controller_unit_test" |
Ken Chen | f426b2b | 2022-01-23 15:39:13 +0800 | [diff] [blame] | 32 | }, |
| 33 | { |
| 34 | "name": "libnetworkstats_test" |
Remi NGUYEN VAN | f33b6ea | 2020-06-03 16:10:43 +0900 | [diff] [blame] | 35 | } |
easoncylee | a1b13d6 | 2020-06-12 14:14:14 +0800 | [diff] [blame] | 36 | ], |
markchien | 911cf8f | 2021-07-19 17:23:54 +0800 | [diff] [blame] | 37 | "postsubmit": [ |
| 38 | { |
| 39 | "name": "TetheringPrivilegedTests" |
Lorenzo Colitti | 3b38b12 | 2022-01-12 16:06:07 +0900 | [diff] [blame] | 40 | }, |
| 41 | // TODO: move to presubmit when known green. |
| 42 | { |
| 43 | "name": "bpf_existence_test" |
Hungming Chen | aaa8bd8 | 2021-12-20 16:43:40 +0800 | [diff] [blame] | 44 | }, |
| 45 | { |
Ken Chen | 1647f60 | 2021-10-05 21:55:22 +0800 | [diff] [blame^] | 46 | "name": "netd_updatable_unit_test", |
| 47 | "keywords": ["netd-device-kernel-4.9", "netd-device-kernel-4.14"] |
| 48 | }, |
| 49 | { |
Hungming Chen | aaa8bd8 | 2021-12-20 16:43:40 +0800 | [diff] [blame] | 50 | "name": "libclat_test" |
Wayne Ma | 7be6bce | 2022-01-12 16:29:49 +0800 | [diff] [blame] | 51 | }, |
Wayne Ma | 320b95d | 2022-01-23 23:43:11 +0800 | [diff] [blame] | 52 | { |
| 53 | "name": "traffic_controller_unit_test", |
Wayne Ma | 7be6bce | 2022-01-12 16:29:49 +0800 | [diff] [blame] | 54 | "keywords": ["netd-device-kernel-4.9", "netd-device-kernel-4.14"] |
Ken Chen | f426b2b | 2022-01-23 15:39:13 +0800 | [diff] [blame] | 55 | }, |
| 56 | { |
| 57 | "name": "libnetworkstats_test" |
markchien | 911cf8f | 2021-07-19 17:23:54 +0800 | [diff] [blame] | 58 | } |
| 59 | ], |
easoncylee | a1b13d6 | 2020-06-12 14:14:14 +0800 | [diff] [blame] | 60 | "mainline-presubmit": [ |
| 61 | { |
easoncylee | 48c4cf6 | 2020-10-23 13:10:01 +0800 | [diff] [blame] | 62 | "name": "CtsNetTestCasesLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]", |
easoncylee | a1b13d6 | 2020-06-12 14:14:14 +0800 | [diff] [blame] | 63 | "options": [ |
| 64 | { |
| 65 | "exclude-annotation": "com.android.testutils.SkipPresubmit" |
Remi NGUYEN VAN | 9a689f8 | 2021-10-28 09:41:21 +0900 | [diff] [blame] | 66 | }, |
| 67 | { |
| 68 | "exclude-annotation": "androidx.test.filters.RequiresDevice" |
easoncylee | a1b13d6 | 2020-06-12 14:14:14 +0800 | [diff] [blame] | 69 | } |
| 70 | ] |
Remi NGUYEN VAN | 5a1f2f7 | 2021-07-01 13:55:49 +0000 | [diff] [blame] | 71 | }, |
| 72 | { |
Ken Chen | 1647f60 | 2021-10-05 21:55:22 +0800 | [diff] [blame^] | 73 | "name": "netd_updatable_unit_test[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]" |
| 74 | }, |
| 75 | { |
Remi NGUYEN VAN | 5a1f2f7 | 2021-07-01 13:55:49 +0000 | [diff] [blame] | 76 | "name": "ConnectivityCoverageTests[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]" |
Wayne Ma | 7be6bce | 2022-01-12 16:29:49 +0800 | [diff] [blame] | 77 | }, |
| 78 | { |
| 79 | "name": "traffic_controller_unit_test[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]" |
Ken Chen | f426b2b | 2022-01-23 15:39:13 +0800 | [diff] [blame] | 80 | }, |
| 81 | { |
| 82 | "name": "libnetworkstats_test[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]" |
easoncylee | a1b13d6 | 2020-06-12 14:14:14 +0800 | [diff] [blame] | 83 | } |
Remi NGUYEN VAN | 1bc6287 | 2020-11-25 07:35:21 +0000 | [diff] [blame] | 84 | ], |
Remi NGUYEN VAN | 1bc6287 | 2020-11-25 07:35:21 +0000 | [diff] [blame] | 85 | "mainline-postsubmit": [ |
Remi NGUYEN VAN | d954bfc | 2021-05-20 01:25:47 +0000 | [diff] [blame] | 86 | // Tests on physical devices with SIM cards: postsubmit only for capacity constraints |
Remi NGUYEN VAN | 1bc6287 | 2020-11-25 07:35:21 +0000 | [diff] [blame] | 87 | { |
| 88 | "name": "CtsNetTestCasesLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]", |
| 89 | "keywords": ["sim"] |
Remi NGUYEN VAN | d954bfc | 2021-05-20 01:25:47 +0000 | [diff] [blame] | 90 | }, |
| 91 | { |
| 92 | "name": "TetheringCoverageTests[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]" |
Lorenzo Colitti | 3b38b12 | 2022-01-12 16:06:07 +0900 | [diff] [blame] | 93 | }, |
| 94 | // TODO: move to mainline-presubmit when known green. |
| 95 | { |
| 96 | "name": "bpf_existence_test[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]" |
Remi NGUYEN VAN | d954bfc | 2021-05-20 01:25:47 +0000 | [diff] [blame] | 97 | } |
| 98 | ], |
| 99 | "imports": [ |
| 100 | { |
Remi NGUYEN VAN | f353baf | 2021-03-19 16:03:06 +0000 | [diff] [blame] | 101 | "path": "frameworks/base/core/java/android/net" |
| 102 | }, |
| 103 | { |
Filip Zakrzewski | 8a5823d | 2022-01-07 20:47:30 +0000 | [diff] [blame] | 104 | "path": "frameworks/opt/net/ethernet" |
| 105 | }, |
| 106 | { |
Remi NGUYEN VAN | f353baf | 2021-03-19 16:03:06 +0000 | [diff] [blame] | 107 | "path": "packages/modules/NetworkStack" |
| 108 | }, |
| 109 | { |
| 110 | "path": "packages/modules/CaptivePortalLogin" |
| 111 | }, |
| 112 | { |
| 113 | "path": "packages/modules/Connectivity" |
| 114 | }, |
| 115 | { |
| 116 | "path": "packages/modules/Connectivity/Tethering" |
| 117 | } |
Remi NGUYEN VAN | f33b6ea | 2020-06-03 16:10:43 +0900 | [diff] [blame] | 118 | ] |
| 119 | } |