• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <!-- Needed for Build.getSerial(), which is used to send a unique number for serial, per HUIG. -->
24    <privapp-permissions package="android.car.usb.handler">
25        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
26    </privapp-permissions>
27
28    <privapp-permissions package="com.android.angle">
29        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
30    </privapp-permissions>
31
32    <privapp-permissions package="com.android.apps.tag">
33        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
34    </privapp-permissions>
35
36    <privapp-permissions package="com.android.backupconfirm">
37        <permission name="android.permission.BACKUP"/>
38        <permission name="android.permission.CRYPT_KEEPER"/>
39    </privapp-permissions>
40
41    <privapp-permissions package="com.android.externalstorage">
42        <permission name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
43        <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
44        <permission name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
45    </privapp-permissions>
46
47    <privapp-permissions package="com.android.imsserviceentitlement">
48        <permission name="android.permission.MODIFY_PHONE_STATE" />
49        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
50    </privapp-permissions>
51
52    <privapp-permissions package="com.android.launcher3">
53        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
54    </privapp-permissions>
55
56    <privapp-permissions package="com.android.location.fused">
57        <permission name="android.permission.INSTALL_LOCATION_PROVIDER"/>
58        <permission name="android.permission.UPDATE_DEVICE_STATS"/>
59        <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
60    </privapp-permissions>
61
62    <privapp-permissions package="com.android.managedprovisioning">
63        <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
64        <permission name="android.permission.CHANGE_CONFIGURATION"/>
65        <permission name="android.permission.CONFIGURE_INTERACT_ACROSS_PROFILES"/>
66        <permission name="android.permission.CRYPT_KEEPER"/>
67        <permission name="android.permission.DELETE_PACKAGES"/>
68        <permission name="android.permission.INSTALL_PACKAGES"/>
69        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
70        <permission name="android.permission.MANAGE_DEVICE_ADMINS"/>
71        <permission name="android.permission.MANAGE_USERS"/>
72        <permission name="android.permission.MASTER_CLEAR"/>
73        <permission name="android.permission.NETWORK_MANAGED_PROVISIONING"/>
74        <permission name="android.permission.PERFORM_CDMA_PROVISIONING"/>
75        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
76        <permission name="android.permission.SET_TIME"/>
77        <permission name="android.permission.SET_TIME_ZONE"/>
78        <permission name="android.permission.SHUTDOWN"/>
79        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
80        <permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
81        <permission name="android.permission.START_FOREGROUND_SERVICES_FROM_BACKGROUND"/>
82    </privapp-permissions>
83
84    <privapp-permissions package="com.android.mms.service">
85        <permission name="android.permission.BIND_CARRIER_MESSAGING_SERVICE"/>
86        <permission name="android.permission.BIND_CARRIER_SERVICES"/>
87        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
88    </privapp-permissions>
89
90    <privapp-permissions package="com.android.mtp">
91        <permission name="android.permission.ACCESS_MTP"/>
92        <permission name="android.permission.MANAGE_USB"/>
93        <permission name="android.permission.MANAGE_USERS"/>
94        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
95        <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
96        <permission name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
97    </privapp-permissions>
98
99    <privapp-permissions package="com.android.musicfx">
100        <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
101    </privapp-permissions>
102
103    <privapp-permissions package="com.android.networkrecommendation">
104        <permission name="android.permission.SCORE_NETWORKS"/>
105        <permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
106        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
107    </privapp-permissions>
108
109    <privapp-permissions package="com.android.packageinstaller">
110        <permission name="android.permission.DELETE_PACKAGES"/>
111        <permission name="android.permission.INSTALL_PACKAGES"/>
112        <permission name="android.permission.USE_RESERVED_DISK"/>
113        <permission name="android.permission.MANAGE_USERS"/>
114        <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
115        <permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
116        <permission name="android.permission.PACKAGE_USAGE_STATS"/>
117    </privapp-permissions>
118
119    <privapp-permissions package="com.android.phone">
120        <permission name="android.permission.ACCESS_IMS_CALL_SERVICE"/>
121        <permission name="android.permission.BIND_CARRIER_MESSAGING_SERVICE"/>
122        <permission name="android.permission.BIND_CARRIER_SERVICES"/>
123        <permission name="android.permission.BIND_CELL_BROADCAST_SERVICE"/>
124        <permission name="android.permission.BIND_IMS_SERVICE"/>
125        <permission name="android.permission.BIND_SATELLITE_GATEWAY_SERVICE"/>
126        <permission name="android.permission.BIND_SATELLITE_SERVICE"/>
127        <permission name="android.permission.BIND_TELEPHONY_DATA_SERVICE"/>
128        <permission name="android.permission.BIND_VISUAL_VOICEMAIL_SERVICE"/>
129        <permission name="android.permission.CALL_PRIVILEGED"/>
130        <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
131        <permission name="android.permission.CHANGE_CONFIGURATION"/>
132        <permission name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST"/>
133        <permission name="android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS"/>
134        <permission name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
135        <permission name="android.permission.DUMP"/>
136        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
137        <permission name="android.permission.LOCAL_MAC_ADDRESS"/>
138        <permission name="android.permission.MANAGE_USERS"/>
139        <permission name="android.permission.MANAGE_SUBSCRIPTION_PLANS" />
140        <permission name="android.permission.MODIFY_PHONE_STATE"/>
141        <permission name="android.permission.PACKAGE_USAGE_STATS"/>
142        <permission name="android.permission.PERFORM_CDMA_PROVISIONING"/>
143        <permission name="android.permission.READ_CARRIER_APP_INFO"/>
144        <permission name="android.permission.READ_NETWORK_USAGE_HISTORY"/>
145        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
146        <permission name="android.permission.READ_PROJECTION_STATE"/>
147        <permission name="android.permission.READ_SEARCH_INDEXABLES"/>
148        <permission name="android.permission.REBOOT"/>
149        <permission name="android.permission.REGISTER_CALL_PROVIDER"/>
150        <permission name="android.permission.REGISTER_SIM_SUBSCRIPTION"/>
151        <permission name="android.permission.REGISTER_STATS_PULL_ATOM"/>
152        <permission name="android.permission.SEND_RESPOND_VIA_MESSAGE"/>
153        <permission name="android.permission.SHUTDOWN"/>
154        <permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
155        <permission name="android.permission.STATUS_BAR"/>
156        <permission name="android.permission.STOP_APP_SWITCHES"/>
157        <permission name="android.permission.SUGGEST_TELEPHONY_TIME_AND_ZONE"/>
158        <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
159        <permission name="android.permission.UPDATE_DEVICE_STATS"/>
160        <permission name="android.permission.UPDATE_LOCK"/>
161        <permission name="android.permission.WRITE_APN_SETTINGS"/>
162        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
163        <permission name="android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS"/>
164        <permission name="android.permission.READ_PRECISE_PHONE_STATE"/>
165        <permission name="com.android.voicemail.permission.READ_VOICEMAIL"/>
166        <permission name="com.android.voicemail.permission.WRITE_VOICEMAIL"/>
167        <permission name="android.permission.LOG_COMPAT_CHANGE"/>
168        <permission name="android.permission.READ_COMPAT_CHANGE_CONFIG"/>
169        <permission name="android.permission.UWB_PRIVILEGED"/>
170    </privapp-permissions>
171
172    <privapp-permissions package="com.android.providers.calendar">
173        <permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
174        <permission name="android.permission.INTERACT_ACROSS_USERS" />
175        <permission name="android.permission.MANAGE_USERS" />
176        <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
177        <permission name="android.permission.USE_RESERVED_DISK"/>
178        <permission name="android.permission.LOG_COMPAT_CHANGE" />
179        <permission name="android.permission.READ_COMPAT_CHANGE_CONFIG" />
180    </privapp-permissions>
181
182    <privapp-permissions package="com.android.providers.contacts">
183        <permission name="android.permission.BIND_DIRECTORY_SEARCH"/>
184        <permission name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST"/>
185        <permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
186        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
187        <permission name="android.permission.MANAGE_USERS"/>
188        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
189        <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
190        <permission name="android.permission.USE_RESERVED_DISK"/>
191        <permission name="android.permission.READ_COMPAT_CHANGE_CONFIG" />
192        <permission name="android.permission.LOG_COMPAT_CHANGE" />
193    </privapp-permissions>
194
195    <privapp-permissions package="com.android.providers.downloads">
196        <permission name="android.permission.ACCESS_CACHE_FILESYSTEM"/>
197        <permission name="android.permission.CLEAR_APP_CACHE"/>
198        <permission name="android.permission.CONNECTIVITY_INTERNAL"/>
199        <permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
200        <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
201        <permission name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
202        <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
203        <permission name="android.permission.UPDATE_DEVICE_STATS"/>
204        <permission name="android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS"/>
205    </privapp-permissions>
206
207    <privapp-permissions package="com.android.providers.telephony">
208        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
209        <permission name="android.permission.MODIFY_PHONE_STATE"/>
210        <permission name="android.permission.USE_RESERVED_DISK"/>
211        <!-- Permissions required for reading and logging compat changes -->
212        <permission name="android.permission.LOG_COMPAT_CHANGE" />
213        <permission name="android.permission.READ_COMPAT_CHANGE_CONFIG" />
214    </privapp-permissions>
215
216    <privapp-permissions package="com.android.server.telecom">
217        <permission name="android.permission.BIND_CONNECTION_SERVICE"/>
218        <permission name="android.permission.BIND_INCALL_SERVICE"/>
219        <permission name="android.permission.BLUETOOTH_PRIVILEGED"/>
220        <permission name="android.permission.CALL_PRIVILEGED"/>
221        <permission name="android.permission.HANDLE_CAR_MODE_CHANGES"/>
222        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
223        <permission name="android.permission.MANAGE_USERS"/>
224        <permission name="android.permission.MANAGE_ROLE_HOLDERS"/>
225        <permission name="android.permission.MODIFY_AUDIO_ROUTING" />
226        <permission name="android.permission.MODIFY_PHONE_STATE"/>
227        <permission name="android.permission.STOP_APP_SWITCHES"/>
228        <permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
229    </privapp-permissions>
230
231    <privapp-permissions package="com.android.sharedstoragebackup">
232        <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
233        <permission name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
234    </privapp-permissions>
235
236    <privapp-permissions package="com.android.shell">
237        <!-- Needed for test only -->
238        <permission name="android.permission.MANAGE_HEALTH_DATA"/>
239        <permission name="android.permission.LAUNCH_DEVICE_MANAGER_SETUP"/>
240        <permission name="android.permission.MODIFY_DAY_NIGHT_MODE"/>
241        <permission name="android.permission.ACCESS_LOWPAN_STATE"/>
242        <permission name="android.permission.BACKUP"/>
243        <!-- Needed for GMSCore Location API test only -->
244        <permission name="android.permission.LOCATION_BYPASS"/>
245        <!-- Needed for test only -->
246        <permission name="android.permission.BATTERY_PREDICTION"/>
247        <permission name="android.permission.BATTERY_STATS"/>
248        <!-- BLUETOOTH_PRIVILEGED is needed for test only -->
249        <permission name="android.permission.BLUETOOTH_PRIVILEGED"/>
250        <permission name="android.permission.BIND_APPWIDGET"/>
251        <permission name="android.permission.CHANGE_APP_IDLE_STATE"/>
252        <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
253        <permission name="android.permission.CHANGE_CONFIGURATION"/>
254        <permission name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST" />
255        <permission name="android.permission.CHANGE_LOWPAN_STATE"/>
256        <permission name="android.permission.CHANGE_OVERLAY_PACKAGES"/>
257        <permission name="android.permission.CLEAR_APP_CACHE"/>
258        <permission name="android.permission.ACCESS_INSTANT_APPS" />
259        <permission name="android.permission.CONNECTIVITY_INTERNAL"/>
260        <permission name="android.permission.CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS" />
261        <permission name="android.permission.DELETE_CACHE_FILES"/>
262        <permission name="android.permission.DELETE_PACKAGES"/>
263        <permission name="android.permission.DUMP"/>
264        <permission name="android.permission.CONTROL_UI_TRACING"/>
265        <permission name="android.permission.ACTIVITY_EMBEDDING"/>
266        <permission name="android.permission.FORCE_STOP_PACKAGES"/>
267        <permission name="android.permission.GET_APP_OPS_STATS"/>
268        <permission name="android.permission.WATCH_APPOPS"/>
269        <permission name="android.permission.INSTALL_DYNAMIC_SYSTEM"/>
270        <permission name="android.permission.INSTALL_LOCATION_PROVIDER"/>
271        <permission name="android.permission.INSTALL_PACKAGES"/>
272        <permission name="android.permission.INSTALL_PACKAGE_UPDATES"/>
273        <permission name="android.permission.KILL_ALL_BACKGROUND_PROCESSES"/>
274        <!-- Needed for test only -->
275        <permission name="android.permission.ACCESS_MTP"/>
276        <!-- Needed for test only -->
277        <permission name="android.permission.INTERACT_ACROSS_PROFILES"/>
278        <!-- Permission required to test onPermissionsChangedListener -->
279        <permission name="android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS"/>
280        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
281        <permission name="android.permission.QUERY_USERS"/>
282        <permission name="android.permission.LOCAL_MAC_ADDRESS"/>
283        <permission name="android.permission.MANAGE_ACCESSIBILITY"/>
284        <permission name="android.permission.MANAGE_DEVICE_ADMINS"/>
285        <permission name="android.permission.ACCESS_FPS_COUNTER"/>
286        <permission name="android.permission.MANAGE_GAME_MODE"/>
287        <permission name="android.permission.MANAGE_GAME_ACTIVITY" />
288        <permission name="android.permission.MANAGE_LOW_POWER_STANDBY" />
289        <permission name="android.permission.SET_LOW_POWER_STANDBY_PORTS" />
290        <permission name="android.permission.MANAGE_ROLLBACKS"/>
291        <permission name="android.permission.MANAGE_USB"/>
292        <!-- Needed for tests only -->
293        <permission name="android.permission.MANAGE_CLOUDSEARCH" />
294        <permission name="android.permission.MANAGE_WALLPAPER_EFFECTS_GENERATION" />
295        <permission name="android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"/>
296        <permission name="android.permission.MODIFY_DAY_NIGHT_MODE"/>
297        <permission name="android.permission.MODIFY_PHONE_STATE"/>
298        <permission name="android.permission.MOUNT_FORMAT_FILESYSTEMS"/>
299        <permission name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
300        <permission name="android.permission.MOVE_PACKAGE"/>
301        <!-- Needed for test only -->
302        <permission name="android.permission.RESTART_WIFI_SUBSYSTEM"/>
303        <permission name="android.permission.OBSERVE_APP_USAGE"/>
304        <permission name="android.permission.NETWORK_SCAN"/>
305        <permission name="android.permission.PACKAGE_USAGE_STATS" />
306        <!-- Needed for test only -->
307        <permission name="android.permission.PACKET_KEEPALIVE_OFFLOAD" />
308        <permission name="android.permission.POWER_SAVER" />
309        <!-- Needed for CTS tests -->
310        <permission name="android.permission.READ_ACTIVE_EMERGENCY_SESSION"/>
311        <permission name="android.permission.READ_CARRIER_APP_INFO"/>
312        <permission name="android.permission.READ_FRAME_BUFFER"/>
313        <permission name="android.permission.READ_LOWPAN_CREDENTIAL"/>
314        <!-- Needed for test only -->
315        <permission name="android.permission.READ_PRECISE_PHONE_STATE" />
316        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
317        <!-- Permission required for UiModeManager CTS test -->
318        <permission name="android.permission.READ_PROJECTION_STATE"/>
319        <permission name="android.permission.READ_WALLPAPER_INTERNAL"/>
320        <permission name="android.permission.READ_WIFI_CREDENTIAL"/>
321        <permission name="android.permission.REAL_GET_TASKS"/>
322        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
323        <permission name="android.permission.REGISTER_CALL_PROVIDER"/>
324        <permission name="android.permission.REGISTER_CONNECTION_MANAGER"/>
325        <permission name="android.permission.REGISTER_SIM_SUBSCRIPTION"/>
326        <permission name="android.permission.RETRIEVE_WINDOW_CONTENT"/>
327        <permission name="android.permission.SCHEDULE_EXACT_ALARM"/>
328        <permission name="android.permission.SET_ALWAYS_FINISH"/>
329        <permission name="android.permission.SET_ANIMATION_SCALE"/>
330        <permission name="android.permission.SET_DEBUG_APP"/>
331        <permission name="android.permission.SET_PROCESS_LIMIT"/>
332        <permission name="android.permission.SET_TIME"/>
333        <permission name="android.permission.SET_TIME_ZONE"/>
334        <permission name="android.permission.SIGNAL_PERSISTENT_PROCESSES"/>
335        <permission name="android.permission.STATUS_BAR"/>
336        <permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND" />
337        <permission name="android.permission.START_FOREGROUND_SERVICES_FROM_BACKGROUND" />
338        <permission name="android.permission.START_TASKS_FROM_RECENTS" />
339        <permission name="android.permission.STOP_APP_SWITCHES"/>
340        <permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
341        <permission name="android.permission.SUSPEND_APPS" />
342        <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
343        <permission name="android.permission.USE_RESERVED_DISK"/>
344        <permission name="android.permission.UWB_PRIVILEGED"/>
345        <permission name="android.permission.WIFI_UPDATE_USABILITY_STATS_SCORE"/>
346        <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
347        <permission name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
348        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
349        <permission name="android.permission.STATUS_BAR_SERVICE"/>
350        <permission name="android.permission.REQUEST_INCIDENT_REPORT_APPROVAL"/>
351        <permission name="android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS"/>
352        <permission name="android.permission.MANAGE_WEAK_ESCROW_TOKEN"/>
353        <permission name="android.permission.SET_WALLPAPER" />
354        <permission name="android.permission.SET_WALLPAPER_COMPONENT" />
355        <permission name="android.permission.SET_WALLPAPER_DIM_AMOUNT" />
356        <permission name="android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE" />
357        <!-- Permissions required for Incremental CTS tests -->
358        <permission name="com.android.permission.USE_INSTALLER_V2"/>
359        <permission name="android.permission.LOADER_USAGE_STATS"/>
360        <!-- Permissions required for Package Verifier tests -->
361        <permission name="android.permission.PACKAGE_VERIFICATION_AGENT" />
362        <!-- Permission required to test system only camera devices. -->
363        <permission name="android.permission.SYSTEM_CAMERA" />
364        <!-- Permission required to test ExplicitHealthCheckServiceImpl. -->
365        <permission name="android.permission.BIND_EXPLICIT_HEALTH_CHECK_SERVICE"/>
366        <!-- Permission required for UiModeManager CTS test. -->
367        <permission name="android.permission.ENTER_CAR_MODE_PRIORITIZED"/>
368        <!-- Permission required for Telecom car mode CTS tests. -->
369        <permission name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
370        <!-- Permission required for Tethering CTS tests. -->
371        <permission name="android.permission.TETHER_PRIVILEGED"/>
372        <!-- Permissions required for ganting and logging -->
373        <permission name="android.permission.LOG_COMPAT_CHANGE" />
374        <permission name="android.permission.READ_COMPAT_CHANGE_CONFIG" />
375        <permission name="android.permission.OVERRIDE_COMPAT_CHANGE_CONFIG" />
376        <permission name="android.permission.OVERRIDE_COMPAT_CHANGE_CONFIG_ON_RELEASE_BUILD" />
377        <!-- Permissions required to test ambient display. -->
378        <permission name="android.permission.READ_DREAM_STATE" />
379        <permission name="android.permission.WRITE_DREAM_STATE" />
380        <!-- Permission required to test lights control APIs. -->
381        <permission name="android.permission.CONTROL_DEVICE_LIGHTS" />
382        <!-- Permission required for ShortcutManagerUsageTest CTS test. -->
383        <permission name="android.permission.ACCESS_SHORTCUTS"/>
384        <permission name="android.permission.REBOOT"/>
385        <!-- Permission required for access VIBRATOR_STATE. -->
386        <permission name="android.permission.ACCESS_VIBRATOR_STATE"/>
387        <!-- Permission required for UsageStatsTest CTS test. -->
388        <permission name="android.permission.MANAGE_NOTIFICATIONS"/>
389        <!-- Permission required for CompanionDeviceManager CTS test. -->
390        <permission name="android.permission.COMPANION_APPROVE_WIFI_CONNECTIONS" />
391        <permission name="android.permission.MANAGE_COMPANION_DEVICES" />
392        <permission name="android.permission.REQUEST_COMPANION_PROFILE_APP_STREAMING" />
393        <permission name="android.permission.REQUEST_COMPANION_PROFILE_WATCH" />
394        <permission name="android.permission.REQUEST_COMPANION_PROFILE_NEARBY_DEVICE_STREAMING" />
395        <permission name="android.permission.REQUEST_COMPANION_PROFILE_COMPUTER" />
396        <permission name="android.permission.REQUEST_COMPANION_SELF_MANAGED" />
397        <!-- Permission required for testing registering pull atom callbacks. -->
398        <permission name="android.permission.REGISTER_STATS_PULL_ATOM"/>
399        <!-- Permission required for testing system audio effect APIs. -->
400        <permission name="android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS"/>
401        <!-- Permissions required for CTS test - TunerTest -->
402        <permission name="android.permission.ACCESS_TV_DESCRAMBLER" />
403        <permission name="android.permission.ACCESS_TV_SHARED_FILTER" />
404        <permission name="android.permission.ACCESS_TV_TUNER" />
405        <permission name="android.permission.TUNER_RESOURCE_ACCESS" />
406        <!-- Permissions required for CTS test - TVInputManagerTest -->
407        <permission name="android.permission.ACCESS_TUNED_INFO" />
408        <permission name="android.permission.TV_INPUT_HARDWARE" />
409        <permission name="android.permission.TIS_EXTENSION_INTERFACE" />
410        <permission name="com.android.providers.tv.permission.ACCESS_WATCHED_PROGRAMS" />
411        <permission name="com.android.providers.tv.permission.WRITE_EPG_DATA"/>
412        <!-- Permission required for CTS test - PrivilegedLocationPermissionTest -->
413        <permission name="android.permission.LOCATION_HARDWARE" />
414        <!-- Permissions required for GTS test - GtsDialerAudioTestCases -->
415        <permission name="android.permission.CAPTURE_AUDIO_OUTPUT" />
416        <!-- Permissions required for CTS test - AdbManagerTest -->
417        <permission name="android.permission.MANAGE_DEBUGGING" />
418        <!-- Permissions required for CTS test - TimeManagerTest -->
419        <permission name="android.permission.MANAGE_TIME_AND_ZONE_DETECTION" />
420        <permission name="android.permission.SUGGEST_EXTERNAL_TIME" />
421        <!-- Permissions required for CTS test - android.server.biometrics -->
422        <permission name="android.permission.USE_BIOMETRIC" />
423        <permission name="android.permission.TEST_BIOMETRIC" />
424        <!-- Permissions required for CTS test - CtsContactsProviderTestCases -->
425        <permission name="android.contacts.permission.MANAGE_SIM_ACCOUNTS" />
426        <!-- Permissions required for CTS test - CtsHdmiCecHostTestCases -->
427        <permission name="android.permission.HDMI_CEC"/>
428        <!-- Permission required for CTS test - MediaPlayerTest -->
429        <permission name="android.permission.BIND_IMS_SERVICE" />
430        <!-- Permission needed for CTS test - WifiManagerTest -->
431        <permission name="android.permission.WIFI_ACCESS_COEX_UNSAFE_CHANNELS" />
432        <permission name="android.permission.WIFI_UPDATE_COEX_UNSAFE_CHANNELS" />
433        <permission name="android.permission.NEARBY_WIFI_DEVICES" />
434        <permission name="android.permission.MANAGE_WIFI_INTERFACES" />
435        <permission name="android.permission.OVERRIDE_WIFI_CONFIG" />
436        <!-- Permission needed for CTS test - ConcurrencyTest#testP2pExternalApprover
437             P2P external approver API sets require MANAGE_WIFI_NETWORK_SELECTION permission. -->
438        <permission name="android.permission.MANAGE_WIFI_NETWORK_SELECTION" />
439        <!-- Permission needed for CTS test - ConcurrencyTest#testP2pSetWfdInfo -->
440        <permission name="android.permission.CONFIGURE_WIFI_DISPLAY" />
441        <!-- Permission required for CTS test CarrierMessagingServiceWrapperTest -->
442        <permission name="android.permission.BIND_CARRIER_SERVICES"/>
443        <!-- Permission required for CTS test - MusicRecognitionManagerTest -->
444        <permission name="android.permission.MANAGE_MUSIC_RECOGNITION" />
445        <!-- Permission required for CTS test - CallLogTest -->
446        <permission name="com.android.voicemail.permission.READ_VOICEMAIL"/>
447        <permission name="android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS"/>
448        <permission name="android.permission.MODIFY_QUIET_MODE" />
449        <!-- Permission required for GTS test - GtsAssistIntentTestCases -->
450        <permission name="android.permission.MANAGE_SOUND_TRIGGER" />
451        <permission name="android.permission.CAPTURE_AUDIO_HOTWORD" />
452        <!-- Permission required for CTS test - CtsRebootReadinessTestCases -->
453        <permission name="android.permission.SIGNAL_REBOOT_READINESS" />
454        <!-- Permission required for CTS test - PeopleManagerTest -->
455        <permission name="android.permission.READ_PEOPLE_DATA" />
456        <!-- Permission required for CTS test - UiTranslationManagerTest -->
457        <permission name="android.permission.MANAGE_UI_TRANSLATION" />
458        <!-- Permission required for CTS test - ClipboardManagerTest -->
459        <permission name="android.permission.SET_CLIP_SOURCE" />
460        <!-- Permission required for CTS test - FontManagerTest -->
461        <permission name="android.permission.UPDATE_FONTS" />
462        <!-- Permission required for hotword detection service CTS tests -->
463        <permission name="android.permission.MANAGE_HOTWORD_DETECTION" />
464        <permission name="android.permission.BIND_HOTWORD_DETECTION_SERVICE" />
465        <permission name="android.permission.BIND_VISUAL_QUERY_DETECTION_SERVICE" />
466        <permission name="android.permission.MANAGE_APP_HIBERNATION"/>
467        <!-- Permission required for CTS test - ResourceObserverNativeTest -->
468        <permission name="android.permission.REGISTER_MEDIA_RESOURCE_OBSERVER" />
469        <!-- Permission required for CTS test - MediaCodecResourceTest -->
470        <permission name="android.permission.MEDIA_RESOURCE_OVERRIDE_PID" />
471        <!-- Permission required for CTS test - CtsAlarmManagerTestCases -->
472        <permission name="android.permission.SCHEDULE_PRIORITIZED_ALARM" />
473        <!-- Permission required for CTS test - SystemMediaRouter2Test -->
474        <permission name="android.permission.MEDIA_CONTENT_CONTROL"/>
475        <permission name="android.permission.MODIFY_AUDIO_ROUTING"/>
476        <permission name="android.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED"/>
477        <!-- Permission required for CTS test - CallAudioInterceptionTest -->
478        <permission name="android.permission.CALL_AUDIO_INTERCEPTION"/>
479        <!-- Permission required for CTS test - CtsAttributionSourceTestCases -->
480        <permission name="android.permission.RENOUNCE_PERMISSIONS" />
481        <permission name="android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS" />
482        <permission name="android.permission.GET_PROCESS_STATE_AND_OOM_SCORE" />
483        <permission name="android.permission.READ_LOGS" />
484        <permission name="android.permission.BRIGHTNESS_SLIDER_USAGE" />
485        <permission name="android.permission.ACCESS_AMBIENT_LIGHT_STATS" />
486        <permission name="android.permission.CONFIGURE_DISPLAY_BRIGHTNESS" />
487        <permission name="android.permission.GET_TOP_ACTIVITY_INFO" />
488        <permission name="android.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER" />
489        <permission name="android.permission.SET_MEDIA_KEY_LISTENER" />
490        <permission name="android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS" />
491        <!-- Permission required for CTS test - CtsAlarmManagerTestCases -->
492        <permission name="android.permission.UPDATE_DEVICE_STATS" />
493        <!-- Permission required for GTS test - PendingSystemUpdateTest -->
494        <permission name="android.permission.NOTIFY_PENDING_SYSTEM_UPDATE" />
495        <!-- Permission required for GTS test - GtsAssistIntentTestCases -->
496        <permission name="android.permission.MANAGE_VOICE_KEYPHRASES" />
497        <!-- Permission required for test - CellBroadcastComplianceTest -->
498        <permission name="com.android.cellbroadcastservice.FULL_ACCESS_CELL_BROADCAST_HISTORY" />
499        <!-- Permission required for ATS test - CarDevicePolicyManagerTest -->
500        <permission name="android.permission.LOCK_DEVICE" />
501        <!-- Permissions required for CTS test - CtsSafetyCenterTestCases -->
502        <permission name="android.permission.SEND_SAFETY_CENTER_UPDATE" />
503        <permission name="android.permission.READ_SAFETY_CENTER_STATUS" />
504        <!-- Permission required for CTS test - CtsTelephonyTestCases -->
505        <permission name="android.permission.BIND_TELECOM_CONNECTION_SERVICE" />
506        <!-- Permission required for CTS test - CtsAppTestCases -->
507        <permission name="android.permission.CAPTURE_MEDIA_OUTPUT" />
508        <permission name="android.permission.CAPTURE_TUNER_AUDIO_INPUT" />
509        <permission name="android.permission.CAPTURE_VOICE_COMMUNICATION_OUTPUT" />
510        <permission name="android.permission.MODIFY_CELL_BROADCASTS" />
511        <!-- Permission required for CTS test - CtsBroadcastRadioTestCases -->
512        <permission name="android.permission.ACCESS_BROADCAST_RADIO"/>
513        <!-- Permission required for CTS test - CtsAmbientContextServiceTestCases -->
514        <permission name="android.permission.ACCESS_AMBIENT_CONTEXT_EVENT"/>
515        <!-- Permission required for CTS test - CtsTelephonyProviderTestCases -->
516        <permission name="android.permission.WRITE_APN_SETTINGS"/>
517        <!-- Permission required for GTS test - GtsStatsdHostTestCases -->
518        <permission name="android.permission.READ_RESTRICTED_STATS"/>
519        <!-- Permission required for CTS test -->
520        <permission name="android.permission.LOG_FOREGROUND_RESOURCE_USE"/>
521        <!-- Permission required for CTS test - CtsVoiceInteractionTestCases -->
522        <permission name="android.permission.SOUND_TRIGGER_RUN_IN_BATTERY_SAVER"/>
523        <!-- Permission required for CTS test - SatelliteManagerTest -->
524        <permission name="android.permission.SATELLITE_COMMUNICATION"/>
525        <!-- Permission required for GTS test - GtsAttestationVerificationDeviceSideTestCases -->
526        <permission name="android.permission.USE_ATTESTATION_VERIFICATION_SERVICE" />
527        <!-- Permission required for GTS test - GtsCredentialsTestCases -->
528        <permission name="android.permission.LAUNCH_CREDENTIAL_SELECTOR"/>
529        <!-- Permission required for CTS test IntentRedirectionTest -->
530        <permission name="android.permission.QUERY_CLONED_APPS"/>
531    </privapp-permissions>
532
533    <privapp-permissions package="com.android.statementservice">
534        <permission name="android.permission.INTENT_FILTER_VERIFICATION_AGENT"/>
535        <permission name="android.permission.DOMAIN_VERIFICATION_AGENT"/>
536        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
537    </privapp-permissions>
538
539    <privapp-permissions package="com.android.tv">
540        <permission name="android.permission.CHANGE_HDMI_CEC_ACTIVE_SOURCE"/>
541        <permission name="android.permission.DVB_DEVICE"/>
542        <permission name="android.permission.GLOBAL_SEARCH"/>
543        <permission name="android.permission.HDMI_CEC"/>
544        <permission name="android.permission.MODIFY_PARENTAL_CONTROLS"/>
545        <permission name="android.permission.READ_CONTENT_RATING_SYSTEMS"/>
546        <permission name="com.android.providers.tv.permission.ACCESS_ALL_EPG_DATA"/>
547        <permission name="com.android.providers.tv.permission.ACCESS_WATCHED_PROGRAMS"/>
548    </privapp-permissions>
549
550    <privapp-permissions package="com.android.vpndialogs">
551        <permission name="android.permission.CONTROL_VPN"/>
552    </privapp-permissions>
553
554    <privapp-permissions package="com.android.wallpaper.livepicker">
555        <permission name="android.permission.SET_WALLPAPER_COMPONENT"/>
556        <permission name="android.permission.BIND_WALLPAPER"/>
557    </privapp-permissions>
558
559    <privapp-permissions package="com.android.wallpaper">
560        <permission name="android.permission.SET_WALLPAPER_COMPONENT"/>
561        <permission name="android.permission.BIND_WALLPAPER"/>
562        <permission name="android.permission.CUSTOMIZE_SYSTEM_UI"/>
563    </privapp-permissions>
564
565    <privapp-permissions package="com.android.dynsystem">
566        <permission name="android.permission.REBOOT"/>
567        <permission name="android.permission.MANAGE_DYNAMIC_SYSTEM"/>
568        <permission name="android.permission.READ_OEM_UNLOCK_STATE"/>
569    </privapp-permissions>
570    <privapp-permissions package="com.android.settings">
571        <permission name="android.permission.INSTALL_DYNAMIC_SYSTEM"/>
572        <permission name="android.permission.BIND_CELL_BROADCAST_SERVICE"/>
573        <permission name="android.permission.READ_SAFETY_CENTER_STATUS" />
574        <permission name="android.permission.SEND_SAFETY_CENTER_UPDATE" />
575    </privapp-permissions>
576
577    <privapp-permissions package="com.android.bips">
578        <permission name="android.permission.SUBSTITUTE_SHARE_TARGET_APP_NAME_AND_ICON"/>
579    </privapp-permissions>
580
581    <privapp-permissions package="com.android.calllogbackup">
582        <permission name="com.android.voicemail.permission.READ_VOICEMAIL"/>
583    </privapp-permissions>
584</permissions>
585