From 179c4d3da80ef129e67fba69fa022fe3f91c60be Mon Sep 17 00:00:00 2001 From: chihsheng Date: Wed, 16 Apr 2025 08:51:35 +0000 Subject: [PATCH] ANDROID: Add CtsJobSchedulerTestCases to the presubmit group. Test: http://ab/I37200010385507401 http://ab/I77700010386830853 http://ab/I30000010386402597 http://ab/I42600010386549759 http://ab/I20600010386558466 Bug: 402359134 Change-Id: Ia5ec907cb9e65caf68706e45fc6ea9d2e2479541 Signed-off-by: chihsheng --- fs/TEST_MAPPING | 20 ++++++++++++++++++++ include/asm-generic/TEST_MAPPING | 8 ++++++++ include/linux/TEST_MAPPING | 20 ++++++++++++++++++++ include/net/TEST_MAPPING | 20 ++++++++++++++++++++ kernel/sched/TEST_MAPPING | 20 ++++++++++++++++++++ mm/TEST_MAPPING | 20 ++++++++++++++++++++ net/TEST_MAPPING | 20 ++++++++++++++++++++ 7 files changed, 128 insertions(+) diff --git a/fs/TEST_MAPPING b/fs/TEST_MAPPING index 58eaa367e190..f4f3a7070963 100644 --- a/fs/TEST_MAPPING +++ b/fs/TEST_MAPPING @@ -229,6 +229,26 @@ "include-filter": "kselftest_x86_test_mremap_vdso" } ] + }, + { + "name": "CtsJobSchedulerTestCases", + "options": [ + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testCellularConstraintExecutedAndStopped" + }, + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testConnectivityConstraintExecutes_transitionNetworks" + }, + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testConnectivityConstraintExecutes_withMobile" + }, + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testEJMeteredConstraintFails_withMobile_DataSaverOn" + }, + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testMeteredConstraintFails_withMobile_DataSaverOn" + } + ] } ], "presubmit-large": [ diff --git a/include/asm-generic/TEST_MAPPING b/include/asm-generic/TEST_MAPPING index 76470c7eb9af..fbb9e9e1a11e 100644 --- a/include/asm-generic/TEST_MAPPING +++ b/include/asm-generic/TEST_MAPPING @@ -233,6 +233,14 @@ }, { "name": "vts_kernel_net_tests" + }, + { + "name": "CtsJobSchedulerTestCases", + "options": [ + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testConnectivityConstraintExecutes_withMobile" + } + ] } ], "presubmit-large": [ diff --git a/include/linux/TEST_MAPPING b/include/linux/TEST_MAPPING index 1268c221b87f..5ed598d5f47a 100644 --- a/include/linux/TEST_MAPPING +++ b/include/linux/TEST_MAPPING @@ -241,6 +241,26 @@ }, { "name": "vts_kernel_net_tests" + }, + { + "name": "CtsJobSchedulerTestCases", + "options": [ + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testCellularConstraintExecutedAndStopped" + }, + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testConnectivityConstraintExecutes_transitionNetworks" + }, + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testConnectivityConstraintExecutes_withMobile" + }, + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testEJMeteredConstraintFails_withMobile_DataSaverOn" + }, + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testMeteredConstraintFails_withMobile_DataSaverOn" + } + ] } ], "presubmit-large": [ diff --git a/include/net/TEST_MAPPING b/include/net/TEST_MAPPING index 867f24876046..b1e9cb5cc3ec 100644 --- a/include/net/TEST_MAPPING +++ b/include/net/TEST_MAPPING @@ -241,6 +241,26 @@ }, { "name": "vts_kernel_net_tests" + }, + { + "name": "CtsJobSchedulerTestCases", + "options": [ + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testCellularConstraintExecutedAndStopped" + }, + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testConnectivityConstraintExecutes_transitionNetworks" + }, + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testConnectivityConstraintExecutes_withMobile" + }, + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testEJMeteredConstraintFails_withMobile_DataSaverOn" + }, + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testMeteredConstraintFails_withMobile_DataSaverOn" + } + ] } ], "presubmit-large": [ diff --git a/kernel/sched/TEST_MAPPING b/kernel/sched/TEST_MAPPING index 603cb5cea199..48bd795b2489 100644 --- a/kernel/sched/TEST_MAPPING +++ b/kernel/sched/TEST_MAPPING @@ -236,6 +236,26 @@ "include-filter": "kselftest_x86_test_mremap_vdso" } ] + }, + { + "name": "CtsJobSchedulerTestCases", + "options": [ + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testCellularConstraintExecutedAndStopped" + }, + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testConnectivityConstraintExecutes_transitionNetworks" + }, + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testConnectivityConstraintExecutes_withMobile" + }, + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testEJMeteredConstraintFails_withMobile_DataSaverOn" + }, + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testMeteredConstraintFails_withMobile_DataSaverOn" + } + ] } ], "presubmit-large": [ diff --git a/mm/TEST_MAPPING b/mm/TEST_MAPPING index 70b597e11413..5729d660dd0c 100644 --- a/mm/TEST_MAPPING +++ b/mm/TEST_MAPPING @@ -225,6 +225,26 @@ "include-filter": "kselftest_x86_test_mremap_vdso" } ] + }, + { + "name": "CtsJobSchedulerTestCases", + "options": [ + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testCellularConstraintExecutedAndStopped" + }, + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testConnectivityConstraintExecutes_transitionNetworks" + }, + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testConnectivityConstraintExecutes_withMobile" + }, + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testEJMeteredConstraintFails_withMobile_DataSaverOn" + }, + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testMeteredConstraintFails_withMobile_DataSaverOn" + } + ] } ], "kernel-presubmit": [ diff --git a/net/TEST_MAPPING b/net/TEST_MAPPING index c30cffa00418..41cfef46dbbd 100644 --- a/net/TEST_MAPPING +++ b/net/TEST_MAPPING @@ -241,6 +241,26 @@ }, { "name": "vts_kernel_net_tests" + }, + { + "name": "CtsJobSchedulerTestCases", + "options": [ + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testCellularConstraintExecutedAndStopped" + }, + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testConnectivityConstraintExecutes_transitionNetworks" + }, + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testConnectivityConstraintExecutes_withMobile" + }, + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testEJMeteredConstraintFails_withMobile_DataSaverOn" + }, + { + "include-filter": "android.jobscheduler.cts.ConnectivityConstraintTest#testMeteredConstraintFails_withMobile_DataSaverOn" + } + ] } ], "kernel-presubmit": [