1{ 2 "imports": [ 3 { 4 "path": "frameworks/base/services/core/java/com/android/server/am" 5 }, 6 { 7 "path": "frameworks/base/services/core/java/com/android/server/wm" 8 } 9 ], 10 "presubmit": [ 11 { 12 "name": "CtsFragmentTestCases" 13 }, 14 { 15 "name": "CtsFragmentTestCasesSdk26" 16 }, 17 { 18 "file_patterns": ["(/|^)AppOpsManager.java"], 19 "name": "CtsAppOpsTestCases" 20 }, 21 { 22 "file_patterns": ["(/|^)AppOpsManager.java"], 23 "name": "CtsAppOps2TestCases" 24 }, 25 { 26 "file_patterns": ["(/|^)AppOpsManager.java"], 27 "name": "FrameworksServicesTests", 28 "options": [ 29 { 30 "include-filter": "com.android.server.appop" 31 } 32 ] 33 }, 34 { 35 "file_patterns": ["(/|^)AppOpsManager.java"], 36 "name": "CtsStatsdAtomHostTestCases", 37 "options": [ 38 { 39 "include-filter": "android.cts.statsdatom.appops.AppOpsTests#testAppOps" 40 } 41 ] 42 }, 43 { 44 "file_patterns": ["(/|^)AppOpsManager.java"], 45 "name": "CtsPermissionPolicyTestCases", 46 "options": [ 47 { 48 "include-filter": "android.permissionpolicy.cts.RuntimePermissionProperties" 49 } 50 ] 51 }, 52 { 53 "name": "CtsToastTestCases", 54 "file_patterns": ["INotificationManager\\.aidl"] 55 }, 56 { 57 "name": "CtsWindowManagerDeviceTestCases", 58 "options": [ 59 { 60 "include-filter": "android.server.wm.ToastWindowTest" 61 } 62 ], 63 "file_patterns": ["INotificationManager\\.aidl"] 64 }, 65 { 66 "name": "CtsInstantAppTests", 67 "file_patterns": ["(/|^)InstantAppResolve[^/]*"] 68 }, 69 { 70 "name": "CtsAutoFillServiceTestCases", 71 "options": [ 72 { 73 "include-filter": "android.autofillservice.cts.saveui.AutofillSaveDialogTest" 74 }, 75 { 76 "exclude-annotation": "androidx.test.filters.FlakyTest" 77 } 78 ], 79 "file_patterns": ["(/|^)Activity.java"] 80 }, 81 { 82 "name": "CtsAutoFillServiceTestCases", 83 "options": [ 84 { 85 "include-filter": "android.autofillservice.cts.saveui.PreSimpleSaveActivityTest" 86 }, 87 { 88 "exclude-annotation": "androidx.test.filters.FlakyTest" 89 } 90 ], 91 "file_patterns": ["(/|^)Activity.java"] 92 }, 93 { 94 "name": "CtsAutoFillServiceTestCases", 95 "options": [ 96 { 97 "include-filter": "android.autofillservice.cts.saveui.SimpleSaveActivityTest" 98 }, 99 { 100 "exclude-annotation": "androidx.test.filters.FlakyTest" 101 }, 102 { 103 "exclude-annotation": "android.platform.test.annotations.AppModeFull" 104 } 105 ], 106 "file_patterns": ["(/|^)Activity.java"] 107 }, 108 { 109 "name": "CtsVoiceInteractionTestCases", 110 "options": [ 111 { 112 "exclude-annotation": "androidx.test.filters.FlakyTest" 113 }, 114 { 115 "exclude-filter": "android.voiceinteraction.cts.HotwordDetectionServiceStressTest" 116 } 117 ], 118 "file_patterns": ["(/|^)VoiceInteract[^/]*"] 119 }, 120 { 121 "name": "CtsLocalVoiceInteraction", 122 "options": [ 123 { 124 "exclude-annotation": "androidx.test.filters.FlakyTest" 125 } 126 ], 127 "file_patterns": ["(/|^)VoiceInteract[^/]*"] 128 }, 129 { 130 "name": "CtsOsTestCases", 131 "options": [ 132 { 133 "include-annotation": "android.platform.test.annotations.Presubmit" 134 }, 135 { 136 "exclude-annotation": "android.platform.test.annotations.LargeTest" 137 }, 138 { 139 "exclude-annotation": "androidx.test.filters.FlakyTest" 140 }, 141 { 142 "exclude-annotation": "org.junit.Ignore" 143 }, 144 { 145 "include-filter": "android.os.cts.StrictModeTest" 146 } 147 ], 148 "file_patterns": ["(/|^)ContextImpl.java"] 149 }, 150 { 151 "name": "FrameworksCoreTests", 152 "options": [ 153 { 154 "exclude-annotation": "androidx.test.filters.FlakyTest" 155 }, 156 { 157 "exclude-annotation": "org.junit.Ignore" 158 }, 159 { 160 "include-filter": "android.content.ContextTest" 161 } 162 ], 163 "file_patterns": ["(/|^)ContextImpl.java"] 164 }, 165 { 166 "file_patterns": ["(/|^)LocaleManager.java"], 167 "name": "CtsLocaleManagerTestCases", 168 "options": [ 169 { 170 "exclude-annotation": "androidx.test.filters.FlakyTest" 171 } 172 ] 173 }, 174 { 175 "name": "FrameworksCoreTests", 176 "options": [ 177 { 178 "exclude-annotation": "androidx.test.filters.FlakyTest" 179 }, 180 { 181 "exclude-annotation": "org.junit.Ignore" 182 }, 183 { 184 "include-filter": "android.app.KeyguardManagerTest" 185 } 186 ], 187 "file_patterns": [ 188 "(/|^)KeyguardManager.java" 189 ] 190 }, 191 { 192 "name": "FrameworksCoreTests", 193 "options": [ 194 { 195 "exclude-annotation": "androidx.test.filters.FlakyTest" 196 }, 197 { 198 "exclude-annotation": "org.junit.Ignore" 199 }, 200 { 201 "include-filter": "android.app.PropertyInvalidatedCacheTests" 202 } 203 ], 204 "file_patterns": [ 205 "(/|^)PropertyInvalidatedCache.java" 206 ] 207 }, 208 { 209 "name": "FrameworksCoreGameManagerTests", 210 "options": [ 211 { 212 "exclude-annotation": "androidx.test.filters.FlakyTest" 213 }, 214 { 215 "exclude-annotation": "org.junit.Ignore" 216 }, 217 { 218 "include-filter": "android.app" 219 } 220 ], 221 "file_patterns": [ 222 "(/|^)GameManager[^/]*", "(/|^)GameMode[^/]*" 223 ] 224 }, 225 { 226 "name": "HdmiCecTests", 227 "options": [ 228 { 229 "exclude-annotation": "androidx.test.filters.FlakyTest" 230 }, 231 { 232 "exclude-annotation": "org.junit.Ignore" 233 }, 234 { 235 "include-filter": "android.hardware.hdmi" 236 } 237 ], 238 "file_patterns": [ 239 "(/|^)DeviceFeature[^/]*", "(/|^)Hdmi[^/]*" 240 ] 241 } 242 ], 243 "presubmit-large": [ 244 { 245 "name": "CtsContentTestCases", 246 "options": [ 247 { 248 "exclude-annotation": "androidx.test.filters.FlakyTest" 249 }, 250 { 251 "exclude-annotation": "org.junit.Ignore" 252 }, 253 { 254 "include-filter": "android.content.wm.cts" 255 } 256 ], 257 "file_patterns": ["(/|^)ContextImpl.java"] 258 } 259 ], 260 "postsubmit": [ 261 { 262 "file_patterns": ["(/|^)ActivityThreadClientTest.java"], 263 "name": "FrameworksMockingCoreTests" 264 }, 265 { 266 "file_patterns": ["(/|^)ActivityThreadTest.java"], 267 "name": "FrameworksCoreTests" 268 } 269 ] 270} 271