blob: 487a6e912238984788d90762f2dc29aadfda39c5 [file] [log] [blame]
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 ~ Copyright (C) 2016 The Android Open Source Project
4 ~
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
8 ~
9 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License
16 -->
17
18<!--
19This XML file declares which signature|privileged permissions should be granted to privileged
20applications that come with the platform
21-->
22<permissions>
Kang Li21ec85f2017-10-19 11:48:20 -070023 <privapp-permissions package="android.ext.services">
24 <permission name="android.permission.PROVIDE_RESOLVER_RANKER_SERVICE" />
Nadia Benbernou1ee91a32019-01-28 11:26:46 -050025 <permission name="android.permission.MONITOR_DEFAULT_SMS_PACKAGE" />
Julia Reynoldsd0ceefa2019-03-03 16:10:52 -050026 <permission name="android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE" />
Julia Reynoldsd7f43332019-08-14 12:56:49 -040027 <permission name="android.permission.INTERACT_ACROSS_USERS" />
Kang Li21ec85f2017-10-19 11:48:20 -070028 </privapp-permissions>
29
Fyodor Kupolov7e7c48a2017-10-19 12:26:32 -070030 <privapp-permissions package="com.android.apps.tag">
31 <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
32 </privapp-permissions>
33
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -080034 <privapp-permissions package="com.android.backupconfirm">
35 <permission name="android.permission.BACKUP"/>
36 <permission name="android.permission.CRYPT_KEEPER"/>
37 </privapp-permissions>
38
Lorenzo Colittieb970d72019-04-24 19:28:20 -070039 <privapp-permissions package="com.android.captiveportallogin">
40 <permission name="android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS"/>
41 <permission name="android.permission.NETWORK_BYPASS_PRIVATE_DNS"/>
42 </privapp-permissions>
43
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -080044 <privapp-permissions package="com.android.cellbroadcastreceiver">
45 <permission name="android.permission.INTERACT_ACROSS_USERS"/>
46 <permission name="android.permission.MANAGE_USERS"/>
47 <permission name="android.permission.MODIFY_PHONE_STATE"/>
48 <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
49 <permission name="android.permission.RECEIVE_EMERGENCY_BROADCAST"/>
Jack Yu974607a2019-04-21 17:21:43 -070050 <permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -080051 </privapp-permissions>
52
Jordan Liu69573b92019-10-14 12:45:23 -070053 <privapp-permissions package="com.android.cellbroadcastservice">
54 <permission name="android.permission.MODIFY_PHONE_STATE"/>
55 <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
56 <permission name="android.permission.RECEIVE_EMERGENCY_BROADCAST"/>
57 </privapp-permissions>
58
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -080059 <privapp-permissions package="com.android.externalstorage">
60 <permission name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
61 <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
Zim9eba4a92020-01-27 13:28:26 +000062 <permission name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -080063 </privapp-permissions>
64
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -080065 <privapp-permissions package="com.android.location.fused">
66 <permission name="android.permission.INSTALL_LOCATION_PROVIDER"/>
Soonil Nagarkar4c0b85b2020-01-21 15:16:51 -080067 <permission name="android.permission.UPDATE_DEVICE_STATS"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -080068 </privapp-permissions>
69
70 <privapp-permissions package="com.android.managedprovisioning">
71 <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
72 <permission name="android.permission.CHANGE_CONFIGURATION"/>
Alex Kershaw0124a092020-02-07 14:02:48 +000073 <permission name="android.permission.CONFIGURE_INTERACT_ACROSS_PROFILES"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -080074 <permission name="android.permission.CRYPT_KEEPER"/>
75 <permission name="android.permission.DELETE_PACKAGES"/>
76 <permission name="android.permission.INSTALL_PACKAGES"/>
77 <permission name="android.permission.INTERACT_ACROSS_USERS"/>
78 <permission name="android.permission.MANAGE_DEVICE_ADMINS"/>
79 <permission name="android.permission.MANAGE_USERS"/>
80 <permission name="android.permission.MASTER_CLEAR"/>
Roshan Piusb4c45332018-11-14 14:53:53 -080081 <permission name="android.permission.NETWORK_MANAGED_PROVISIONING"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -080082 <permission name="android.permission.PERFORM_CDMA_PROVISIONING"/>
yuemingw11c4bab2019-01-28 18:32:27 +000083 <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -080084 <permission name="android.permission.SET_TIME"/>
85 <permission name="android.permission.SET_TIME_ZONE"/>
86 <permission name="android.permission.SHUTDOWN"/>
87 <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
arangelov72e8f8e2019-04-30 12:46:36 +010088 <permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -080089 </privapp-permissions>
90
91 <privapp-permissions package="com.android.mms.service">
92 <permission name="android.permission.BIND_CARRIER_MESSAGING_SERVICE"/>
93 <permission name="android.permission.BIND_CARRIER_SERVICES"/>
94 <permission name="android.permission.INTERACT_ACROSS_USERS"/>
95 </privapp-permissions>
96
97 <privapp-permissions package="com.android.mtp">
Jeff Sharkeyd14e9c02019-08-12 11:41:44 -060098 <permission name="android.permission.ACCESS_MTP"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -080099 <permission name="android.permission.MANAGE_USB"/>
Jeff Sharkey7e9699f2019-11-12 15:19:53 -0700100 <permission name="android.permission.MANAGE_USERS"/>
101 <permission name="android.permission.INTERACT_ACROSS_USERS"/>
102 <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
Zim9eba4a92020-01-27 13:28:26 +0000103 <permission name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800104 </privapp-permissions>
105
106 <privapp-permissions package="com.android.musicfx">
107 <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
108 </privapp-permissions>
109
Joe LaPennacd54da42017-01-11 20:54:03 -0800110 <privapp-permissions package="com.android.networkrecommendation">
111 <permission name="android.permission.SCORE_NETWORKS"/>
112 <permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
113 <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
114 </privapp-permissions>
115
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800116 <privapp-permissions package="com.android.packageinstaller">
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800117 <permission name="android.permission.DELETE_PACKAGES"/>
118 <permission name="android.permission.INSTALL_PACKAGES"/>
Philip P. Moltmann8943ad62018-07-25 12:12:30 -0700119 <permission name="android.permission.USE_RESERVED_DISK"/>
120 <permission name="android.permission.MANAGE_USERS"/>
121 <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
Ricky Waic5ea08b2018-09-05 20:55:11 +0100122 <permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
Philip P. Moltmannae4a4b92018-12-12 11:28:57 -0800123 <permission name="android.permission.PACKAGE_USAGE_STATS"/>
Philip P. Moltmann8943ad62018-07-25 12:12:30 -0700124 </privapp-permissions>
125
126 <privapp-permissions package="com.android.permissioncontroller">
127 <permission name="android.permission.CLEAR_APP_CACHE"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800128 <permission name="android.permission.MANAGE_USERS"/>
Fyodor Kupolovf9a8bd22017-01-05 18:45:06 -0800129 <permission name="android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS"/>
Joel Galenson13096ea2018-09-27 11:18:44 -0700130 <permission name="android.permission.GET_APP_OPS_STATS"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800131 <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
Joe Onoratoe21ab7e2018-12-18 15:00:25 -0800132 <permission name="android.permission.REQUEST_INCIDENT_REPORT_APPROVAL"/>
Joe Onorato5a15b552018-12-18 10:40:04 -0800133 <permission name="android.permission.APPROVE_INCIDENT_REPORTS"/>
Hai Zhang953a8032019-03-18 16:06:19 -0700134 <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
Anton Hanssonaaf15d22019-03-22 16:04:27 +0000135 <permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" />
Eugene Susla6db4be52020-01-09 11:02:09 -0800136 <permission name="android.permission.PACKAGE_USAGE_STATS" />
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800137 </privapp-permissions>
138
139 <privapp-permissions package="com.android.phone">
140 <permission name="android.permission.ACCESS_IMS_CALL_SERVICE"/>
141 <permission name="android.permission.BIND_CARRIER_MESSAGING_SERVICE"/>
142 <permission name="android.permission.BIND_CARRIER_SERVICES"/>
Jordan Liu289dfd02019-09-23 13:35:02 -0700143 <permission name="android.permission.BIND_CELL_BROADCAST_SERVICE"/>
Brad Ebingercab1dad2017-02-03 10:42:25 -0800144 <permission name="android.permission.BIND_IMS_SERVICE"/>
Jack Yu568b81a2018-02-02 10:40:11 -0800145 <permission name="android.permission.BIND_TELEPHONY_DATA_SERVICE"/>
Fyodor Kupolovf9a8bd22017-01-05 18:45:06 -0800146 <permission name="android.permission.BIND_VISUAL_VOICEMAIL_SERVICE"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800147 <permission name="android.permission.CALL_PRIVILEGED"/>
148 <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
149 <permission name="android.permission.CHANGE_CONFIGURATION"/>
150 <permission name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST"/>
paulhu741e5132019-12-16 16:55:51 +0800151 <permission name="android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS"/>
Jeff Davidson73441592017-03-03 17:42:35 -0800152 <permission name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800153 <permission name="android.permission.DUMP"/>
154 <permission name="android.permission.INTERACT_ACROSS_USERS"/>
155 <permission name="android.permission.LOCAL_MAC_ADDRESS"/>
156 <permission name="android.permission.MANAGE_USERS"/>
157 <permission name="android.permission.MODIFY_PHONE_STATE"/>
Hall Liu5fb337f2017-11-22 17:38:15 -0800158 <permission name="android.permission.PACKAGE_USAGE_STATS"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800159 <permission name="android.permission.PERFORM_CDMA_PROVISIONING"/>
Hall Liub38ad5f2019-12-23 18:11:10 -0800160 <permission name="android.permission.READ_CARRIER_APP_INFO"/>
Malcolm Chen21062542017-06-20 11:36:01 -0700161 <permission name="android.permission.READ_NETWORK_USAGE_HISTORY"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800162 <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
163 <permission name="android.permission.READ_SEARCH_INDEXABLES"/>
164 <permission name="android.permission.REBOOT"/>
165 <permission name="android.permission.REGISTER_CALL_PROVIDER"/>
166 <permission name="android.permission.REGISTER_SIM_SUBSCRIPTION"/>
Chi Zhangbb9ed922020-03-11 10:16:47 -0700167 <permission name="android.permission.REGISTER_STATS_PULL_ATOM"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800168 <permission name="android.permission.SEND_RESPOND_VIA_MESSAGE"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800169 <permission name="android.permission.SET_TIME_ZONE"/>
170 <permission name="android.permission.SHUTDOWN"/>
Alan Stokes953484e2019-06-14 16:06:36 +0100171 <permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800172 <permission name="android.permission.STATUS_BAR"/>
173 <permission name="android.permission.STOP_APP_SWITCHES"/>
Neil Fullerc0d59e32020-02-04 14:30:06 +0000174 <permission name="android.permission.SUGGEST_TELEPHONY_TIME_AND_ZONE"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800175 <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
176 <permission name="android.permission.UPDATE_DEVICE_STATS"/>
177 <permission name="android.permission.UPDATE_LOCK"/>
178 <permission name="android.permission.WRITE_APN_SETTINGS"/>
179 <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
Holly Jiuyu Sun4f73b9c2017-12-12 20:17:09 -0800180 <permission name="android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS"/>
Malcolm Chenda40c6d2019-01-22 13:46:17 -0800181 <permission name="android.permission.READ_PRECISE_PHONE_STATE"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800182 <permission name="com.android.voicemail.permission.READ_VOICEMAIL"/>
183 <permission name="com.android.voicemail.permission.WRITE_VOICEMAIL"/>
184 </privapp-permissions>
185
186 <privapp-permissions package="com.android.providers.calendar">
187 <permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
yuemingwfa4381d2018-10-26 18:52:37 +0100188 <permission name="android.permission.INTERACT_ACROSS_USERS" />
189 <permission name="android.permission.MANAGE_USERS" />
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800190 <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
Jeff Sharkey4a539442018-01-05 17:09:52 -0700191 <permission name="android.permission.USE_RESERVED_DISK"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800192 </privapp-permissions>
193
194 <privapp-permissions package="com.android.providers.contacts">
195 <permission name="android.permission.BIND_DIRECTORY_SEARCH"/>
196 <permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
197 <permission name="android.permission.INTERACT_ACROSS_USERS"/>
198 <permission name="android.permission.MANAGE_USERS"/>
Michael Groover58f20c42020-02-19 23:37:42 -0800199 <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800200 <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
Jeff Sharkey4a539442018-01-05 17:09:52 -0700201 <permission name="android.permission.USE_RESERVED_DISK"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800202 </privapp-permissions>
203
204 <privapp-permissions package="com.android.providers.downloads">
205 <permission name="android.permission.ACCESS_CACHE_FILESYSTEM"/>
206 <permission name="android.permission.CLEAR_APP_CACHE"/>
207 <permission name="android.permission.CONNECTIVITY_INTERNAL"/>
Michal Karpinskiefa05d92019-06-18 15:39:46 +0100208 <permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
Martijn Coenen3585d122020-01-23 16:52:04 +0100209 <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
Zim9eba4a92020-01-27 13:28:26 +0000210 <permission name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800211 <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
212 <permission name="android.permission.UPDATE_DEVICE_STATS"/>
213 </privapp-permissions>
214
Jeff Sharkey5fceb152019-11-21 15:56:46 -0700215 <privapp-permissions package="com.android.providers.media.module">
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800216 <permission name="android.permission.INTERACT_ACROSS_USERS"/>
217 <permission name="android.permission.MANAGE_USERS"/>
Jeff Sharkey4a539442018-01-05 17:09:52 -0700218 <permission name="android.permission.USE_RESERVED_DISK"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800219 <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
Zim9eba4a92020-01-27 13:28:26 +0000220 <permission name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
Jeff Sharkeyb66f4f42019-05-17 18:48:11 -0600221 <permission name="android.permission.WATCH_APPOPS"/>
Jeff Sharkey7e9699f2019-11-12 15:19:53 -0700222 <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
Jeff Sharkeyc0bb5982019-05-30 12:18:32 -0600223 <permission name="android.permission.UPDATE_DEVICE_STATS"/>
Abhijeet Kaur0f7b206a2020-02-10 14:25:05 +0000224 <!-- Permissions required for reading and logging compat changes -->
225 <permission name="android.permission.LOG_COMPAT_CHANGE" />
226 <permission name="android.permission.READ_COMPAT_CHANGE_CONFIG" />
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800227 </privapp-permissions>
228
229 <privapp-permissions package="com.android.providers.telephony">
230 <permission name="android.permission.INTERACT_ACROSS_USERS"/>
231 <permission name="android.permission.MODIFY_PHONE_STATE"/>
Jeff Sharkey4a539442018-01-05 17:09:52 -0700232 <permission name="android.permission.USE_RESERVED_DISK"/>
Hall Liu106c0de2020-02-25 15:59:03 -0800233 <!-- Permissions required for reading and logging compat changes -->
234 <permission name="android.permission.LOG_COMPAT_CHANGE" />
235 <permission name="android.permission.READ_COMPAT_CHANGE_CONFIG" />
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800236 </privapp-permissions>
237
Remi NGUYEN VAN8c0d9462019-02-08 15:26:06 +0900238 <privapp-permissions package="com.android.networkstack">
Remi NGUYEN VAN5dbf0572018-12-27 11:49:21 +0900239 <permission name="android.permission.ACCESS_NETWORK_CONDITIONS"/>
Remi NGUYEN VAN5dbf0572018-12-27 11:49:21 +0900240 <permission name="android.permission.CONNECTIVITY_INTERNAL"/>
241 <permission name="android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS"/>
242 <permission name="android.permission.CONTROL_VPN"/>
Remi NGUYEN VANf871bfb2019-02-04 14:26:32 +0900243 <permission name="android.permission.INTERACT_ACROSS_USERS"/>
Remi NGUYEN VAN5dbf0572018-12-27 11:49:21 +0900244 <permission name="android.permission.LOCAL_MAC_ADDRESS"/>
Remi NGUYEN VAN5dbf0572018-12-27 11:49:21 +0900245 <permission name="android.permission.MANAGE_SUBSCRIPTION_PLANS"/>
246 <permission name="android.permission.MANAGE_USB"/>
Lorenzo Colittieb970d72019-04-24 19:28:20 -0700247 <permission name="android.permission.NETWORK_BYPASS_PRIVATE_DNS"/>
Remi NGUYEN VAN5dbf0572018-12-27 11:49:21 +0900248 <permission name="android.permission.PACKET_KEEPALIVE_OFFLOAD"/>
Remi NGUYEN VAN5dbf0572018-12-27 11:49:21 +0900249 <permission name="android.permission.READ_NETWORK_USAGE_HISTORY"/>
250 <permission name="android.permission.READ_PRECISE_PHONE_STATE"/>
251 <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
252 <permission name="android.permission.READ_WIFI_CREDENTIAL"/>
253 <permission name="android.permission.RECEIVE_DATA_ACTIVITY_CHANGE"/>
254 <permission name="android.permission.TETHER_PRIVILEGED"/>
255 <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
256 </privapp-permissions>
257
markchien58b0f232019-12-18 17:47:26 +0800258 <privapp-permissions package="com.android.networkstack.tethering">
markchien840abdc2019-11-24 23:26:26 +0800259 <permission name="android.permission.MANAGE_USB"/>
260 <permission name="android.permission.MODIFY_PHONE_STATE"/>
261 <permission name="android.permission.READ_NETWORK_USAGE_HISTORY"/>
markchien36aea562020-01-10 00:21:17 +0800262 <permission name="android.permission.TETHER_PRIVILEGED"/>
markchien840abdc2019-11-24 23:26:26 +0800263 <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
junyulai37ed8352020-01-10 13:27:24 +0800264 <permission name="android.permission.UPDATE_DEVICE_STATS"/>
markchien840abdc2019-11-24 23:26:26 +0800265 </privapp-permissions>
266
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800267 <privapp-permissions package="com.android.server.telecom">
268 <permission name="android.permission.BIND_CONNECTION_SERVICE"/>
269 <permission name="android.permission.BIND_INCALL_SERVICE"/>
270 <permission name="android.permission.CALL_PRIVILEGED"/>
Tyler Gunndaef6682019-09-30 15:12:24 -0700271 <permission name="android.permission.HANDLE_CAR_MODE_CHANGES"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800272 <permission name="android.permission.INTERACT_ACROSS_USERS"/>
273 <permission name="android.permission.MANAGE_USERS"/>
Tyler Gunn425dac52019-04-25 14:28:47 -0700274 <permission name="android.permission.MANAGE_ROLE_HOLDERS"/>
Tyler Gunnacdb6862018-01-29 14:30:52 -0800275 <permission name="android.permission.MODIFY_AUDIO_ROUTING" />
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800276 <permission name="android.permission.MODIFY_PHONE_STATE"/>
277 <permission name="android.permission.STOP_APP_SWITCHES"/>
Tyler Gunne0d00e62017-03-31 17:50:56 -0700278 <permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800279 </privapp-permissions>
280
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800281 <privapp-permissions package="com.android.sharedstoragebackup">
282 <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
Zim9eba4a92020-01-27 13:28:26 +0000283 <permission name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800284 </privapp-permissions>
285
286 <privapp-permissions package="com.android.shell">
Jay Aliomere2815f22019-12-12 14:17:22 -0500287 <!-- Needed for test only -->
288 <permission name="android.permission.MODIFY_DAY_NIGHT_MODE"/>
Fyodor Kupolovc56106a2017-10-06 17:02:21 -0700289 <permission name="android.permission.ACCESS_LOWPAN_STATE"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800290 <permission name="android.permission.BACKUP"/>
291 <permission name="android.permission.BATTERY_STATS"/>
292 <permission name="android.permission.BIND_APPWIDGET"/>
Amith Yamasani4470ab92017-10-31 13:29:00 -0700293 <permission name="android.permission.CHANGE_APP_IDLE_STATE"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800294 <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
295 <permission name="android.permission.CHANGE_CONFIGURATION"/>
Christopher Tateec3a9f32017-03-21 17:43:47 -0700296 <permission name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST" />
Fyodor Kupolovc56106a2017-10-06 17:02:21 -0700297 <permission name="android.permission.CHANGE_LOWPAN_STATE"/>
Adam Lesinskiaea3cf42017-02-23 18:17:11 -0800298 <permission name="android.permission.CHANGE_OVERLAY_PACKAGES"/>
Jeff Sharkeya4daf892017-04-09 21:37:56 -0600299 <permission name="android.permission.CLEAR_APP_CACHE"/>
Sergii Piatakove8214d62018-04-02 16:48:56 +0300300 <permission name="android.permission.ACCESS_INSTANT_APPS" />
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800301 <permission name="android.permission.CONNECTIVITY_INTERNAL"/>
302 <permission name="android.permission.DELETE_CACHE_FILES"/>
303 <permission name="android.permission.DELETE_PACKAGES"/>
304 <permission name="android.permission.DUMP"/>
Andrii Kulian02689a72017-07-06 14:28:59 -0700305 <permission name="android.permission.ACTIVITY_EMBEDDING"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800306 <permission name="android.permission.FORCE_STOP_PACKAGES"/>
307 <permission name="android.permission.GET_APP_OPS_STATS"/>
Po-Chien Hsuehe56f2f582019-02-21 09:58:02 +0800308 <permission name="android.permission.INSTALL_DYNAMIC_SYSTEM"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800309 <permission name="android.permission.INSTALL_LOCATION_PROVIDER"/>
310 <permission name="android.permission.INSTALL_PACKAGES"/>
Varun Shaha2482652019-05-17 17:28:50 -0700311 <!-- Needed for test only -->
312 <permission name="android.permission.INTERACT_ACROSS_PROFILES"/>
Nate Myrend3a63852019-06-07 13:11:58 -0700313 <!-- Permission required to test onPermissionsChangedListener -->
314 <permission name="android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800315 <permission name="android.permission.INTERACT_ACROSS_USERS"/>
Alex Klyubin1991f572017-03-03 14:08:36 -0800316 <permission name="android.permission.LOCAL_MAC_ADDRESS"/>
Phil Weaver27beee52018-10-09 15:01:49 -0700317 <permission name="android.permission.MANAGE_ACCESSIBILITY"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800318 <permission name="android.permission.MANAGE_DEVICE_ADMINS"/>
Dario Frenib395b3a2020-01-21 21:18:53 +0000319 <permission name="android.permission.MANAGE_ROLLBACKS"/>
Jerry Zhangf9706362017-02-17 11:46:58 -0800320 <permission name="android.permission.MANAGE_USB"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800321 <permission name="android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"/>
322 <permission name="android.permission.MODIFY_PHONE_STATE"/>
323 <permission name="android.permission.MOUNT_FORMAT_FILESYSTEMS"/>
324 <permission name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
325 <permission name="android.permission.MOVE_PACKAGE"/>
Varun Shah05861922019-01-24 07:19:14 -0800326 <permission name="android.permission.OBSERVE_APP_USAGE"/>
Hall Liu9cf3e7a2019-02-28 15:29:19 -0800327 <permission name="android.permission.NETWORK_SCAN"/>
Sudheer Shanka93bfd052017-09-01 16:41:10 -0700328 <permission name="android.permission.PACKAGE_USAGE_STATS" />
markchien5e430e52019-01-23 17:24:10 +0800329 <!-- Needed for test only -->
330 <permission name="android.permission.PACKET_KEEPALIVE_OFFLOAD" />
Salvador Martinez812ea752018-10-19 13:03:20 -0700331 <permission name="android.permission.POWER_SAVER" />
Hall Liub38ad5f2019-12-23 18:11:10 -0800332 <permission name="android.permission.READ_CARRIER_APP_INFO"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800333 <permission name="android.permission.READ_FRAME_BUFFER"/>
Fyodor Kupolovc56106a2017-10-06 17:02:21 -0700334 <permission name="android.permission.READ_LOWPAN_CREDENTIAL"/>
chen xu6a942d482018-12-12 19:59:30 -0800335 <!-- Needed for test only -->
336 <permission name="android.permission.READ_PRECISE_PHONE_STATE" />
Michael Groover6d20d752018-10-01 16:14:50 -0700337 <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
Roshan Pius75dbcff2020-03-02 13:04:17 -0800338 <permission name="android.permission.READ_WIFI_CREDENTIAL"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800339 <permission name="android.permission.REAL_GET_TASKS"/>
Michael Groover1248e432018-10-08 09:39:24 -0700340 <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800341 <permission name="android.permission.REGISTER_CALL_PROVIDER"/>
342 <permission name="android.permission.REGISTER_CONNECTION_MANAGER"/>
343 <permission name="android.permission.REGISTER_SIM_SUBSCRIPTION"/>
344 <permission name="android.permission.RETRIEVE_WINDOW_CONTENT"/>
345 <permission name="android.permission.SET_ALWAYS_FINISH"/>
346 <permission name="android.permission.SET_ANIMATION_SCALE"/>
347 <permission name="android.permission.SET_DEBUG_APP"/>
348 <permission name="android.permission.SET_PROCESS_LIMIT"/>
mswest463f4c99d2018-02-01 10:13:10 -0800349 <permission name="android.permission.SET_TIME"/>
350 <permission name="android.permission.SET_TIME_ZONE"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800351 <permission name="android.permission.SIGNAL_PERSISTENT_PROCESSES"/>
Evan Lairddeb46f32019-04-17 16:47:54 -0400352 <permission name="android.permission.STATUS_BAR"/>
Michal Karpinski7b97a022018-12-14 15:17:29 +0000353 <permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND" />
Winson Chung58fb7492018-03-17 12:51:14 -0700354 <permission name="android.permission.START_TASKS_FROM_RECENTS" />
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800355 <permission name="android.permission.STOP_APP_SWITCHES"/>
356 <permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
Suprabh Shukla349f9a12018-07-16 13:23:21 -0700357 <permission name="android.permission.SUSPEND_APPS" />
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800358 <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
Jeff Sharkey4a539442018-01-05 17:09:52 -0700359 <permission name="android.permission.USE_RESERVED_DISK"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800360 <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
Zim9eba4a92020-01-27 13:28:26 +0000361 <permission name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800362 <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
Julia Reynolds87621942019-01-29 16:19:36 -0500363 <permission name="android.permission.STATUS_BAR_SERVICE"/>
Joe Onoratoe21ab7e2018-12-18 15:00:25 -0800364 <permission name="android.permission.REQUEST_INCIDENT_REPORT_APPROVAL"/>
Zimuzo901c70d2019-03-19 21:45:49 +0000365 <permission name="android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS"/>
wilsonshih5db7b392019-02-20 23:08:45 +0800366 <permission name="android.permission.SET_WALLPAPER" />
367 <permission name="android.permission.SET_WALLPAPER_COMPONENT" />
Julia Reynoldsdc6adc62019-04-08 10:35:40 -0400368 <permission name="android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE" />
Jayant Chowdhary393ad6e2019-07-17 09:28:50 -0700369 <!-- Permission required to test system only camera devices. -->
370 <permission name="android.permission.SYSTEM_CAMERA" />
Zimuzo0d70a6a2019-05-14 18:51:32 +0100371 <!-- Permission required to test ExplicitHealthCheckServiceImpl. -->
372 <permission name="android.permission.BIND_EXPLICIT_HEALTH_CHECK_SERVICE"/>
Tyler Gunnf701f7a2019-11-20 07:54:36 -0800373 <!-- Permission required for UiModeManager CTS test. -->
Tyler Gunndaef6682019-09-30 15:12:24 -0700374 <permission name="android.permission.ENTER_CAR_MODE_PRIORITIZED"/>
Tyler Gunnf701f7a2019-11-20 07:54:36 -0800375 <!-- Permission required for Telecom car mode CTS tests. -->
376 <permission name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
markchiena2ce4592019-12-17 16:58:20 +0800377 <!-- Permission required for Tethering CTS tests. -->
378 <permission name="android.permission.TETHER_PRIVILEGED"/>
Andrei Onea26559bc2020-01-15 19:09:52 +0000379 <!-- Permissions required for ganting and logging -->
380 <permission name="android.permission.LOG_COMPAT_CHANGE" />
381 <permission name="android.permission.READ_COMPAT_CHANGE_CONFIG" />
382 <permission name="android.permission.OVERRIDE_COMPAT_CHANGE_CONFIG" />
Steven Ng38e58de2020-01-23 14:21:51 +0000383 <!-- Permissions required to test ambient display. -->
384 <permission name="android.permission.READ_DREAM_STATE" />
385 <permission name="android.permission.WRITE_DREAM_STATE" />
Robin Lee413dd362020-01-21 02:06:47 +0100386 <!-- Permission required to test lights control APIs. -->
387 <permission name="android.permission.CONTROL_DEVICE_LIGHTS" />
Varun Shah01f6f262020-01-07 16:33:22 -0800388 <!-- Permission required for ShortcutManagerUsageTest CTS test. -->
389 <permission name="android.permission.ACCESS_SHORTCUTS"/>
Nikita Ioffe1ef72132020-02-01 00:08:14 +0000390 <permission name="android.permission.REBOOT"/>
Chris Ye473c84f2020-01-28 22:54:23 -0800391 <!-- Permission required for access VIBRATOR_STATE. -->
392 <permission name="android.permission.ACCESS_VIBRATOR_STATE"/>
Varun Shah0cbb6b62020-02-04 14:01:12 -0800393 <!-- Permission required for UsageStatsTest CTS test. -->
394 <permission name="android.permission.MANAGE_NOTIFICATIONS"/>
Paul Murphy1460b762020-02-26 20:42:55 -0800395 <!-- Permission required for CompanionDeviceManager CTS test. -->
396 <permission name="android.permission.COMPANION_APPROVE_WIFI_CONNECTIONS" />
Tej Singh924910d2020-02-26 16:57:43 -0800397 <!-- Permission required for testing registering pull atom callbacks. -->
398 <permission name="android.permission.REGISTER_STATS_PULL_ATOM"/>
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800399 </privapp-permissions>
400
401 <privapp-permissions package="com.android.statementservice">
402 <permission name="android.permission.INTENT_FILTER_VERIFICATION_AGENT"/>
403 </privapp-permissions>
404
Conrad Chen6dad6d42017-03-20 15:19:11 -0700405 <privapp-permissions package="com.android.tv">
Shubangd06de342017-10-05 18:31:00 -0700406 <permission name="android.permission.CHANGE_HDMI_CEC_ACTIVE_SOURCE"/>
407 <permission name="android.permission.DVB_DEVICE"/>
408 <permission name="android.permission.GLOBAL_SEARCH"/>
409 <permission name="android.permission.HDMI_CEC"/>
410 <permission name="android.permission.MODIFY_PARENTAL_CONTROLS"/>
411 <permission name="android.permission.READ_CONTENT_RATING_SYSTEMS"/>
412 <permission name="com.android.providers.tv.permission.ACCESS_ALL_EPG_DATA"/>
413 <permission name="com.android.providers.tv.permission.ACCESS_WATCHED_PROGRAMS"/>
Conrad Chen6dad6d42017-03-20 15:19:11 -0700414 </privapp-permissions>
415
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800416 <privapp-permissions package="com.android.vpndialogs">
Fyodor Kupolov964d2eb2016-11-09 14:32:27 -0800417 <permission name="android.permission.CONTROL_VPN"/>
418 </privapp-permissions>
419
Po-Chien Hsueh4e908c22019-03-07 11:57:17 +0800420 <privapp-permissions package="com.android.dynsystem">
Po-Chien Hsueh64aa7822019-01-12 00:40:02 +0800421 <permission name="android.permission.REBOOT"/>
Po-Chien Hsueh4e908c22019-03-07 11:57:17 +0800422 <permission name="android.permission.MANAGE_DYNAMIC_SYSTEM"/>
Yo Chiangbe204952020-02-19 16:40:46 +0800423 <permission name="android.permission.READ_OEM_UNLOCK_STATE"/>
Po-Chien Hsueh64aa7822019-01-12 00:40:02 +0800424 </privapp-permissions>
Howard Chena46d15d2019-12-02 19:12:17 +0800425 <privapp-permissions package="com.android.settings">
426 <permission name="android.permission.INSTALL_DYNAMIC_SYSTEM"/>
Jack Yu80e43202020-01-30 00:30:29 -0800427 <permission name="android.permission.BIND_CELL_BROADCAST_SERVICE"/>
Howard Chena46d15d2019-12-02 19:12:17 +0800428 </privapp-permissions>
Philip P. Moltmann26e1d172020-03-03 16:02:32 -0800429
430 <privapp-permissions package="com.android.bips">
431 <permission name="android.permission.SUBSTITUTE_SHARE_TARGET_APP_NAME_AND_ICON"/>
432 </privapp-permissions>
Brad Ebingercab1dad2017-02-03 10:42:25 -0800433</permissions>