2020-06-03 07:10:43 +00:00
|
|
|
{
|
2020-06-25 03:58:10 +00:00
|
|
|
"presubmit": [
|
2021-07-16 01:36:12 +00:00
|
|
|
{
|
|
|
|
"name": "ConnectivityCoverageTests"
|
|
|
|
},
|
2021-03-01 06:48:29 +00:00
|
|
|
// 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.
|
2020-06-03 07:10:43 +00:00
|
|
|
{
|
2021-03-01 06:48:29 +00:00
|
|
|
"name": "CtsNetTestCases",
|
2020-06-03 07:10:43 +00:00
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"exclude-annotation": "com.android.testutils.SkipPresubmit"
|
2021-10-28 00:41:21 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"exclude-annotation": "androidx.test.filters.RequiresDevice"
|
2020-06-03 07:10:43 +00:00
|
|
|
}
|
|
|
|
]
|
2021-05-20 01:25:47 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "TetheringTests"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "TetheringIntegrationTests"
|
2022-01-12 08:29:49 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "traffic_controller_unit_test"
|
2020-06-03 07:10:43 +00:00
|
|
|
}
|
2020-06-12 06:14:14 +00:00
|
|
|
],
|
2021-07-19 09:23:54 +00:00
|
|
|
"postsubmit": [
|
|
|
|
{
|
|
|
|
"name": "TetheringPrivilegedTests"
|
2022-01-12 07:06:07 +00:00
|
|
|
},
|
|
|
|
// TODO: move to presubmit when known green.
|
|
|
|
{
|
|
|
|
"name": "bpf_existence_test"
|
2021-12-20 08:43:40 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "libclat_test"
|
2022-01-12 08:29:49 +00:00
|
|
|
},
|
|
|
|
{ "name": "traffic_controller_unit_test",
|
|
|
|
"keywords": ["netd-device-kernel-4.9", "netd-device-kernel-4.14"]
|
2021-07-19 09:23:54 +00:00
|
|
|
}
|
|
|
|
],
|
2020-06-12 06:14:14 +00:00
|
|
|
"mainline-presubmit": [
|
|
|
|
{
|
2020-10-23 05:10:01 +00:00
|
|
|
"name": "CtsNetTestCasesLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]",
|
2020-06-12 06:14:14 +00:00
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"exclude-annotation": "com.android.testutils.SkipPresubmit"
|
2021-10-28 00:41:21 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"exclude-annotation": "androidx.test.filters.RequiresDevice"
|
2020-06-12 06:14:14 +00:00
|
|
|
}
|
|
|
|
]
|
2021-07-01 13:55:49 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ConnectivityCoverageTests[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]"
|
2022-01-12 08:29:49 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "traffic_controller_unit_test[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]"
|
2020-06-12 06:14:14 +00:00
|
|
|
}
|
2020-11-25 07:35:21 +00:00
|
|
|
],
|
|
|
|
"mainline-postsubmit": [
|
2021-05-20 01:25:47 +00:00
|
|
|
// Tests on physical devices with SIM cards: postsubmit only for capacity constraints
|
2020-11-25 07:35:21 +00:00
|
|
|
{
|
|
|
|
"name": "CtsNetTestCasesLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]",
|
|
|
|
"keywords": ["sim"]
|
2021-05-20 01:25:47 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "TetheringCoverageTests[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]"
|
2022-01-12 07:06:07 +00:00
|
|
|
},
|
|
|
|
// TODO: move to mainline-presubmit when known green.
|
|
|
|
{
|
|
|
|
"name": "bpf_existence_test[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]"
|
2021-05-20 01:25:47 +00:00
|
|
|
}
|
|
|
|
],
|
2021-03-19 16:03:06 +00:00
|
|
|
"imports": [
|
|
|
|
{
|
|
|
|
"path": "frameworks/base/core/java/android/net"
|
|
|
|
},
|
2022-01-07 20:47:30 +00:00
|
|
|
{
|
|
|
|
"path": "frameworks/opt/net/ethernet"
|
|
|
|
},
|
2021-03-19 16:03:06 +00:00
|
|
|
{
|
|
|
|
"path": "packages/modules/NetworkStack"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "packages/modules/CaptivePortalLogin"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "packages/modules/Connectivity"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "packages/modules/Connectivity/Tethering"
|
|
|
|
}
|
2020-06-03 07:10:43 +00:00
|
|
|
]
|
|
|
|
}
|