{ "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" } ] }, { "name": "TetheringTests" }, { "name": "TetheringIntegrationTests" } ], "postsubmit": [ { "name": "ConnectivityCoverageTests" } ], "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" } ] } ], "mainline-postsubmit": [ // Tests on physical devices with SIM cards: postsubmit only for capacity constraints { "name": "CtsNetTestCasesLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]", "keywords": ["sim"] }, { "name": "TetheringCoverageTests[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]" }, { "name": "ConnectivityCoverageTests[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]" } ], "imports": [ { "path": "packages/modules/NetworkStack" } ], "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" } ] }