1<?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>
23    <privapp-permissions package="android.ext.services">
24        <permission name="android.permission.PROVIDE_RESOLVER_RANKER_SERVICE" />
25        <permission name="android.permission.MONITOR_DEFAULT_SMS_PACKAGE" />
26        <permission name="android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE" />
27        <permission name="android.permission.INTERACT_ACROSS_USERS" />
28    </privapp-permissions>
29
30    <!-- Needed for Build.getSerial(), which is used to send a unique number for serial, per HUIG. -->
31    <privapp-permissions package="android.car.usb.handler">
32        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
33    </privapp-permissions>
34
35    <privapp-permissions package="com.android.angle">
36        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
37    </privapp-permissions>
38
39    <privapp-permissions package="com.android.apps.tag">
40        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
41    </privapp-permissions>
42
43    <privapp-permissions package="com.android.backupconfirm">
44        <permission name="android.permission.BACKUP"/>
45        <permission name="android.permission.CRYPT_KEEPER"/>
46    </privapp-permissions>
47
48    <privapp-permissions package="com.android.cellbroadcastreceiver.module">
49        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
50        <permission name="android.permission.MANAGE_USERS"/>
51        <permission name="android.permission.MODIFY_PHONE_STATE"/>
52        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
53        <permission name="android.permission.RECEIVE_EMERGENCY_BROADCAST"/>
54        <permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
55    </privapp-permissions>
56
57    <privapp-permissions package="com.android.cellbroadcastservice">
58        <permission name="android.permission.MODIFY_PHONE_STATE"/>
59        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
60        <permission name="android.permission.RECEIVE_EMERGENCY_BROADCAST"/>
61    </privapp-permissions>
62
63    <privapp-permissions package="com.android.externalstorage">
64        <permission name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
65        <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
66        <permission name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
67    </privapp-permissions>
68
69    <privapp-permissions package="com.android.launcher3">
70        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
71    </privapp-permissions>
72
73    <privapp-permissions package="com.android.location.fused">
74        <permission name="android.permission.INSTALL_LOCATION_PROVIDER"/>
75        <permission name="android.permission.UPDATE_DEVICE_STATS"/>
76    </privapp-permissions>
77
78    <privapp-permissions package="com.android.managedprovisioning">
79        <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
80        <permission name="android.permission.CHANGE_CONFIGURATION"/>
81        <permission name="android.permission.CONFIGURE_INTERACT_ACROSS_PROFILES"/>
82        <permission name="android.permission.CRYPT_KEEPER"/>
83        <permission name="android.permission.DELETE_PACKAGES"/>
84        <permission name="android.permission.INSTALL_PACKAGES"/>
85        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
86        <permission name="android.permission.MANAGE_DEVICE_ADMINS"/>
87        <permission name="android.permission.MANAGE_USERS"/>
88        <permission name="android.permission.MASTER_CLEAR"/>
89        <permission name="android.permission.NETWORK_MANAGED_PROVISIONING"/>
90        <permission name="android.permission.PERFORM_CDMA_PROVISIONING"/>
91        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
92        <permission name="android.permission.SET_TIME"/>
93        <permission name="android.permission.SET_TIME_ZONE"/>
94        <permission name="android.permission.SHUTDOWN"/>
95        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
96        <permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
97    </privapp-permissions>
98
99    <privapp-permissions package="com.android.mms.service">
100        <permission name="android.permission.BIND_CARRIER_MESSAGING_SERVICE"/>
101        <permission name="android.permission.BIND_CARRIER_SERVICES"/>
102        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
103    </privapp-permissions>
104
105    <privapp-permissions package="com.android.mtp">
106        <permission name="android.permission.ACCESS_MTP"/>
107        <permission name="android.permission.MANAGE_USB"/>
108        <permission name="android.permission.MANAGE_USERS"/>
109        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
110        <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
111        <permission name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
112    </privapp-permissions>
113
114    <privapp-permissions package="com.android.musicfx">
115        <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
116    </privapp-permissions>
117
118    <privapp-permissions package="com.android.networkrecommendation">
119        <permission name="android.permission.SCORE_NETWORKS"/>
120        <permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
121        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
122    </privapp-permissions>
123
124    <privapp-permissions package="com.android.packageinstaller">
125        <permission name="android.permission.DELETE_PACKAGES"/>
126        <permission name="android.permission.INSTALL_PACKAGES"/>
127        <permission name="android.permission.USE_RESERVED_DISK"/>
128        <permission name="android.permission.MANAGE_USERS"/>
129        <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
130        <permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
131        <permission name="android.permission.PACKAGE_USAGE_STATS"/>
132    </privapp-permissions>
133
134    <privapp-permissions package="com.android.permissioncontroller">
135        <permission name="android.permission.CLEAR_APP_CACHE"/>
136        <permission name="android.permission.MANAGE_USERS"/>
137        <permission name="android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS"/>
138        <permission name="android.permission.GET_APP_OPS_STATS"/>
139        <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
140        <permission name="android.permission.REQUEST_INCIDENT_REPORT_APPROVAL"/>
141        <permission name="android.permission.APPROVE_INCIDENT_REPORTS"/>
142        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
143        <permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" />
144        <permission name="android.permission.PACKAGE_USAGE_STATS" />
145        <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" />
146    </privapp-permissions>
147
148    <privapp-permissions package="com.android.phone">
149        <permission name="android.permission.ACCESS_IMS_CALL_SERVICE"/>
150        <permission name="android.permission.BIND_CARRIER_MESSAGING_SERVICE"/>
151        <permission name="android.permission.BIND_CARRIER_SERVICES"/>
152        <permission name="android.permission.BIND_CELL_BROADCAST_SERVICE"/>
153        <permission name="android.permission.BIND_IMS_SERVICE"/>
154        <permission name="android.permission.BIND_TELEPHONY_DATA_SERVICE"/>
155        <permission name="android.permission.BIND_VISUAL_VOICEMAIL_SERVICE"/>
156        <permission name="android.permission.CALL_PRIVILEGED"/>
157        <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
158        <permission name="android.permission.CHANGE_CONFIGURATION"/>
159        <permission name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST"/>
160        <permission name="android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS"/>
161        <permission name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
162        <permission name="android.permission.DUMP"/>
163        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
164        <permission name="android.permission.LOCAL_MAC_ADDRESS"/>
165        <permission name="android.permission.MANAGE_USERS"/>
166        <permission name="android.permission.MODIFY_PHONE_STATE"/>
167        <permission name="android.permission.PACKAGE_USAGE_STATS"/>
168        <permission name="android.permission.PERFORM_CDMA_PROVISIONING"/>
169        <permission name="android.permission.READ_CARRIER_APP_INFO"/>
170        <permission name="android.permission.READ_NETWORK_USAGE_HISTORY"/>
171        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
172        <permission name="android.permission.READ_SEARCH_INDEXABLES"/>
173        <permission name="android.permission.REBOOT"/>
174        <permission name="android.permission.REGISTER_CALL_PROVIDER"/>
175        <permission name="android.permission.REGISTER_SIM_SUBSCRIPTION"/>
176        <permission name="android.permission.REGISTER_STATS_PULL_ATOM"/>
177        <permission name="android.permission.SEND_RESPOND_VIA_MESSAGE"/>
178        <permission name="android.permission.SET_TIME_ZONE"/>
179        <permission name="android.permission.SHUTDOWN"/>
180        <permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
181        <permission name="android.permission.STATUS_BAR"/>
182        <permission name="android.permission.STOP_APP_SWITCHES"/>
183        <permission name="android.permission.SUGGEST_TELEPHONY_TIME_AND_ZONE"/>
184        <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
185        <permission name="android.permission.UPDATE_DEVICE_STATS"/>
186        <permission name="android.permission.UPDATE_LOCK"/>
187        <permission name="android.permission.WRITE_APN_SETTINGS"/>
188        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
189        <permission name="android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS"/>
190        <permission name="android.permission.READ_PRECISE_PHONE_STATE"/>
191        <permission name="com.android.voicemail.permission.READ_VOICEMAIL"/>
192        <permission name="com.android.voicemail.permission.WRITE_VOICEMAIL"/>
193    </privapp-permissions>
194
195    <privapp-permissions package="com.android.providers.calendar">
196        <permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
197        <permission name="android.permission.INTERACT_ACROSS_USERS" />
198        <permission name="android.permission.MANAGE_USERS" />
199        <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
200        <permission name="android.permission.USE_RESERVED_DISK"/>
201    </privapp-permissions>
202
203    <privapp-permissions package="com.android.providers.contacts">
204        <permission name="android.permission.BIND_DIRECTORY_SEARCH"/>
205        <permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
206        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
207        <permission name="android.permission.MANAGE_USERS"/>
208        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
209        <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
210        <permission name="android.permission.USE_RESERVED_DISK"/>
211    </privapp-permissions>
212
213    <privapp-permissions package="com.android.providers.downloads">
214        <permission name="android.permission.ACCESS_CACHE_FILESYSTEM"/>
215        <permission name="android.permission.CLEAR_APP_CACHE"/>
216        <permission name="android.permission.CONNECTIVITY_INTERNAL"/>
217        <permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
218        <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
219        <permission name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
220        <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
221        <permission name="android.permission.UPDATE_DEVICE_STATS"/>
222    </privapp-permissions>
223
224    <privapp-permissions package="com.android.providers.media.module">
225        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
226        <permission name="android.permission.MANAGE_USERS"/>
227        <permission name="android.permission.USE_RESERVED_DISK"/>
228        <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
229        <permission name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
230        <permission name="android.permission.WATCH_APPOPS"/>
231        <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
232        <permission name="android.permission.UPDATE_DEVICE_STATS"/>
233        <!-- 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" />
236        <permission name="android.permission.REGISTER_STATS_PULL_ATOM" />
237    </privapp-permissions>
238
239    <privapp-permissions package="com.android.providers.telephony">
240        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
241        <permission name="android.permission.MODIFY_PHONE_STATE"/>
242        <permission name="android.permission.USE_RESERVED_DISK"/>
243        <!-- Permissions required for reading and logging compat changes -->
244        <permission name="android.permission.LOG_COMPAT_CHANGE" />
245        <permission name="android.permission.READ_COMPAT_CHANGE_CONFIG" />
246    </privapp-permissions>
247
248    <privapp-permissions package="com.android.networkstack">
249        <permission name="android.permission.ACCESS_NETWORK_CONDITIONS"/>
250        <permission name="android.permission.CONNECTIVITY_INTERNAL"/>
251        <permission name="android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS"/>
252        <permission name="android.permission.CONTROL_VPN"/>
253        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
254        <permission name="android.permission.LOCAL_MAC_ADDRESS"/>
255        <permission name="android.permission.MANAGE_SUBSCRIPTION_PLANS"/>
256        <permission name="android.permission.MANAGE_USB"/>
257        <permission name="android.permission.NETWORK_BYPASS_PRIVATE_DNS"/>
258        <permission name="android.permission.PACKET_KEEPALIVE_OFFLOAD"/>
259        <permission name="android.permission.READ_NETWORK_USAGE_HISTORY"/>
260        <permission name="android.permission.READ_PRECISE_PHONE_STATE"/>
261        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
262        <permission name="android.permission.READ_WIFI_CREDENTIAL"/>
263        <permission name="android.permission.RECEIVE_DATA_ACTIVITY_CHANGE"/>
264        <permission name="android.permission.TETHER_PRIVILEGED"/>
265        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
266    </privapp-permissions>
267
268    <privapp-permissions package="com.android.networkstack.tethering">
269        <permission name="android.permission.BLUETOOTH_PRIVILEGED" />
270        <permission name="android.permission.MANAGE_USB"/>
271        <permission name="android.permission.MODIFY_PHONE_STATE"/>
272        <permission name="android.permission.READ_NETWORK_USAGE_HISTORY"/>
273        <permission name="android.permission.TETHER_PRIVILEGED"/>
274        <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
275        <permission name="android.permission.UPDATE_DEVICE_STATS"/>
276    </privapp-permissions>
277
278    <privapp-permissions package="com.android.server.telecom">
279        <permission name="android.permission.BIND_CONNECTION_SERVICE"/>
280        <permission name="android.permission.BIND_INCALL_SERVICE"/>
281        <permission name="android.permission.CALL_PRIVILEGED"/>
282        <permission name="android.permission.HANDLE_CAR_MODE_CHANGES"/>
283        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
284        <permission name="android.permission.MANAGE_USERS"/>
285        <permission name="android.permission.MANAGE_ROLE_HOLDERS"/>
286        <permission name="android.permission.MODIFY_AUDIO_ROUTING" />
287        <permission name="android.permission.MODIFY_PHONE_STATE"/>
288        <permission name="android.permission.STOP_APP_SWITCHES"/>
289        <permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
290    </privapp-permissions>
291
292    <privapp-permissions package="com.android.sharedstoragebackup">
293        <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
294        <permission name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
295    </privapp-permissions>
296
297    <privapp-permissions package="com.android.shell">
298        <!-- Needed for test only -->
299        <permission name="android.permission.MODIFY_DAY_NIGHT_MODE"/>
300        <permission name="android.permission.ACCESS_LOWPAN_STATE"/>
301        <permission name="android.permission.BACKUP"/>
302        <permission name="android.permission.BATTERY_STATS"/>
303        <permission name="android.permission.BIND_APPWIDGET"/>
304        <permission name="android.permission.CHANGE_APP_IDLE_STATE"/>
305        <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
306        <permission name="android.permission.CHANGE_CONFIGURATION"/>
307        <permission name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST" />
308        <permission name="android.permission.CHANGE_LOWPAN_STATE"/>
309        <permission name="android.permission.CHANGE_OVERLAY_PACKAGES"/>
310        <permission name="android.permission.CLEAR_APP_CACHE"/>
311        <permission name="android.permission.ACCESS_INSTANT_APPS" />
312        <permission name="android.permission.CONNECTIVITY_INTERNAL"/>
313        <permission name="android.permission.DELETE_CACHE_FILES"/>
314        <permission name="android.permission.DELETE_PACKAGES"/>
315        <permission name="android.permission.DUMP"/>
316        <permission name="android.permission.ACTIVITY_EMBEDDING"/>
317        <permission name="android.permission.FORCE_STOP_PACKAGES"/>
318        <permission name="android.permission.GET_APP_OPS_STATS"/>
319        <permission name="android.permission.INSTALL_DYNAMIC_SYSTEM"/>
320        <permission name="android.permission.INSTALL_LOCATION_PROVIDER"/>
321        <permission name="android.permission.INSTALL_PACKAGES"/>
322        <!-- Needed for test only -->
323        <permission name="android.permission.INTERACT_ACROSS_PROFILES"/>
324        <!-- Permission required to test onPermissionsChangedListener -->
325        <permission name="android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS"/>
326        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
327        <permission name="android.permission.LOCAL_MAC_ADDRESS"/>
328        <permission name="android.permission.MANAGE_ACCESSIBILITY"/>
329        <permission name="android.permission.MANAGE_DEVICE_ADMINS"/>
330        <permission name="android.permission.MANAGE_ROLLBACKS"/>
331        <permission name="android.permission.MANAGE_USB"/>
332        <permission name="android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"/>
333        <permission name="android.permission.MODIFY_DAY_NIGHT_MODE"/>
334        <permission name="android.permission.MODIFY_PHONE_STATE"/>
335        <permission name="android.permission.MOUNT_FORMAT_FILESYSTEMS"/>
336        <permission name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
337        <permission name="android.permission.MOVE_PACKAGE"/>
338        <permission name="android.permission.OBSERVE_APP_USAGE"/>
339        <permission name="android.permission.NETWORK_SCAN"/>
340        <permission name="android.permission.PACKAGE_USAGE_STATS" />
341        <!-- Needed for test only -->
342        <permission name="android.permission.PACKET_KEEPALIVE_OFFLOAD" />
343        <permission name="android.permission.POWER_SAVER" />
344        <permission name="android.permission.READ_CARRIER_APP_INFO"/>
345        <permission name="android.permission.READ_FRAME_BUFFER"/>
346        <permission name="android.permission.READ_LOWPAN_CREDENTIAL"/>
347        <!-- Needed for test only -->
348        <permission name="android.permission.READ_PRECISE_PHONE_STATE" />
349        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
350        <permission name="android.permission.READ_WIFI_CREDENTIAL"/>
351        <permission name="android.permission.REAL_GET_TASKS"/>
352        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
353        <permission name="android.permission.REGISTER_CALL_PROVIDER"/>
354        <permission name="android.permission.REGISTER_CONNECTION_MANAGER"/>
355        <permission name="android.permission.REGISTER_SIM_SUBSCRIPTION"/>
356        <permission name="android.permission.RETRIEVE_WINDOW_CONTENT"/>
357        <permission name="android.permission.SET_ALWAYS_FINISH"/>
358        <permission name="android.permission.SET_ANIMATION_SCALE"/>
359        <permission name="android.permission.SET_DEBUG_APP"/>
360        <permission name="android.permission.SET_PROCESS_LIMIT"/>
361        <permission name="android.permission.SET_TIME"/>
362        <permission name="android.permission.SET_TIME_ZONE"/>
363        <permission name="android.permission.SIGNAL_PERSISTENT_PROCESSES"/>
364        <permission name="android.permission.STATUS_BAR"/>
365        <permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND" />
366        <permission name="android.permission.START_TASKS_FROM_RECENTS" />
367        <permission name="android.permission.STOP_APP_SWITCHES"/>
368        <permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
369        <permission name="android.permission.SUSPEND_APPS" />
370        <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
371        <permission name="android.permission.USE_RESERVED_DISK"/>
372        <permission name="android.permission.WIFI_UPDATE_USABILITY_STATS_SCORE"/>
373        <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
374        <permission name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
375        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
376        <permission name="android.permission.STATUS_BAR_SERVICE"/>
377        <permission name="android.permission.REQUEST_INCIDENT_REPORT_APPROVAL"/>
378        <permission name="android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS"/>
379        <permission name="android.permission.SET_WALLPAPER" />
380        <permission name="android.permission.SET_WALLPAPER_COMPONENT" />
381        <permission name="android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE" />
382        <!-- Permissions required for Incremental CTS tests -->
383        <permission name="com.android.permission.USE_INSTALLER_V2"/>
384        <permission name="android.permission.LOADER_USAGE_STATS"/>
385        <!-- Permission required to test system only camera devices. -->
386        <permission name="android.permission.SYSTEM_CAMERA" />
387        <!-- Permission required to test ExplicitHealthCheckServiceImpl. -->
388        <permission name="android.permission.BIND_EXPLICIT_HEALTH_CHECK_SERVICE"/>
389        <!-- Permission required for UiModeManager CTS test. -->
390        <permission name="android.permission.ENTER_CAR_MODE_PRIORITIZED"/>
391        <!-- Permission required for Telecom car mode CTS tests. -->
392        <permission name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
393        <!-- Permission required for Tethering CTS tests. -->
394        <permission name="android.permission.TETHER_PRIVILEGED"/>
395        <!-- Permissions required for ganting and logging -->
396        <permission name="android.permission.LOG_COMPAT_CHANGE" />
397        <permission name="android.permission.READ_COMPAT_CHANGE_CONFIG" />
398        <permission name="android.permission.OVERRIDE_COMPAT_CHANGE_CONFIG" />
399        <!-- Permissions required to test ambient display. -->
400        <permission name="android.permission.READ_DREAM_STATE" />
401        <permission name="android.permission.WRITE_DREAM_STATE" />
402        <!-- Permission required to test lights control APIs. -->
403        <permission name="android.permission.CONTROL_DEVICE_LIGHTS" />
404        <!-- Permission required for ShortcutManagerUsageTest CTS test. -->
405        <permission name="android.permission.ACCESS_SHORTCUTS"/>
406        <permission name="android.permission.REBOOT"/>
407        <!-- Permission required for access VIBRATOR_STATE. -->
408        <permission name="android.permission.ACCESS_VIBRATOR_STATE"/>
409        <!-- Permission required for UsageStatsTest CTS test. -->
410        <permission name="android.permission.MANAGE_NOTIFICATIONS"/>
411        <!-- Permission required for CompanionDeviceManager CTS test. -->
412        <permission name="android.permission.COMPANION_APPROVE_WIFI_CONNECTIONS" />
413        <!-- Permission required for testing registering pull atom callbacks. -->
414        <permission name="android.permission.REGISTER_STATS_PULL_ATOM"/>
415        <!-- Permission required for testing system audio effect APIs. -->
416        <permission name="android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS"/>
417        <!-- Permissions required for CTS test - TunerTest -->
418        <permission name="android.permission.ACCESS_TV_DESCRAMBLER" />
419        <permission name="android.permission.ACCESS_TV_TUNER" />
420        <permission name="android.permission.TUNER_RESOURCE_ACCESS" />
421        <!-- Permissions required for CTS test - TVInputManagerTest -->
422        <permission name="android.permission.TV_INPUT_HARDWARE" />
423        <!-- Permission required for CTS test - PrivilegedLocationPermissionTest -->
424        <permission name="android.permission.LOCATION_HARDWARE" />
425        <!-- Permissions required for GTS test - GtsDialerAudioTestCases -->
426        <permission name="android.permission.CAPTURE_AUDIO_OUTPUT" />
427        <!-- Permissions required for CTS test - AdbManagerTest -->
428        <permission name="android.permission.MANAGE_DEBUGGING" />
429    </privapp-permissions>
430
431    <privapp-permissions package="com.android.statementservice">
432        <permission name="android.permission.INTENT_FILTER_VERIFICATION_AGENT"/>
433    </privapp-permissions>
434
435    <privapp-permissions package="com.android.tv">
436        <permission name="android.permission.CHANGE_HDMI_CEC_ACTIVE_SOURCE"/>
437        <permission name="android.permission.DVB_DEVICE"/>
438        <permission name="android.permission.GLOBAL_SEARCH"/>
439        <permission name="android.permission.HDMI_CEC"/>
440        <permission name="android.permission.MODIFY_PARENTAL_CONTROLS"/>
441        <permission name="android.permission.READ_CONTENT_RATING_SYSTEMS"/>
442        <permission name="com.android.providers.tv.permission.ACCESS_ALL_EPG_DATA"/>
443        <permission name="com.android.providers.tv.permission.ACCESS_WATCHED_PROGRAMS"/>
444    </privapp-permissions>
445
446    <privapp-permissions package="com.android.vpndialogs">
447        <permission name="android.permission.CONTROL_VPN"/>
448    </privapp-permissions>
449
450    <privapp-permissions package="com.android.dynsystem">
451        <permission name="android.permission.REBOOT"/>
452        <permission name="android.permission.MANAGE_DYNAMIC_SYSTEM"/>
453        <permission name="android.permission.READ_OEM_UNLOCK_STATE"/>
454    </privapp-permissions>
455    <privapp-permissions package="com.android.settings">
456        <permission name="android.permission.INSTALL_DYNAMIC_SYSTEM"/>
457        <permission name="android.permission.BIND_CELL_BROADCAST_SERVICE"/>
458    </privapp-permissions>
459
460    <privapp-permissions package="com.android.bips">
461        <permission name="android.permission.SUBSTITUTE_SHARE_TARGET_APP_NAME_AND_ICON"/>
462    </privapp-permissions>
463</permissions>
464