1{ 2 "presubmit": [ 3 // Run in addition to mainline-presubmit as mainline-presubmit is not 4 // supported in every branch. 5 // CtsNetTestCasesLatestSdk uses stable API shims, so does not exercise 6 // some latest APIs. Run CtsNetTestCases to get coverage of newer APIs. 7 { 8 "name": "CtsNetTestCases", 9 "options": [ 10 { 11 "exclude-annotation": "com.android.testutils.SkipPresubmit" 12 } 13 ] 14 }, 15 { 16 "name": "TetheringTests" 17 }, 18 { 19 "name": "TetheringIntegrationTests" 20 } 21 ], 22 "postsubmit": [ 23 { 24 "name": "ConnectivityCoverageTests" 25 } 26 ], 27 "mainline-presubmit": [ 28 { 29 // TODO: add back the tethering modules when updatable in this branch 30 "name": "CtsNetTestCasesLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex]", 31 "options": [ 32 { 33 "exclude-annotation": "com.android.testutils.SkipPresubmit" 34 } 35 ] 36 } 37 ], 38 "mainline-postsubmit": [ 39 // Tests on physical devices with SIM cards: postsubmit only for capacity constraints 40 { 41 "name": "CtsNetTestCasesLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]", 42 "keywords": ["sim"] 43 }, 44 { 45 "name": "TetheringCoverageTests[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]" 46 }, 47 { 48 "name": "ConnectivityCoverageTests[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]" 49 } 50 ], 51 "imports": [ 52 { 53 "path": "packages/modules/NetworkStack" 54 } 55 ], 56 "imports": [ 57 { 58 "path": "frameworks/base/core/java/android/net" 59 }, 60 { 61 "path": "packages/modules/NetworkStack" 62 }, 63 { 64 "path": "packages/modules/CaptivePortalLogin" 65 }, 66 { 67 "path": "packages/modules/Connectivity" 68 }, 69 { 70 "path": "packages/modules/Connectivity/Tethering" 71 } 72 ] 73} 74