1{ 2 "presubmit": [ 3 { 4 "name": "CtsPermissionTestCases", 5 "options": [ 6 { 7 "include-filter": "android.permission.cts.BackgroundPermissionsTest" 8 }, 9 { 10 "include-filter": "android.permission.cts.LocationAccessCheckTest" 11 }, 12 { 13 "include-filter": "android.permission.cts.NotificationListenerCheckTest" 14 }, 15 { 16 "include-filter": "android.permission.cts.OneTimePermissionTest" 17 }, 18 { 19 "include-filter": "android.permission.cts.PermissionControllerTest" 20 }, 21 { 22 "include-filter": "android.permission.cts.PlatformPermissionGroupMappingTest" 23 }, 24 { 25 "exclude-annotation": "androidx.test.filters.FlakyTest" 26 } 27 ] 28 }, 29 { 30 "name": "CtsHibernationTestCases", 31 "options": [ 32 { 33 "exclude-annotation": "androidx.test.filters.FlakyTest" 34 } 35 ] 36 } 37 ], 38 "mainline-presubmit": [ 39 { 40 "name": "CtsPermissionTestCases[com.google.android.permission.apex]", 41 "options": [ 42 { 43 "include-filter": "android.permission.cts.BackgroundPermissionsTest" 44 }, 45 { 46 "include-filter": "android.permission.cts.LocationAccessCheckTest" 47 }, 48 { 49 "include-filter": "android.permission.cts.NotificationListenerCheckTest" 50 }, 51 { 52 "include-filter": "android.permission.cts.OneTimePermissionTest" 53 }, 54 { 55 "include-filter": "android.permission.cts.PermissionControllerTest" 56 }, 57 { 58 "include-filter": "android.permission.cts.PlatformPermissionGroupMappingTest" 59 }, 60 { 61 "exclude-annotation": "androidx.test.filters.FlakyTest" 62 } 63 ] 64 }, 65 { 66 "name": "CtsHibernationTestCases[com.google.android.permission.apex]", 67 "options": [ 68 { 69 "exclude-annotation": "androidx.test.filters.FlakyTest" 70 } 71 ] 72 } 73 ], 74 "permission-mainline-presubmit": [ 75 { 76 "name": "CtsPermissionTestCases", 77 "options": [ 78 { 79 "include-filter": "android.permission.cts.BackgroundPermissionsTest" 80 }, 81 { 82 "include-filter": "android.permission.cts.LocationAccessCheckTest" 83 }, 84 { 85 "include-filter": "android.permission.cts.NotificationListenerCheckTest" 86 }, 87 { 88 "include-filter": "android.permission.cts.OneTimePermissionTest" 89 }, 90 { 91 "include-filter": "android.permission.cts.PermissionControllerTest" 92 }, 93 { 94 "include-filter": "android.permission.cts.PlatformPermissionGroupMappingTest" 95 }, 96 { 97 "exclude-annotation": "androidx.test.filters.FlakyTest" 98 } 99 ] 100 }, 101 { 102 "name": "CtsHibernationTestCases", 103 "options": [ 104 { 105 "exclude-annotation": "androidx.test.filters.FlakyTest" 106 } 107 ] 108 } 109 ], 110 "postsubmit": [ 111 { 112 "name": "CtsHibernationTestCases" 113 }, 114 { 115 "name": "CtsPermissionTestCases", 116 "options": [ 117 { 118 "include-filter": "android.permission.cts.BackgroundPermissionsTest" 119 }, 120 { 121 "include-filter": "android.permission.cts.LocationAccessCheckTest" 122 }, 123 { 124 "include-filter": "android.permission.cts.NotificationListenerCheckTest" 125 }, 126 { 127 "include-filter": "android.permission.cts.OneTimePermissionTest" 128 }, 129 { 130 "include-filter": "android.permission.cts.PermissionControllerTest" 131 }, 132 { 133 "include-filter": "android.permission.cts.PlatformPermissionGroupMappingTest" 134 } 135 ] 136 } 137 ], 138 "mainline-postsubmit": [ 139 { 140 "name": "CtsPermissionTestCases[com.google.android.permission.apex]", 141 "options": [ 142 { 143 "include-filter": "android.permission.cts.BackgroundPermissionsTest" 144 }, 145 { 146 "include-filter": "android.permission.cts.LocationAccessCheckTest" 147 }, 148 { 149 "include-filter": "android.permission.cts.NotificationListenerCheckTest" 150 }, 151 { 152 "include-filter": "android.permission.cts.OneTimePermissionTest" 153 }, 154 { 155 "include-filter": "android.permission.cts.PermissionControllerTest" 156 }, 157 { 158 "include-filter": "android.permission.cts.PlatformPermissionGroupMappingTest" 159 } 160 ] 161 }, 162 { 163 "name": "CtsHibernationTestCases[com.google.android.permission.apex]", 164 "options": [ 165 // TODO(b/238677038): This test currently fails on R base image 166 { 167 "exclude-filter": "android.hibernation.cts.AutoRevokeTest#testUnusedApp_uninstallApp" 168 } 169 ] 170 } 171 ] 172} 173