| { |
| "presubmit": [ |
| // Run in addition to mainline-presubmit as mainline-presubmit is not |
| // supported in every branch. |
| // CtsNetTestCasesLatestSdk uses stable API shims, so does not exercise |
| // some latest APIs. Run CtsNetTestCases to get coverage of newer APIs. |
| { |
| "name": "CtsNetTestCases", |
| "options": [ |
| { |
| "exclude-annotation": "com.android.testutils.SkipPresubmit" |
| } |
| ] |
| } |
| ], |
| "mainline-presubmit": [ |
| { |
| // TODO: add back the tethering modules when updatable in this branch |
| "name": "CtsNetTestCasesLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex]", |
| "options": [ |
| { |
| "exclude-annotation": "com.android.testutils.SkipPresubmit" |
| } |
| ] |
| } |
| ], |
| // Tests on physical devices with SIM cards: postsubmit only for capacity constraints |
| "mainline-postsubmit": [ |
| { |
| "name": "CtsNetTestCasesLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]", |
| "keywords": ["sim"] |
| } |
| ], |
| "imports": [ |
| { |
| "path": "frameworks/base/core/java/android/net" |
| }, |
| { |
| "path": "packages/modules/NetworkStack" |
| }, |
| { |
| "path": "packages/modules/CaptivePortalLogin" |
| }, |
| { |
| "path": "packages/modules/Connectivity" |
| }, |
| { |
| "path": "packages/modules/Connectivity/Tethering" |
| } |
| ] |
| } |