summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Sudheer Shanka <sudheersai@google.com> 2022-05-20 17:46:10 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2022-05-20 17:46:10 +0000
commitc5229086de56585acd7f267cd3170f42247bb21a (patch)
tree3f00118d43322b18044b5c8d7a33fd4dc482496d
parent2e16265eee91cced844b090733d48d1c49b6b124 (diff)
parenteb94b580ae3b8aeb9b8eae3fa58877e88e90c0c6 (diff)
Merge "Update TEST_MAPPING to include broadcast response related tests." into tm-dev
-rw-r--r--apex/jobscheduler/service/java/com/android/server/usage/TEST_MAPPING12
-rw-r--r--services/core/java/com/android/server/am/TEST_MAPPING26
-rw-r--r--services/usage/java/com/android/server/usage/TEST_MAPPING22
3 files changed, 60 insertions, 0 deletions
diff --git a/apex/jobscheduler/service/java/com/android/server/usage/TEST_MAPPING b/apex/jobscheduler/service/java/com/android/server/usage/TEST_MAPPING
index e407e3126058..a6a3aafdb4f4 100644
--- a/apex/jobscheduler/service/java/com/android/server/usage/TEST_MAPPING
+++ b/apex/jobscheduler/service/java/com/android/server/usage/TEST_MAPPING
@@ -19,6 +19,18 @@
]
}
],
+ "presubmit-large": [
+ {
+ "name": "CtsUsageStatsTestCases",
+ "options": [
+ {"include-filter": "android.app.usage.cts.BroadcastResponseStatsTest"},
+ {"exclude-annotation": "android.platform.test.annotations.FlakyTest"},
+ {"exclude-annotation": "androidx.test.filters.FlakyTest"},
+ {"exclude-annotation": "androidx.test.filters.MediumTest"},
+ {"exclude-annotation": "androidx.test.filters.LargeTest"}
+ ]
+ }
+ ],
"postsubmit": [
{
"name": "CtsUsageStatsTestCases"
diff --git a/services/core/java/com/android/server/am/TEST_MAPPING b/services/core/java/com/android/server/am/TEST_MAPPING
index 03eddc9634d7..e4f624d4ac28 100644
--- a/services/core/java/com/android/server/am/TEST_MAPPING
+++ b/services/core/java/com/android/server/am/TEST_MAPPING
@@ -63,6 +63,32 @@
]
}
],
+ "presubmit-large": [
+ {
+ "name": "CtsUsageStatsTestCases",
+ "file_patterns": [
+ "ActivityManagerService\\.java",
+ "BroadcastQueue\\.java"
+ ],
+ "options": [
+ {
+ "include-filter": "android.app.usage.cts.BroadcastResponseStatsTest"
+ },
+ {
+ "exclude-annotation": "androidx.test.filters.FlakyTest"
+ },
+ {
+ "exclude-annotation": "android.platform.test.annotations.FlakyTest"
+ },
+ {
+ "exclude-annotation": "androidx.test.filters.MediumTest"
+ },
+ {
+ "exclude-annotation": "androidx.test.filters.LargeTest"
+ }
+ ]
+ }
+ ],
"postsubmit": [
{
"name": "FrameworksServicesTests",
diff --git a/services/usage/java/com/android/server/usage/TEST_MAPPING b/services/usage/java/com/android/server/usage/TEST_MAPPING
index 523d5f95c6f3..1c0c71b65fd7 100644
--- a/services/usage/java/com/android/server/usage/TEST_MAPPING
+++ b/services/usage/java/com/android/server/usage/TEST_MAPPING
@@ -20,6 +20,28 @@
]
}
],
+ "presubmit-large": [
+ {
+ "name": "CtsUsageStatsTestCases",
+ "options": [
+ {
+ "include-filter": "android.app.usage.cts.BroadcastResponseStatsTest"
+ },
+ {
+ "exclude-annotation": "androidx.test.filters.FlakyTest"
+ },
+ {
+ "exclude-annotation": "android.platform.test.annotations.FlakyTest"
+ },
+ {
+ "exclude-annotation": "androidx.test.filters.MediumTest"
+ },
+ {
+ "exclude-annotation": "androidx.test.filters.LargeTest"
+ }
+ ]
+ }
+ ],
"postsubmit": [
{
"name": "CtsUsageStatsTestCases",