1{
2    "platinum-test": [
3        {
4            "name": "CtsPermissionTestCases",
5            "options": [
6                {
7                    "include-annotation": "android.platform.test.annotations.PlatinumTest"
8                },
9                {
10                    "exclude-annotation": "androidx.test.filters.FlakyTest"
11                }
12            ]
13        }
14    ],
15    "presubmit": [
16        {
17            "name": "CtsPermissionTestCases",
18            "options": [
19                {
20                    "exclude-annotation": "androidx.test.filters.FlakyTest"
21                },
22                {
23                    "include-filter": "android.permission.cts.BackgroundPermissionsTest"
24                },
25                {
26                    "include-filter": "android.permission.cts.SplitPermissionTest"
27                },
28                {
29                    "include-filter": "android.permission.cts.PermissionFlagsTest"
30                },
31                {
32                    "include-filter": "android.permission.cts.SharedUidPermissionsTest"
33                }
34            ]
35        },
36        {
37            "name": "CtsAppSecurityHostTestCases",
38            "options": [
39                {
40                    "include-filter": "android.appsecurity.cts.AppSecurityTests#rebootWithDuplicatePermission"
41                }
42            ]
43        },
44        {
45            "name": "CtsPermissionPolicyTestCases",
46            "options": [
47                {
48                    "exclude-annotation": "androidx.test.filters.FlakyTest"
49                },
50                {
51                    "include-filter": "android.permissionpolicy.cts.RestrictedPermissionsTest"
52                },
53                {
54                    "include-filter": "android.permission.cts.PermissionMaxSdkVersionTest"
55                }
56            ]
57        },
58        {
59            "name": "CtsStatsdHostTestCases",
60            "options": [
61                {
62                    "include-filter": "android.cts.statsd.atom.UidAtomTests#testDangerousPermissionState"
63                }
64            ]
65        }
66    ],
67    "postsubmit": [
68        {
69            "name": "CtsAppSecurityHostTestCases",
70            "options": [
71                {
72                    "include-filter": "android.appsecurity.cts.AppSecurityTests#testPermissionDiffCert"
73                }
74            ]
75        },
76        {
77            "name": "CtsPermissionTestCases",
78            "options": [
79                {
80                    "include-filter": "android.permission.cts.PermissionUpdateListenerTest"
81                },
82                {
83                    "include-filter": "android.permission.cts.BackgroundPermissionsTest"
84                },
85                {
86                    "include-filter": "android.permission.cts.SplitPermissionTest"
87                },
88                {
89                    "include-filter": "android.permission.cts.PermissionFlagsTest"
90                },
91                {
92                    "include-filter": "android.permission.cts.SharedUidPermissionsTest"
93                }
94            ]
95        },
96        {
97            "name": "CtsPermissionPolicyTestCases",
98            "options": [
99                {
100                    "include-filter": "android.permissionpolicy.cts.RestrictedPermissionsTest"
101                },
102                {
103                    "include-filter": "android.permission.cts.PermissionMaxSdkVersionTest"
104                }
105            ]
106        },
107        {
108            "name": "CtsVirtualDevicesAudioTestCases",
109            "options": [
110                {
111                    "exclude-annotation": "androidx.test.filters.FlakyTest"
112                },
113                {
114                    "include-filter": "android.virtualdevice.cts.audio.VirtualAudioPermissionTest"
115                }
116            ]
117        },
118        {
119            "name": "CtsVirtualDevicesAppLaunchTestCases",
120            "options": [
121                {
122                    "exclude-annotation": "androidx.test.filters.FlakyTest"
123                },
124                {
125                    "include-filter": "android.virtualdevice.cts.applaunch.VirtualDevicePermissionTest"
126                }
127            ]
128        }
129    ],
130    "imports": [
131        {
132            "path": "vendor/xts/gts-tests/tests/permission"
133        }
134    ]
135}
136