diff --git a/arch/x86/crypto/TEST_MAPPING b/arch/x86/crypto/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/arch/x86/crypto/TEST_MAPPING +++ b/arch/x86/crypto/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/arch/x86/entry/TEST_MAPPING b/arch/x86/entry/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/arch/x86/entry/TEST_MAPPING +++ b/arch/x86/entry/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/arch/x86/include/asm/TEST_MAPPING b/arch/x86/include/asm/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/arch/x86/include/asm/TEST_MAPPING +++ b/arch/x86/include/asm/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/arch/x86/kernel/fpu/TEST_MAPPING b/arch/x86/kernel/fpu/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/arch/x86/kernel/fpu/TEST_MAPPING +++ b/arch/x86/kernel/fpu/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/arch/x86/net/TEST_MAPPING b/arch/x86/net/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/arch/x86/net/TEST_MAPPING +++ b/arch/x86/net/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/block/TEST_MAPPING b/block/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/block/TEST_MAPPING +++ b/block/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/drivers/android/TEST_MAPPING b/drivers/android/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/drivers/android/TEST_MAPPING +++ b/drivers/android/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/drivers/gpu/drm/TEST_MAPPING b/drivers/base/TEST_MAPPING similarity index 65% rename from drivers/gpu/drm/TEST_MAPPING rename to drivers/base/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/drivers/gpu/drm/TEST_MAPPING +++ b/drivers/base/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/drivers/base/power/TEST_MAPPING b/drivers/base/power/TEST_MAPPING new file mode 100644 index 000000000000..abebdc438476 --- /dev/null +++ b/drivers/base/power/TEST_MAPPING @@ -0,0 +1,47 @@ +{ + "imports": [ + { + "path": "frameworks/base/packages/PackageInstaller" + }, + { + "path": "frameworks/base/core/java/android/content/pm" + }, + { + "path": "frameworks/base/services/core/java/com/android/server" + }, + { + "path": "frameworks/base/core/java/com/android/internal/app" + }, + { + "path": "frameworks/base/apex/jobscheduler/service/java/com/android/server/job" + } + ], + "presubmit": [ + { + "name": "CtsSilentUpdateHostTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsJobSchedulerTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } + ], + "presubmit-large": [ + { + "name": "CtsSuspendAppsTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } + ] +} diff --git a/drivers/block/TEST_MAPPING b/drivers/block/TEST_MAPPING new file mode 100644 index 000000000000..7e148eb3ca90 --- /dev/null +++ b/drivers/block/TEST_MAPPING @@ -0,0 +1,12 @@ +{ + "presubmit": [ + { + "name": "CtsJobSchedulerTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } + ] +} diff --git a/drivers/block/zram/TEST_MAPPING b/drivers/block/zram/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/drivers/block/zram/TEST_MAPPING +++ b/drivers/block/zram/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/drivers/char/TEST_MAPPING b/drivers/char/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/drivers/char/TEST_MAPPING +++ b/drivers/char/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/drivers/cpufreq/TEST_MAPPING b/drivers/cpufreq/TEST_MAPPING new file mode 100644 index 000000000000..abebdc438476 --- /dev/null +++ b/drivers/cpufreq/TEST_MAPPING @@ -0,0 +1,47 @@ +{ + "imports": [ + { + "path": "frameworks/base/packages/PackageInstaller" + }, + { + "path": "frameworks/base/core/java/android/content/pm" + }, + { + "path": "frameworks/base/services/core/java/com/android/server" + }, + { + "path": "frameworks/base/core/java/com/android/internal/app" + }, + { + "path": "frameworks/base/apex/jobscheduler/service/java/com/android/server/job" + } + ], + "presubmit": [ + { + "name": "CtsSilentUpdateHostTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsJobSchedulerTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } + ], + "presubmit-large": [ + { + "name": "CtsSuspendAppsTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } + ] +} diff --git a/drivers/cpuidle/TEST_MAPPING b/drivers/cpuidle/TEST_MAPPING new file mode 100644 index 000000000000..abebdc438476 --- /dev/null +++ b/drivers/cpuidle/TEST_MAPPING @@ -0,0 +1,47 @@ +{ + "imports": [ + { + "path": "frameworks/base/packages/PackageInstaller" + }, + { + "path": "frameworks/base/core/java/android/content/pm" + }, + { + "path": "frameworks/base/services/core/java/com/android/server" + }, + { + "path": "frameworks/base/core/java/com/android/internal/app" + }, + { + "path": "frameworks/base/apex/jobscheduler/service/java/com/android/server/job" + } + ], + "presubmit": [ + { + "name": "CtsSilentUpdateHostTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsJobSchedulerTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } + ], + "presubmit-large": [ + { + "name": "CtsSuspendAppsTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } + ] +} diff --git a/drivers/dma-buf/TEST_MAPPING b/drivers/dma-buf/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/drivers/dma-buf/TEST_MAPPING +++ b/drivers/dma-buf/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/drivers/md/TEST_MAPPING b/drivers/md/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/drivers/md/TEST_MAPPING +++ b/drivers/md/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/drivers/net/TEST_MAPPING b/drivers/net/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/drivers/net/TEST_MAPPING +++ b/drivers/net/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/drivers/virtio/TEST_MAPPING b/drivers/virtio/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/drivers/virtio/TEST_MAPPING +++ b/drivers/virtio/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/fs/TEST_MAPPING b/fs/TEST_MAPPING index ca917b77098c..7e30dd2c1cd4 100644 --- a/fs/TEST_MAPPING +++ b/fs/TEST_MAPPING @@ -1,39 +1,33 @@ { + "imports": [ + { + "path": "frameworks/base/packages/PackageInstaller" + }, + { + "path": "packages/modules/AdServices/sdksandbox" + }, + { + "path": "frameworks/base/core/java/android/content" + } + ], "presubmit": [ { - "name": "CtsHostsideNetworkTests", + "name": "CtsPackageInstallTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" } ] - }, + } + ], + "presubmit-large": [ { - "name": "CtsNetTestCases", + "name": "CtsContentTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" } ] - }, - { - "name": "CtsNetTestCasesLatestSdk", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] - }, - { - "name": "CtsTelecomTestCases", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] - }, - { - "name": "vts_kernel_net_tests" } ] } diff --git a/include/asm-generic/TEST_MAPPING b/include/asm-generic/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/include/asm-generic/TEST_MAPPING +++ b/include/asm-generic/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/include/crypto/TEST_MAPPING b/include/crypto/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/include/crypto/TEST_MAPPING +++ b/include/crypto/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/include/drm/TEST_MAPPING b/include/drm/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/include/drm/TEST_MAPPING +++ b/include/drm/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/include/linux/TEST_MAPPING b/include/linux/TEST_MAPPING new file mode 100644 index 000000000000..1a16fcee247a --- /dev/null +++ b/include/linux/TEST_MAPPING @@ -0,0 +1,60 @@ +{ + "imports": [ + { + "path": "packages/modules/Connectivity" + }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ + { + "name": "CtsNetTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsNetTestCasesLatestSdk", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsUsbManagerTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "vts_kernel_net_tests" + } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } + ] +} diff --git a/include/linux/device/TEST_MAPPING b/include/linux/device/TEST_MAPPING new file mode 100644 index 000000000000..1a16fcee247a --- /dev/null +++ b/include/linux/device/TEST_MAPPING @@ -0,0 +1,60 @@ +{ + "imports": [ + { + "path": "packages/modules/Connectivity" + }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ + { + "name": "CtsNetTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsNetTestCasesLatestSdk", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsUsbManagerTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "vts_kernel_net_tests" + } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } + ] +} diff --git a/include/linux/sched/TEST_MAPPING b/include/linux/sched/TEST_MAPPING new file mode 100644 index 000000000000..19cc6269eb8a --- /dev/null +++ b/include/linux/sched/TEST_MAPPING @@ -0,0 +1,47 @@ +{ + "imports": [ + { + "path": "frameworks/base/packages/PackageInstaller" + }, + { + "path": "frameworks/base/core/java/android/content/pm" + }, + { + "path": "frameworks/base/services/core/java/com/android/server" + }, + { + "path": "frameworks/base/core/java/com/android/internal/app" + }, + { + "path": "frameworks/base/apex/jobscheduler/service/java/com/android/server/job" + } + ], + "presubmit": [ + { + "name": "CtsSilentUpdateHostTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsJobSchedulerTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } + ], + "presubmit-large": [ + { + "name": "CtsSuspendAppsTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } + ] +} \ No newline at end of file diff --git a/include/net/TEST_MAPPING b/include/net/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/include/net/TEST_MAPPING +++ b/include/net/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/include/trace/TEST_MAPPING b/include/trace/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/include/trace/TEST_MAPPING +++ b/include/trace/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/include/uapi/linux/TEST_MAPPING b/include/uapi/linux/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/include/uapi/linux/TEST_MAPPING +++ b/include/uapi/linux/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/include/vdso/TEST_MAPPING b/include/vdso/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/include/vdso/TEST_MAPPING +++ b/include/vdso/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/io_uring/TEST_MAPPING b/io_uring/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/io_uring/TEST_MAPPING +++ b/io_uring/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/kernel/bpf/TEST_MAPPING b/kernel/bpf/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/kernel/bpf/TEST_MAPPING +++ b/kernel/bpf/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/kernel/cgroup/TEST_MAPPING b/kernel/cgroup/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/kernel/cgroup/TEST_MAPPING +++ b/kernel/cgroup/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/kernel/dma/TEST_MAPPING b/kernel/dma/TEST_MAPPING index ca917b77098c..1a16fcee247a 100644 --- a/kernel/dma/TEST_MAPPING +++ b/kernel/dma/TEST_MAPPING @@ -1,13 +1,16 @@ { - "presubmit": [ + "imports": [ { - "name": "CtsHostsideNetworkTests", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - } - ] + "path": "packages/modules/Connectivity" }, + { + "path": "packages/services/Telecomm" + }, + { + "path": "system/netd" + } + ], + "presubmit": [ { "name": "CtsNetTestCases", "options": [ @@ -25,7 +28,7 @@ ] }, { - "name": "CtsTelecomTestCases", + "name": "CtsUsbManagerTestCases", "options": [ { "exclude-annotation": "com.android.testutils.SkipPresubmit" @@ -35,5 +38,23 @@ { "name": "vts_kernel_net_tests" } + ], + "presubmit-large": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, + { + "name": "CtsTelecomTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/kernel/sched/TEST_MAPPING b/kernel/sched/TEST_MAPPING index 7e148eb3ca90..abebdc438476 100644 --- a/kernel/sched/TEST_MAPPING +++ b/kernel/sched/TEST_MAPPING @@ -1,5 +1,30 @@ { + "imports": [ + { + "path": "frameworks/base/packages/PackageInstaller" + }, + { + "path": "frameworks/base/core/java/android/content/pm" + }, + { + "path": "frameworks/base/services/core/java/com/android/server" + }, + { + "path": "frameworks/base/core/java/com/android/internal/app" + }, + { + "path": "frameworks/base/apex/jobscheduler/service/java/com/android/server/job" + } + ], "presubmit": [ + { + "name": "CtsSilentUpdateHostTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + }, { "name": "CtsJobSchedulerTestCases", "options": [ @@ -8,5 +33,15 @@ } ] } + ], + "presubmit-large": [ + { + "name": "CtsSuspendAppsTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } ] } diff --git a/mm/TEST_MAPPING b/mm/TEST_MAPPING new file mode 100644 index 000000000000..fd6530b66f4b --- /dev/null +++ b/mm/TEST_MAPPING @@ -0,0 +1,26 @@ +{ + "imports": [ + { + "path": "frameworks/base/apex/jobscheduler/service/java/com/android/server/job/" + }, + { + "path": "system/memory/libmeminfo" + }, + { + "path": "system/memory/libmeminfo/libdmabufinfo" + }, + { + "path": "system/memory/libmemunreachable" + } + ], + "presubmit": [ + { + "name": "CtsJobSchedulerTestCases", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + } + ] + } + ] +}