diff --git a/core/java/android/content/pm/TEST_MAPPING b/core/java/android/content/pm/TEST_MAPPING index df3466f29d76a..a503d14b6de4b 100644 --- a/core/java/android/content/pm/TEST_MAPPING +++ b/core/java/android/content/pm/TEST_MAPPING @@ -131,6 +131,23 @@ "exclude-annotation": "org.junit.Ignore" } ] + }, + { + "name": "CtsAppSecurityHostTestCases", + "options": [ + { + "include-annotation": "android.platform.test.annotations.Presubmit" + }, + { + "exclude-annotation": "android.platform.test.annotations.Postsubmit" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + }, + { + "exclude-annotation": "org.junit.Ignore" + } + ] } ], "postsubmit": [ diff --git a/services/core/java/com/android/server/pm/TEST_MAPPING b/services/core/java/com/android/server/pm/TEST_MAPPING index 4bcc2a33c6316..f87063a83e4f1 100644 --- a/services/core/java/com/android/server/pm/TEST_MAPPING +++ b/services/core/java/com/android/server/pm/TEST_MAPPING @@ -55,27 +55,6 @@ } ] }, - { - "name": "CtsAppSecurityHostTestCases", - "options": [ - { - "include-filter": "android.appsecurity.cts.PrivilegedUpdateTests" - } - ] - }, - { - "name": "CtsAppSecurityHostTestCases", - "file_patterns": [ - "core/java/.*Install.*", - "services/core/.*Install.*", - "services/core/java/com/android/server/pm/.*" - ], - "options": [ - { - "include-filter": "android.appsecurity.cts.SplitTests" - } - ] - }, { "name": "PackageManagerServiceHostTests", "options": [