1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* 4 * Copyright (C) 2015 The Android Open Source Project 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 */ 18--> 19<manifest xmlns:android="http://schemas.android.com/apk/res/android" 20 package="com.android.shell" 21 coreApp="true" 22 updatableSystem="false" 23 android:sharedUserId="android.uid.shell" 24 > 25 26 <!-- Standard permissions granted to the shell. --> 27 <uses-permission android:name="android.permission.CAMERA_HEADLESS_SYSTEM_USER" /> 28 <uses-permission android:name="android.permission.MANAGE_HEALTH_PERMISSIONS" /> 29 <uses-permission android:name="android.permission.MANAGE_HEALTH_DATA" /> 30 <uses-permission android:name="android.permission.health.READ_EXERCISE_ROUTE" /> 31 <uses-permission android:name="android.permission.MIGRATE_HEALTH_CONNECT_DATA" /> 32 <uses-permission android:name="android.permission.LAUNCH_DEVICE_MANAGER_SETUP" /> 33 <uses-permission android:name="android.permission.GET_RUNTIME_PERMISSIONS" /> 34 <uses-permission android:name="android.permission.SEND_SMS" /> 35 <uses-permission android:name="android.permission.READ_SMS" /> 36 <uses-permission android:name="android.permission.CALL_PHONE" /> 37 <uses-permission android:name="android.permission.READ_PHONE_STATE" /> 38 <uses-permission android:name="android.permission.READ_PRECISE_PHONE_STATE" /> 39 <uses-permission android:name="android.permission.READ_ACTIVE_EMERGENCY_SESSION" /> 40 <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" /> 41 <uses-permission android:name="android.permission.READ_CONTACTS" /> 42 <uses-permission android:name="android.permission.WRITE_CONTACTS" /> 43 <uses-permission android:name="android.permission.READ_CALENDAR" /> 44 <uses-permission android:name="android.permission.WRITE_CALENDAR" /> 45 <uses-permission android:name="android.permission.READ_CALL_LOG" /> 46 <uses-permission android:name="android.permission.WRITE_CALL_LOG" /> 47 <uses-permission android:name="android.permission.READ_USER_DICTIONARY" /> 48 <uses-permission android:name="android.permission.WRITE_USER_DICTIONARY" /> 49 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> 50 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> 51 <uses-permission android:name="android.permission.HIGH_SAMPLING_RATE_SENSORS" /> 52 <uses-permission android:name="android.permission.RECEIVE_SMS" /> 53 <uses-permission android:name="android.permission.RECEIVE_WAP_PUSH" /> 54 <uses-permission android:name="android.permission.RECEIVE_MMS" /> 55 <uses-permission android:name="android.permission.READ_CELL_BROADCASTS" /> 56 <uses-permission android:name="android.permission.SATELLITE_COMMUNICATION" /> 57 <uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" /> 58 <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" /> 59 <uses-permission android:name="android.permission.READ_PHONE_NUMBERS" /> 60 <uses-permission android:name="android.permission.USE_SIP" /> 61 <uses-permission android:name="android.permission.ANSWER_PHONE_CALLS" /> 62 <uses-permission android:name="android.permission.ACCEPT_HANDOVER" /> 63 <uses-permission android:name="android.permission.ACTIVITY_RECOGNITION" /> 64 <uses-permission android:name="android.permission.BODY_SENSORS" /> 65 <uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL" /> 66 <uses-permission android:name="android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS" /> 67 <uses-permission android:name="android.permission.GET_PROCESS_STATE_AND_OOM_SCORE" /> 68 <uses-permission android:name="android.permission.READ_LOGS" /> 69 <uses-permission android:name="android.permission.BRIGHTNESS_SLIDER_USAGE" /> 70 <uses-permission android:name="android.permission.ACCESS_AMBIENT_LIGHT_STATS" /> 71 <uses-permission android:name="android.permission.CONFIGURE_DISPLAY_BRIGHTNESS" /> 72 <uses-permission android:name="android.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER" /> 73 <uses-permission android:name="android.permission.SET_MEDIA_KEY_LISTENER" /> 74 <uses-permission android:name="android.permission.INSTANT_APP_FOREGROUND_SERVICE" /> 75 <uses-permission android:name="android.permission.MANAGE_OWN_CALLS" /> 76 <uses-permission android:name="android.permission.CALL_COMPANION_APP" /> 77 <uses-permission android:name="android.permission.USE_FINGERPRINT" /> 78 <uses-permission android:name="android.permission.READ_PROFILE" /> 79 <uses-permission android:name="android.permission.WRITE_PROFILE" /> 80 <uses-permission android:name="android.permission.READ_SOCIAL_STREAM" /> 81 <uses-permission android:name="android.permission.WRITE_SOCIAL_STREAM" /> 82 <uses-permission android:name="android.permission.WRITE_SMS" /> 83 <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" /> 84 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /> 85 <uses-permission android:name="android.permission.USE_CREDENTIALS" /> 86 <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_READ" /> 87 <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE" /> 88 <uses-permission android:name="android.permission.FLASHLIGHT" /> 89 <uses-permission android:name="android.permission.INTERNET" /> 90 <uses-permission android:name="android.permission.NFC" /> 91 <uses-permission android:name="android.permission.NFC_TRANSACTION_EVENT" /> 92 <uses-permission android:name="android.permission.NFC_PREFERRED_PAYMENT_INFO" /> 93 <uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" /> 94 <uses-permission android:name="android.permission.TRANSMIT_IR" /> 95 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> 96 <uses-permission android:name="android.permission.REQUEST_PASSWORD_COMPLEXITY" /> 97 <uses-permission android:name="android.permission.GET_TASKS" /> 98 <uses-permission android:name="android.permission.RESTART_PACKAGES" /> 99 <uses-permission android:name="android.permission.REQUEST_COMPANION_RUN_IN_BACKGROUND" /> 100 <uses-permission android:name="android.permission.REQUEST_COMPANION_USE_DATA_IN_BACKGROUND" /> 101 <uses-permission android:name="android.permission.HIDE_OVERLAY_WINDOWS" /> 102 <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" /> 103 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> 104 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> 105 <uses-permission android:name="android.permission.READ_SYNC_STATS" /> 106 <uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS" /> 107 <uses-permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS" /> 108 <uses-permission android:name="com.android.alarm.permission.SET_ALARM" /> 109 <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" /> 110 <uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" /> 111 <uses-permission android:name="android.permission.PERSISTENT_ACTIVITY" /> 112 <uses-permission android:name="android.permission.GET_PACKAGE_SIZE" /> 113 <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> 114 <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" /> 115 <uses-permission android:name="android.permission.REQUEST_OBSERVE_COMPANION_DEVICE_PRESENCE" /> 116 <uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" /> 117 <uses-permission android:name="android.permission.ACCESS_NOTIFICATION_POLICY" /> 118 <uses-permission android:name="android.permission.READ_INSTALL_SESSIONS" /> 119 <uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" /> 120 <uses-permission android:name="android.permission.TRIGGER_LOST_MODE" /> 121 <!-- ACCESS_BACKGROUND_LOCATION is needed for testing purposes only. --> 122 <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" /> 123 <!-- ACCESS_MTP is needed for testing purposes only. --> 124 <uses-permission android:name="android.permission.ACCESS_MTP" /> 125 <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" /> 126 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 127 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> 128 <uses-permission android:name="android.permission.BLUETOOTH" /> 129 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> 130 <uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE" /> 131 <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" /> 132 <!-- BLUETOOTH_PRIVILEGED is needed for testing purposes only. --> 133 <uses-permission android:name="android.permission.BLUETOOTH_PRIVILEGED" /> 134 <uses-permission android:name="android.permission.BLUETOOTH_SCAN" /> 135 <uses-permission android:name="android.permission.LOCAL_MAC_ADDRESS" /> 136 <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" /> 137 <uses-permission android:name="android.permission.DISABLE_KEYGUARD" /> 138 <uses-permission android:name="android.permission.MANAGE_NETWORK_POLICY" /> 139 <uses-permission android:name="android.permission.MANAGE_USB" /> 140 <uses-permission android:name="android.permission.USE_RESERVED_DISK" /> 141 <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> 142 <!-- System tool permissions granted to the shell. --> 143 <uses-permission android:name="android.permission.REAL_GET_TASKS" /> 144 <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" /> 145 <uses-permission android:name="android.permission.REORDER_TASKS" /> 146 <uses-permission android:name="android.permission.REMOVE_TASKS" /> 147 <uses-permission android:name="android.permission.SET_ANIMATION_SCALE" /> 148 <uses-permission android:name="android.permission.SET_PREFERRED_APPLICATIONS" /> 149 <uses-permission android:name="android.permission.WRITE_SETTINGS" /> 150 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> 151 <uses-permission android:name="android.permission.LOCATION_BYPASS" /> 152 <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" /> 153 <uses-permission android:name="android.permission.WRITE_DEVICE_CONFIG" /> 154 <uses-permission android:name="android.permission.WRITE_ALLOWLISTED_DEVICE_CONFIG" /> 155 <uses-permission android:name="android.permission.READ_WRITE_SYNC_DISABLED_MODE_CONFIG" /> 156 <uses-permission android:name="android.permission.MONITOR_DEVICE_CONFIG_ACCESS" /> 157 <uses-permission android:name="android.permission.BROADCAST_STICKY" /> 158 <uses-permission android:name="android.permission.MANAGE_ACCESSIBILITY" /> 159 <!-- Development tool permissions granted to the shell. --> 160 <uses-permission android:name="android.permission.SET_DEBUG_APP" /> 161 <uses-permission android:name="android.permission.SET_PROCESS_LIMIT" /> 162 <uses-permission android:name="android.permission.SET_ALWAYS_FINISH" /> 163 <uses-permission android:name="android.permission.DUMP" /> 164 <uses-permission android:name="android.permission.CONTROL_UI_TRACING" /> 165 <uses-permission android:name="android.permission.SIGNAL_PERSISTENT_PROCESSES" /> 166 <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" /> 167 <uses-permission android:name="android.permission.KILL_ALL_BACKGROUND_PROCESSES" /> 168 <!-- Internal permissions granted to the shell. --> 169 <uses-permission android:name="android.permission.FORCE_BACK" /> 170 <uses-permission android:name="android.permission.BATTERY_STATS" /> 171 <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" /> 172 <uses-permission android:name="android.permission.REPORT_USAGE_STATS" /> 173 <uses-permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW" /> 174 <uses-permission android:name="android.permission.INJECT_EVENTS" /> 175 <uses-permission android:name="android.permission.RETRIEVE_WINDOW_CONTENT" /> 176 <uses-permission android:name="android.permission.SET_ACTIVITY_WATCHER" /> 177 <uses-permission android:name="android.permission.READ_INPUT_STATE" /> 178 <uses-permission android:name="android.permission.SET_ORIENTATION" /> 179 <uses-permission android:name="android.permission.INSTALL_PACKAGES" /> 180 <uses-permission android:name="android.permission.INSTALL_PACKAGE_UPDATES" /> 181 <uses-permission android:name="android.permission.ENFORCE_UPDATE_OWNERSHIP" /> 182 <uses-permission android:name="android.permission.INSTALL_DPC_PACKAGES" /> 183 <uses-permission android:name="com.android.permission.USE_INSTALLER_V2" /> 184 <uses-permission android:name="android.permission.INSTALL_TEST_ONLY_PACKAGE" /> 185 <uses-permission android:name="com.android.permission.USE_SYSTEM_DATA_LOADERS" /> 186 <uses-permission android:name="android.permission.PACKAGE_VERIFICATION_AGENT" /> 187 <uses-permission android:name="android.permission.MOVE_PACKAGE" /> 188 <uses-permission android:name="android.permission.KEEP_UNINSTALLED_PACKAGES" /> 189 <uses-permission android:name="android.permission.CLEAR_APP_USER_DATA" /> 190 <uses-permission android:name="android.permission.CLEAR_APP_CACHE" /> 191 <uses-permission android:name="android.permission.ACCESS_INSTANT_APPS" /> 192 <uses-permission android:name="android.permission.DELETE_CACHE_FILES" /> 193 <uses-permission android:name="android.permission.DELETE_PACKAGES" /> 194 <uses-permission android:name="android.permission.MANAGE_ROLLBACKS" /> 195 <uses-permission android:name="android.permission.TEST_MANAGE_ROLLBACKS" /> 196 <uses-permission android:name="android.permission.ACCESS_SURFACE_FLINGER" /> 197 <uses-permission android:name="android.permission.CAPTURE_VIDEO_OUTPUT" /> 198 <uses-permission android:name="android.permission.READ_FRAME_BUFFER" /> 199 <uses-permission android:name="android.permission.REBOOT" /> 200 <uses-permission android:name="android.permission.DEVICE_POWER" /> 201 <uses-permission android:name="android.permission.POWER_SAVER" /> 202 <uses-permission android:name="android.permission.BATTERY_PREDICTION" /> 203 <uses-permission android:name="android.permission.INSTALL_LOCATION_PROVIDER" /> 204 <uses-permission android:name="android.permission.BACKUP" /> 205 <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES" /> 206 <uses-permission android:name="android.permission.STOP_APP_SWITCHES" /> 207 <uses-permission android:name="android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY" /> 208 <uses-permission android:name="android.permission.GRANT_RUNTIME_PERMISSIONS" /> 209 <uses-permission android:name="android.permission.REVOKE_RUNTIME_PERMISSIONS" /> 210 <uses-permission android:name="android.permission.MANAGE_ONE_TIME_PERMISSION_SESSIONS" /> 211 <uses-permission android:name="android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS" /> 212 <uses-permission android:name="android.permission.WHITELIST_RESTRICTED_PERMISSIONS" /> 213 <uses-permission android:name="android.permission.EMERGENCY_INSTALL_PACKAGES" /> 214 <!-- Permission required for processes that don't own the focused window to switch 215 touch mode state --> 216 <uses-permission android:name="android.permission.MODIFY_TOUCH_MODE_STATE" /> 217 <!-- Permission required to test onPermissionsChangedListener --> 218 <uses-permission android:name="android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS" /> 219 <uses-permission android:name="android.permission.SET_KEYBOARD_LAYOUT" /> 220 <uses-permission android:name="android.permission.GET_DETAILED_TASKS" /> 221 <uses-permission android:name="android.permission.SET_SCREEN_COMPATIBILITY" /> 222 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> 223 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 224 <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" /> 225 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> 226 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> 227 <uses-permission android:name="android.permission.CREATE_USERS" /> 228 <uses-permission android:name="android.permission.MANAGE_SUBSCRIPTION_USER_ASSOCIATION" /> 229 <uses-permission android:name="android.permission.QUERY_USERS" /> 230 <uses-permission android:name="android.permission.MANAGE_CREDENTIAL_MANAGEMENT_APP" /> 231 <uses-permission android:name="android.permission.MANAGE_DEVICE_ADMINS" /> 232 <uses-permission android:name="android.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS" /> 233 <uses-permission android:name="android.permission.PROVISION_DEMO_DEVICE" /> 234 <uses-permission android:name="android.permission.QUERY_ADMIN_POLICY" /> 235 <uses-permission android:name="android.permission.UPDATE_DEVICE_MANAGEMENT_RESOURCES" /> 236 <uses-permission android:name="android.permission.FORCE_DEVICE_POLICY_MANAGER_LOGS" /> 237 <uses-permission android:name="android.permission.CLEAR_FREEZE_PERIOD" /> 238 <uses-permission android:name="android.permission.MODIFY_QUIET_MODE" /> 239 <uses-permission android:name="android.permission.ACCESS_LOWPAN_STATE" /> 240 <uses-permission android:name="android.permission.CHANGE_LOWPAN_STATE" /> 241 <uses-permission android:name="android.permission.READ_LOWPAN_CREDENTIAL" /> 242 <uses-permission android:name="android.permission.BLUETOOTH_STACK" /> 243 <uses-permission android:name="android.permission.GET_ACCOUNTS" /> 244 <uses-permission android:name="android.permission.RETRIEVE_WINDOW_TOKEN" /> 245 <uses-permission android:name="android.permission.FRAME_STATS" /> 246 <uses-permission android:name="android.permission.BIND_APPWIDGET" /> 247 <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" /> 248 <uses-permission android:name="android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS" /> 249 <uses-permission android:name="android.permission.CHANGE_APP_IDLE_STATE" /> 250 <uses-permission android:name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST" /> 251 <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" /> 252 <uses-permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS" /> 253 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> 254 <!-- Permission required to test LauncherApps APIs for hidden profiles --> 255 <uses-permission android:name="android.permission.ACCESS_HIDDEN_PROFILES_FULL" /> 256 <!-- Shell only holds android.permission.NETWORK_SCAN in order to to enable CTS testing --> 257 <uses-permission android:name="android.permission.NETWORK_SCAN" /> 258 <uses-permission android:name="android.permission.REGISTER_CALL_PROVIDER" /> 259 <uses-permission android:name="android.permission.REGISTER_CONNECTION_MANAGER" /> 260 <uses-permission android:name="android.permission.REGISTER_SIM_SUBSCRIPTION" /> 261 <uses-permission android:name="android.permission.GET_APP_OPS_STATS" /> 262 <uses-permission android:name="android.permission.MANAGE_APP_OPS_MODES" /> 263 <uses-permission android:name="android.permission.VIBRATE" /> 264 <uses-permission android:name="android.permission.ACCESS_VIBRATOR_STATE" /> 265 <uses-permission android:name="android.permission.MANAGE_ACTIVITY_TASKS" /> 266 <uses-permission android:name="android.permission.START_TASKS_FROM_RECENTS" /> 267 <uses-permission android:name="android.permission.START_ACTIVITIES_FROM_BACKGROUND" /> 268 <uses-permission android:name="android.permission.START_FOREGROUND_SERVICES_FROM_BACKGROUND" /> 269 <uses-permission android:name="android.permission.ACTIVITY_EMBEDDING" /> 270 <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" /> 271 <uses-permission android:name="android.permission.MANAGE_CLOUDSEARCH" /> 272 <uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" /> 273 <uses-permission android:name="android.permission.MANAGE_AUTO_FILL" /> 274 <uses-permission android:name="android.permission.MANAGE_CONTENT_CAPTURE" /> 275 <uses-permission android:name="android.permission.MANAGE_CONTENT_SUGGESTIONS" /> 276 <uses-permission android:name="android.permission.MANAGE_APP_PREDICTIONS" /> 277 <uses-permission android:name="android.permission.MANAGE_LOW_POWER_STANDBY" /> 278 <uses-permission android:name="android.permission.SET_LOW_POWER_STANDBY_PORTS" /> 279 <uses-permission android:name="android.permission.MANAGE_SEARCH_UI" /> 280 <uses-permission android:name="android.permission.MANAGE_SMARTSPACE" /> 281 <uses-permission android:name="android.permission.MANAGE_WALLPAPER_EFFECTS_GENERATION" /> 282 <uses-permission android:name="android.permission.MANAGE_UI_TRANSLATION" /> 283 <uses-permission android:name="android.permission.NETWORK_SETTINGS" /> 284 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> 285 <uses-permission android:name="android.permission.SET_TIME" /> 286 <uses-permission android:name="android.permission.SET_TIME_ZONE" /> 287 <uses-permission android:name="android.permission.DISABLE_HIDDEN_API_CHECKS" /> 288 <uses-permission android:name="android.permission.MANAGE_ROLE_HOLDERS" /> 289 <uses-permission android:name="android.permission.MANAGE_DEFAULT_APPLICATIONS" /> 290 <uses-permission android:name="android.permission.BYPASS_ROLE_QUALIFICATION" /> 291 <uses-permission android:name="android.permission.OBSERVE_ROLE_HOLDERS" /> 292 <uses-permission android:name="android.permission.STATUS_BAR_SERVICE" /> 293 <uses-permission android:name="android.permission.STATUS_BAR" /> 294 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> 295 <!-- Permission needed to rename bugreport notifications (so they're not shown as Shell) --> 296 <uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" /> 297 <uses-permission android:name="android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE" /> 298 <!-- Permission needed to hold a wakelock in dumpstate.cpp (drop_root_user()) --> 299 <uses-permission android:name="android.permission.WAKE_LOCK" /> 300 <!-- Permission needed to enable/disable overlays --> 301 <uses-permission android:name="android.permission.CHANGE_OVERLAY_PACKAGES" /> 302 <!-- Permission needed to access privileged VR APIs --> 303 <uses-permission android:name="android.permission.RESTRICTED_VR_ACCESS" /> 304 <uses-permission android:name="android.permission.MANAGE_BIND_INSTANT_SERVICE" /> 305 <uses-permission android:name="android.permission.SET_HARMFUL_APP_WARNINGS" /> 306 <uses-permission android:name="android.permission.MANAGE_SENSORS" /> 307 <uses-permission android:name="android.permission.MANAGE_AUDIO_POLICY" /> 308 <uses-permission android:name="android.permission.QUERY_AUDIO_STATE" /> 309 <uses-permission android:name="android.permission.MANAGE_CAMERA" /> 310 <!-- Permissions needed to test system only camera devices --> 311 <uses-permission android:name="android.permission.CAMERA" /> 312 <uses-permission android:name="android.permission.BACKGROUND_CAMERA" /> 313 <uses-permission android:name="android.permission.SYSTEM_CAMERA" /> 314 <!-- Permissions needed to test onCameraOpened/Closed callbacks --> 315 <uses-permission android:name="android.permission.CAMERA_OPEN_CLOSE_LISTENER" /> 316 <!-- Permissions needed for CTS camera test: RecordingTest.java when assuming shell id --> 317 <uses-permission android:name="android.permission.RECORD_AUDIO" /> 318 <uses-permission android:name="android.permission.RECORD_BACKGROUND_AUDIO" /> 319 320 <!-- Permission needed to enable/disable Bluetooth/Wifi --> 321 <uses-permission android:name="android.permission.MANAGE_BLUETOOTH_WHEN_WIRELESS_CONSENT_REQUIRED" /> 322 <uses-permission android:name="android.permission.MANAGE_WIFI_WHEN_WIRELESS_CONSENT_REQUIRED" /> 323 <!-- Permission needed to invoke DynamicSystem (AOT) --> 324 <uses-permission android:name="android.permission.INSTALL_DYNAMIC_SYSTEM" /> 325 <!-- Used to clean up heap dumps on boot. --> 326 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> 327 328 329 <uses-permission android:name="android.permission.CONTROL_KEYGUARD" /> 330 <uses-permission android:name="android.permission.CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS" /> 331 <uses-permission android:name="android.permission.SUSPEND_APPS" /> 332 <uses-permission android:name="android.permission.QUARANTINE_APPS" /> 333 <uses-permission android:name="android.permission.OBSERVE_APP_USAGE" /> 334 <uses-permission android:name="android.permission.READ_CLIPBOARD_IN_BACKGROUND" /> 335 <!-- Permission needed to wipe the device for Test Harness Mode --> 336 <uses-permission android:name="android.permission.ENABLE_TEST_HARNESS_MODE" /> 337 338 <!-- Permission needed for CTS test - CompanionDeviceManagerTest --> 339 <uses-permission android:name="android.permission.COMPANION_APPROVE_WIFI_CONNECTIONS" /> 340 <uses-permission android:name="android.permission.MANAGE_COMPANION_DEVICES" /> 341 <uses-permission android:name="android.permission.REQUEST_COMPANION_PROFILE_APP_STREAMING" /> 342 <uses-permission android:name="android.permission.REQUEST_COMPANION_PROFILE_COMPUTER" /> 343 <uses-permission android:name="android.permission.REQUEST_COMPANION_PROFILE_AUTOMOTIVE_PROJECTION" /> 344 <uses-permission android:name="android.permission.REQUEST_COMPANION_PROFILE_NEARBY_DEVICE_STREAMING" /> 345 <uses-permission android:name="android.permission.REQUEST_COMPANION_PROFILE_WATCH" /> 346 <uses-permission android:name="android.permission.REQUEST_COMPANION_PROFILE_GLASSES" /> 347 <uses-permission android:name="android.permission.REQUEST_COMPANION_SELF_MANAGED" /> 348 <uses-permission android:name="android.permission.USE_COMPANION_TRANSPORTS" /> 349 <uses-permission android:name="android.permission.REQUEST_OBSERVE_DEVICE_UUID_PRESENCE" /> 350 <uses-permission android:name="android.permission.DELIVER_COMPANION_MESSAGES" /> 351 352 <uses-permission android:name="android.permission.MANAGE_APPOPS" /> 353 <uses-permission android:name="android.permission.WATCH_APPOPS" /> 354 355 <!-- Permission required for IncrementalLogCollectionTest --> 356 <uses-permission android:name="android.permission.LOADER_USAGE_STATS" /> 357 358 <!-- Permission required for storage tests - FuseDaemonHostTest --> 359 <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" /> 360 361 <!-- Permission needed to run network tests in CTS --> 362 <uses-permission android:name="android.permission.MANAGE_TEST_NETWORKS" /> 363 <!-- Permission needed to test tcp keepalive offload. --> 364 <uses-permission android:name="android.permission.PACKET_KEEPALIVE_OFFLOAD" /> 365 366 <!-- Permission needed for CTS test - UnsupportedErrorDialogTests --> 367 <uses-permission android:name="android.permission.RESET_APP_ERRORS" /> 368 369 <!-- Permission needed for CTS test - CtsSystemUiTestCases:PipNotificationTests --> 370 <uses-permission android:name="android.permission.GET_INTENT_SENDER_INTENT" /> 371 372 <!-- Permission needed to run keyguard manager tests in CTS --> 373 <uses-permission android:name="android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS" /> 374 375 <!-- Permission needed to add/remove weak escrow token in CTS tests --> 376 <uses-permission android:name="android.permission.MANAGE_WEAK_ESCROW_TOKEN" /> 377 378 <!-- Permission needed to set/clear/verify lockscreen credentials in CTS tests --> 379 <uses-permission android:name="android.permission.SET_AND_VERIFY_LOCKSCREEN_CREDENTIALS" /> 380 381 <!-- Permission needed to test wallpaper component --> 382 <uses-permission android:name="android.permission.SET_WALLPAPER" /> 383 <uses-permission android:name="android.permission.SET_WALLPAPER_COMPONENT" /> 384 385 <!-- Permission needed to test wallpaper dimming --> 386 <uses-permission android:name="android.permission.SET_WALLPAPER_DIM_AMOUNT" /> 387 388 <!-- Permission needed to test wallpapers supporting ambient mode --> 389 <uses-permission android:name="android.permission.AMBIENT_WALLPAPER" /> 390 391 <!-- Permission needed to test wallpaper read methods --> 392 <uses-permission android:name="android.permission.READ_WALLPAPER_INTERNAL" /> 393 394 <!-- Permission required to test ContentResolver caching. --> 395 <uses-permission android:name="android.permission.CACHE_CONTENT" /> 396 397 <!-- Permission required to test ExplicitHealthCheckServiceImpl. --> 398 <uses-permission android:name="android.permission.BIND_EXPLICIT_HEALTH_CHECK_SERVICE" /> 399 400 <!-- Permission required for CTS test - CrossProfileAppsHostSideTest --> 401 <uses-permission android:name="android.permission.INTERACT_ACROSS_PROFILES" /> 402 403 <!-- Permission required for CTS test - CrossProfileAppsHostSideTest --> 404 <uses-permission android:name="android.permission.START_CROSS_PROFILE_ACTIVITIES" /> 405 406 <!-- permissions required for CTS test - PhoneStateListenerTest --> 407 <uses-permission android:name="android.permission.LISTEN_ALWAYS_REPORTED_SIGNAL_STRENGTH" /> 408 409 <!-- Permissions required for granting and logging --> 410 <uses-permission android:name="android.permission.LOG_COMPAT_CHANGE" /> 411 <uses-permission android:name="android.permission.READ_COMPAT_CHANGE_CONFIG" /> 412 <uses-permission android:name="android.permission.OVERRIDE_COMPAT_CHANGE_CONFIG" /> 413 <uses-permission android:name="android.permission.OVERRIDE_COMPAT_CHANGE_CONFIG_ON_RELEASE_BUILD" /> 414 415 <!-- Permission required for CTS test - BatterySaverTest --> 416 <uses-permission android:name="android.permission.MODIFY_DAY_NIGHT_MODE" /> 417 418 <!-- Permission required for CTS test - UiModeManagerTest --> 419 <uses-permission android:name="android.permission.ENTER_CAR_MODE_PRIORITIZED" /> 420 <uses-permission android:name="android.permission.READ_PROJECTION_STATE" /> 421 422 <!-- Permission required for CTS tests - UiModeManagerTest, CarModeInCallServiceTest --> 423 <uses-permission android:name="android.permission.TOGGLE_AUTOMOTIVE_PROJECTION" /> 424 425 <!-- Permission required for CTS test - SystemConfigTest --> 426 <uses-permission android:name="android.permission.READ_CARRIER_APP_INFO" /> 427 428 <!-- Permission required for CTS test - CarModeInCallServiceTest --> 429 <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE" /> 430 431 <!-- Permission requried for CTS test - CellBroadcastIntentsTest --> 432 <uses-permission android:name="android.permission.GRANT_RUNTIME_PERMISSIONS_TO_TELEPHONY_DEFAULTS" /> 433 434 <!-- Permission required for CTS test - TetheringManagerTest --> 435 <uses-permission android:name="android.permission.TETHER_PRIVILEGED" /> 436 437 <!-- Permission required for CTS test - CtsOsTestCases --> 438 <uses-permission android:name="android.permission.MANAGE_CRATES" /> 439 440 <!-- Allows setting brightness from the shell --> 441 <uses-permission android:name="android.permission.CONTROL_DISPLAY_BRIGHTNESS" /> 442 443 <!-- Permission required for CTS test - ShortcutManagerUsageTest --> 444 <uses-permission android:name="android.permission.ACCESS_SHORTCUTS" /> 445 446 <!-- Permissions required for CTS test - UsageStatsTest --> 447 <uses-permission android:name="android.permission.MANAGE_NOTIFICATIONS" /> 448 <uses-permission android:name="android.permission.ACCESS_LOCUS_ID_USAGE_STATS" /> 449 450 <!-- Permission required for CTS test - CtsNfcResolverDerviceTest --> 451 <uses-permission android:name="android.permission.SHOW_CUSTOMIZED_RESOLVER" /> 452 453 <!-- Permission needed for CTS test - MusicRecognitionManagerTest --> 454 <uses-permission android:name="android.permission.MANAGE_MUSIC_RECOGNITION" /> 455 456 <!-- Permission needed for CTS test - CtsVoiceRecognitionTestCases --> 457 <uses-permission android:name="android.permission.MANAGE_SPEECH_RECOGNITION" /> 458 459 <!-- Permissions required to test ambient display. --> 460 <uses-permission android:name="android.permission.READ_DREAM_STATE" /> 461 <uses-permission android:name="android.permission.WRITE_DREAM_STATE" /> 462 463 <!-- Permission required for CTS test - CtsLightsManagerTest --> 464 <uses-permission android:name="android.permission.CONTROL_DEVICE_LIGHTS" /> 465 466 <!-- Permission needed to test mainline permission module rollback --> 467 <uses-permission android:name="android.permission.UPGRADE_RUNTIME_PERMISSIONS" /> 468 469 <!-- Permission needed to restart WiFi Subsystem --> 470 <uses-permission android:name="android.permission.RESTART_WIFI_SUBSYSTEM" /> 471 472 <!-- Permission needed to read wifi network credentials for CtsNetTestCases --> 473 <uses-permission android:name="android.permission.READ_WIFI_CREDENTIAL" /> 474 475 <!-- Permission needed to use wifi usability API's for CtsNetTestCases --> 476 <uses-permission android:name="android.permission.WIFI_UPDATE_USABILITY_STATS_SCORE" /> 477 478 <!-- Permission needed to test registering pull atom callbacks --> 479 <uses-permission android:name="android.permission.REGISTER_STATS_PULL_ATOM" /> 480 481 <!-- Permission needed to test querying restricted metrics --> 482 <uses-permission android:name="android.permission.READ_RESTRICTED_STATS" /> 483 484 <!-- Permission needed to modify settings overrideable by restore in CTS tests --> 485 <uses-permission android:name="android.permission.MODIFY_SETTINGS_OVERRIDEABLE_BY_RESTORE" /> 486 487 <!-- Permission required for testing system audio effect APIs. --> 488 <uses-permission android:name="android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS" /> 489 490 <!-- Permission required for running networking unit tests --> 491 <uses-permission android:name="android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS" /> 492 493 <!-- Permission required for CTS test - CtsHostsideNetworkTests --> 494 <uses-permission android:name="android.permission.OBSERVE_NETWORK_POLICY" /> 495 496 <!-- Permissions required for CTS test - TunerTest --> 497 <uses-permission android:name="android.permission.ACCESS_TV_DESCRAMBLER" /> 498 <uses-permission android:name="android.permission.ACCESS_TV_SHARED_FILTER" /> 499 <uses-permission android:name="android.permission.ACCESS_TV_TUNER" /> 500 <uses-permission android:name="android.permission.TUNER_RESOURCE_ACCESS" /> 501 502 <!-- Permissions required for CTS test - AutoRevokeTest --> 503 <uses-permission android:name="android.permission.WHITELIST_AUTO_REVOKE_PERMISSIONS" /> 504 505 <!-- Permissions needed to test shared libraries --> 506 <uses-permission android:name="android.permission.ACCESS_SHARED_LIBRARIES" /> 507 508 <!-- Permissions required for CTS test - TVInputManagerTest --> 509 <uses-permission android:name="android.permission.ACCESS_TUNED_INFO" /> 510 <uses-permission android:name="android.permission.TV_INPUT_HARDWARE" /> 511 <uses-permission android:name="android.permission.TIS_EXTENSION_INTERFACE" /> 512 <uses-permission android:name="com.android.providers.tv.permission.ACCESS_WATCHED_PROGRAMS" /> 513 <uses-permission android:name="com.android.providers.tv.permission.WRITE_EPG_DATA" /> 514 515 <!-- Permission needed for CTS test - PrivilegedLocationPermissionTest --> 516 <uses-permission android:name="android.permission.LOCATION_HARDWARE" /> 517 518 <!-- Permissions required for GTS test - GtsDialerAudioTestCases --> 519 <uses-permission android:name="android.permission.CAPTURE_AUDIO_OUTPUT" /> 520 521 <!-- Permissions required for CTS test - AdbManagerTest --> 522 <uses-permission android:name="android.permission.MANAGE_DEBUGGING" /> 523 524 <!-- Permission required for CTS test - CtsTelephonyTestCases --> 525 <uses-permission android:name="android.permission.ACCESS_RCS_USER_CAPABILITY_EXCHANGE" /> 526 527 <!-- Permission required for CTS test - CtsTelephonyTestCases --> 528 <uses-permission android:name="android.permission.PERFORM_IMS_SINGLE_REGISTRATION" /> 529 530 <!-- Permission needed for CTS test - DisplayTest --> 531 <uses-permission android:name="android.permission.OVERRIDE_DISPLAY_MODE_REQUESTS" /> 532 533 <!-- Permission needed for CTS test - MatchContentFrameRateTest --> 534 <uses-permission android:name="android.permission.MODIFY_REFRESH_RATE_SWITCHING_TYPE" /> 535 536 <!-- Permission needed for CTS test - DefaultDisplayModeTest --> 537 <uses-permission android:name="android.permission.MODIFY_USER_PREFERRED_DISPLAY_MODE" /> 538 539 <!-- Permission needed for CTS test - HdrConversionTest --> 540 <uses-permission android:name="android.permission.MODIFY_HDR_CONVERSION_MODE" /> 541 542 <!-- Permissions needed for manual testing telephony time zone detector behavior --> 543 <uses-permission android:name="android.permission.SUGGEST_TELEPHONY_TIME_AND_ZONE" /> 544 545 <!-- Permissions needed for CTS test - TimeManagerTest --> 546 <uses-permission android:name="android.permission.MANAGE_TIME_AND_ZONE_DETECTION" /> 547 <uses-permission android:name="android.permission.SUGGEST_EXTERNAL_TIME" /> 548 549 <!-- Permissions needed for CTS test - CtsLocaleManagerTestCases --> 550 <uses-permission android:name="android.permission.READ_APP_SPECIFIC_LOCALES" /> 551 552 <!-- Permissions needed for CTS test - CtsLocaleManagerTestCases --> 553 <uses-permission android:name="android.permission.SET_APP_SPECIFIC_LOCALECONFIG" /> 554 555 <!-- Permissions used for manual testing of time detection behavior. --> 556 <uses-permission android:name="android.permission.SUGGEST_MANUAL_TIME" /> 557 <uses-permission android:name="android.permission.SUGGEST_TELEPHONY_TIME" /> 558 <uses-permission android:name="android.permission.SUGGEST_NETWORK_TIME" /> 559 <uses-permission android:name="android.permission.SUGGEST_GNSS_TIME" /> 560 561 <!-- Permission required for CTS test - android.server.biometrics --> 562 <uses-permission android:name="android.permission.USE_BIOMETRIC" /> 563 564 <!-- Permission required for CTS test - android.server.biometrics --> 565 <uses-permission android:name="android.permission.TEST_BIOMETRIC" /> 566 567 <!-- Permission required for CTS test - android.server.biometrics --> 568 <uses-permission android:name="android.permission.SET_BIOMETRIC_DIALOG_ADVANCED" /> 569 570 <!-- Permissions required for CTS test - NotificationManagerTest --> 571 <uses-permission android:name="android.permission.MANAGE_NOTIFICATION_LISTENERS" /> 572 573 <!-- Permissions required for CTS test - NotificationManagerZenTest --> 574 <uses-permission android:name="android.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS" /> 575 576 <!-- Permissions required for CTS test - CtsContactsProviderTestCases --> 577 <uses-permission android:name="android.contacts.permission.MANAGE_SIM_ACCOUNTS" /> 578 <uses-permission android:name="android.permission.SET_DEFAULT_ACCOUNT_FOR_CONTACTS" /> 579 580 <!-- Permissions required for CTS test - CarrierMessagingServiceWrapprTest --> 581 <uses-permission android:name="android.permission.BIND_CARRIER_SERVICES" /> 582 583 <!-- Allows overriding the system's device state from the shell --> 584 <uses-permission android:name="android.permission.CONTROL_DEVICE_STATE" /> 585 586 <!-- Permissions required for CTS tests to close system dialogs --> 587 <uses-permission android:name="android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS" /> 588 589 <!-- Permissions required for CTS test - HideOverlayWindowsTest --> 590 <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> 591 <uses-permission android:name="android.permission.SYSTEM_APPLICATION_OVERLAY" /> 592 593 <!-- Permission required for CTS test - CtsHdmiCecHostTestCases --> 594 <uses-permission android:name="android.permission.HDMI_CEC" /> 595 596 <!-- Permission needed for CTS test - MediaPlayerTest --> 597 <uses-permission android:name="android.permission.BIND_IMS_SERVICE" /> 598 599 <!-- Permission needed for CTS test - WifiManagerTest --> 600 <uses-permission android:name="android.permission.WIFI_ACCESS_COEX_UNSAFE_CHANNELS" /> 601 <uses-permission android:name="android.permission.WIFI_UPDATE_COEX_UNSAFE_CHANNELS" /> 602 <uses-permission android:name="android.permission.NEARBY_WIFI_DEVICES" /> 603 <uses-permission android:name="android.permission.MANAGE_WIFI_INTERFACES" /> 604 <uses-permission android:name="android.permission.OVERRIDE_WIFI_CONFIG" /> 605 <!-- Permission needed for CTS test - ConcurrencyTest#testP2pExternalApprover 606 P2P external approver API sets require MANAGE_WIFI_NETWORK_SELECTION permission. --> 607 <uses-permission android:name="android.permission.MANAGE_WIFI_NETWORK_SELECTION" /> 608 <!-- Permission needed for CTS test - ConcurrencyTest#testP2pSetWfdInfo --> 609 <uses-permission android:name="android.permission.CONFIGURE_WIFI_DISPLAY" /> 610 611 <!-- Permission required for CTS test - CtsThreadNetworkTestCases --> 612 <uses-permission android:name="android.permission.THREAD_NETWORK_PRIVILEGED"/> 613 <!-- Permission required to access Thread network shell commands for testing --> 614 <uses-permission android:name="android.permission.THREAD_NETWORK_TESTING"/> 615 616 <!-- Permission required for CTS tests to enable/disable rate limiting toasts. --> 617 <uses-permission android:name="android.permission.MANAGE_TOAST_RATE_LIMITING" /> 618 619 <!-- Permission required for CTS to test sensor privacy behavior --> 620 <uses-permission android:name="android.permission.MANAGE_SENSOR_PRIVACY" /> 621 <uses-permission android:name="android.permission.OBSERVE_SENSOR_PRIVACY" /> 622 623 <!-- Permission needed for CTS test - CallLogTest --> 624 <uses-permission android:name="com.android.voicemail.permission.READ_VOICEMAIL" /> 625 626 <!-- Permission required for GTS test - GtsAssistIntentTestCases --> 627 <uses-permission android:name="android.permission.MANAGE_SOUND_TRIGGER" /> 628 <uses-permission android:name="android.permission.CAPTURE_AUDIO_HOTWORD" /> 629 <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> 630 <uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" /> 631 <uses-permission android:name="android.permission.BIND_RESUME_ON_REBOOT_SERVICE" /> 632 633 <!-- Permission required for CTS test - CtsRebootReadinessTestCases --> 634 <uses-permission android:name="android.permission.SIGNAL_REBOOT_READINESS" /> 635 636 <!-- Permission required for CTS test - PeopleManagerTest --> 637 <uses-permission android:name="android.permission.READ_PEOPLE_DATA" /> 638 639 <!-- Permission required for CTS test - CtsTaskFpsCallbackTestCases --> 640 <uses-permission android:name="android.permission.ACCESS_FPS_COUNTER" /> 641 642 <!-- Permission required for CTS test - CtsGameManagerTestCases --> 643 <uses-permission android:name="android.permission.MANAGE_GAME_MODE" /> 644 645 <!-- Permission required for CTS test - CtsGameServiceTestCases --> 646 <uses-permission android:name="android.permission.SET_GAME_SERVICE" /> 647 <uses-permission android:name="android.permission.MANAGE_GAME_ACTIVITY" /> 648 649 <!-- Permission required for CTS test - ClipboardManagerTest --> 650 <uses-permission android:name="android.permission.SET_CLIP_SOURCE" /> 651 652 <!-- Permission required for CTS test - CtsInputMethodTestCases --> 653 <uses-permission android:name="android.permission.TEST_INPUT_METHOD" /> 654 655 <!-- Permission required for CTS test - FontManagerTest --> 656 <uses-permission android:name="android.permission.UPDATE_FONTS" /> 657 658 <!-- Permission required for Launcher testing - DigitalWellbeingToastTest --> 659 <uses-permission android:name="android.permission.GET_TOP_ACTIVITY_INFO" /> 660 661 <!-- Permission required for hotword detection service CTS tests --> 662 <uses-permission android:name="android.permission.MANAGE_HOTWORD_DETECTION" /> 663 <uses-permission android:name="android.permission.BIND_HOTWORD_DETECTION_SERVICE" /> 664 665 <!-- Permission required for CTS test - CtsVoiceInteractionTestCases --> 666 <uses-permission android:name="android.permission.SOUND_TRIGGER_RUN_IN_BATTERY_SAVER" /> 667 668 <uses-permission android:name="android.permission.BIND_VISUAL_QUERY_DETECTION_SERVICE" /> 669 670 <!-- Permission required for CTS test - KeyguardLockedStateApiTest --> 671 <uses-permission android:name="android.permission.SUBSCRIBE_TO_KEYGUARD_LOCKED_STATE" /> 672 673 <uses-permission android:name="android.permission.MANAGE_APP_HIBERNATION" /> 674 675 <!-- Permission required for CTS test - MediaCodecResourceTest --> 676 <uses-permission android:name="android.permission.MEDIA_RESOURCE_OVERRIDE_PID" /> 677 678 <!-- Permission required for CTS test - ResourceObserverNativeTest --> 679 <uses-permission android:name="android.permission.REGISTER_MEDIA_RESOURCE_OBSERVER" /> 680 681 <!-- Permission required for CTS test - CtsAttributionSourceTestCases --> 682 <uses-permission android:name="android.permission.RENOUNCE_PERMISSIONS" /> 683 684 <!-- Permission required for CTS test - android.widget.cts.ToastTest --> 685 <uses-permission android:name="android.permission.UNLIMITED_TOASTS" /> 686 687 <!-- Permission required for CTS test - CtsAlarmManagerTestCases --> 688 <uses-permission android:name="android.permission.SCHEDULE_PRIORITIZED_ALARM" /> 689 690 <!-- Permission required for CTS test - SystemMediaRouter2Test --> 691 <uses-permission android:name="android.permission.MEDIA_CONTENT_CONTROL" /> 692 <uses-permission android:name="android.permission.MEDIA_ROUTING_CONTROL" /> 693 <uses-permission android:name="android.permission.MODIFY_AUDIO_ROUTING" /> 694 695 <!-- Permission required for CTS test - SoundDoseHelperTest --> 696 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS_PRIVILEGED" /> 697 698 <!-- Permission required for CTS test - CtsAmbientContextDetectionServiceDeviceTest --> 699 <uses-permission android:name="android.permission.ACCESS_AMBIENT_CONTEXT_EVENT" /> 700 701 <!-- Permission required for CTS test - CtsWearableSensingServiceTestCases --> 702 <uses-permission android:name="android.permission.MANAGE_WEARABLE_SENSING_SERVICE" /> 703 704 <!-- Permission required for CTS test - OnDeviceIntelligenceManagerTest --> 705 <uses-permission android:name="android.permission.USE_ON_DEVICE_INTELLIGENCE" /> 706 707 <!-- Permission required for CTS test - CallAudioInterceptionTest --> 708 <uses-permission android:name="android.permission.CALL_AUDIO_INTERCEPTION" /> 709 710 <!-- Permission required for CTS test - CtsRotationResolverServiceDeviceTestCases --> 711 <uses-permission android:name="android.permission.MANAGE_ROTATION_RESOLVER" /> 712 713 <!-- Permission required for CTS test - CtsUwbTestCases --> 714 <uses-permission android:name="android.permission.UWB_PRIVILEGED" /> 715 <uses-permission android:name="android.permission.UWB_RANGING" /> 716 717 <!-- Permission required for CTS test - CtsAlarmManagerTestCases --> 718 <uses-permission android:name="android.permission.UPDATE_DEVICE_STATS" /> 719 720 <!-- Permission required for CTS test - GlobalSearchSessionPlatformCtsTests --> 721 <uses-permission android:name="android.permission.READ_GLOBAL_APP_SEARCH_DATA" /> 722 723 <!-- Permission required for GTS test - PendingSystemUpdateTest --> 724 <uses-permission android:name="android.permission.NOTIFY_PENDING_SYSTEM_UPDATE" /> 725 726 <!-- Permission required to run the `vm` tool which manages on-device virtual machines --> 727 <uses-permission android:name="android.permission.MANAGE_VIRTUAL_MACHINE" /> 728 <uses-permission android:name="android.permission.USE_CUSTOM_VIRTUAL_MACHINE" /> 729 <uses-permission android:name="android.permission.DEBUG_VIRTUAL_MACHINE" /> 730 731 <!-- Permission required to run GtsAssistantTestCases --> 732 <uses-permission android:name="android.permission.MANAGE_VOICE_KEYPHRASES" /> 733 734 <!-- Permission required for CTS test - SettingsMultiPaneDeepLinkTest --> 735 <uses-permission android:name="android.permission.LAUNCH_MULTI_PANE_SETTINGS_DEEP_LINK" /> 736 737 <!-- Permission required for ATS test - CarDevicePolicyManagerTest --> 738 <uses-permission android:name="android.permission.LOCK_DEVICE" /> 739 740 <!-- Permissions required for CTS test - CtsSafetyCenterTestCases --> 741 <uses-permission android:name="android.permission.SEND_SAFETY_CENTER_UPDATE" /> 742 <uses-permission android:name="android.permission.READ_SAFETY_CENTER_STATUS" /> 743 <uses-permission android:name="android.permission.MANAGE_SAFETY_CENTER" /> 744 745 <!-- Permissions required for CTS test - CtsVirtualDevicesTestCases --> 746 <uses-permission android:name="android.permission.CREATE_VIRTUAL_DEVICE" /> 747 <uses-permission android:name="android.permission.ADD_TRUSTED_DISPLAY" /> 748 <uses-permission android:name="android.permission.ADD_ALWAYS_UNLOCKED_DISPLAY" /> 749 750 751 <!-- Permission required for CTS test - Notification test suite --> 752 <uses-permission android:name="android.permission.REVOKE_POST_NOTIFICATIONS_WITHOUT_KILL" /> 753 754 <!-- Permission required for test - CellBroadcastComplianceTest --> 755 <uses-permission android:name="com.android.cellbroadcastservice.FULL_ACCESS_CELL_BROADCAST_HISTORY" /> 756 757 <!-- Permission required for CTS test - CaptioningManagerTest --> 758 <uses-permission android:name="android.permission.SET_SYSTEM_AUDIO_CAPTION" /> 759 760 <!-- Permission required for CTS test - CtsTelephonyTestCases --> 761 <uses-permission android:name="android.permission.BIND_TELECOM_CONNECTION_SERVICE" /> 762 <uses-permission android:name="android.permission.MODIFY_CELL_BROADCASTS" /> 763 <uses-permission android:name="android.permission.SATELLITE_COMMUNICATION" /> 764 <uses-permission android:name="android.permission.ACCESS_LAST_KNOWN_CELL_ID" /> 765 766 <!-- Permission required for CTS test - CtsPersistentDataBlockManagerTestCases --> 767 <uses-permission android:name="android.permission.ACCESS_PDB_STATE" /> 768 769 <!-- Permission required for CTS test - CtsAppEnumerationTestCases --> 770 <uses-permission android:name="android.permission.MAKE_UID_VISIBLE" /> 771 772 <!-- Permission required for CTS test - CtsInputTestCases --> 773 <uses-permission android:name="android.permission.ASSOCIATE_INPUT_DEVICE_TO_DISPLAY" /> 774 775 <!-- Permission required for CTS test - CtsDevicePolicyManagerTestCases --> 776 <uses-permission android:name="android.permission.READ_NEARBY_STREAMING_POLICY" /> 777 778 <!-- Permission required for CTS test - CtsDevicePolicyTestCases --> 779 <uses-permission android:name="android.permission.MANAGE_DEVICE_POLICY_AUDIT_LOGGING" /> 780 781 <!-- Permission required for CTS test - CtsKeystoreTestCases --> 782 <uses-permission android:name="android.permission.REQUEST_UNIQUE_ID_ATTESTATION" /> 783 784 <!-- Permission required for CTS test - CtsWindowManagerDeviceTestCases--> 785 <uses-permission android:name="android.permission.UPDATE_LOCK_TASK_PACKAGES" /> 786 787 <!-- Permission required for CTS test - ActivityPermissionRationaleTest --> 788 <uses-permission android:name="android.permission.ADJUST_RUNTIME_PERMISSIONS_POLICY" /> 789 790 <!-- Permission required for CTS test - CtsDeviceLockTestCases --> 791 <uses-permission android:name="android.permission.MANAGE_DEVICE_LOCK_STATE" /> 792 793 <!-- Permission required for CTS test - CtsAppFgsTestCases --> 794 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_CAMERA" /> 795 796 <!-- Permission required for CTS test - CtsAppFgsTestCases --> 797 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_CONNECTED_DEVICE" /> 798 799 <!-- Permission required for CTS test - CtsAppFgsTestCases --> 800 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" /> 801 802 <!-- Permission required for CTS test - CtsAppFgsTestCases --> 803 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION" /> 804 805 <!-- Permission required for CTS test - CtsAppFgsTestCases --> 806 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" /> 807 808 <!-- Permission required for CTS test - CtsAppFgsTestCases --> 809 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" /> 810 811 <!-- Permission required for CTS test - CtsAppFgsTestCases --> 812 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MICROPHONE" /> 813 814 <!-- Permission required for CTS test - CtsAppFgsTestCases --> 815 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_PHONE_CALL" /> 816 817 <!-- Permission required for CTS test - CtsAppFgsTestCases --> 818 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_HEALTH" /> 819 820 <!-- Permission required for CTS test - CtsAppFgsTestCases --> 821 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_REMOTE_MESSAGING" /> 822 823 <!-- Permission required for CTS test - CtsAppFgsTestCases --> 824 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SYSTEM_EXEMPTED" /> 825 826 <!-- Permission required for CTS test - CtsAppFgsTestCases --> 827 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_FILE_MANAGEMENT" /> 828 829 <!-- Permission required for CTS test - CtsAppFgsTestCases --> 830 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROCESSING" /> 831 832 <!-- Permission required for CTS test - CtsAppFgsTestCases --> 833 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" /> 834 835 <!-- Permissions required for CTS test - CtsAppFgsTestCases --> 836 <uses-permission android:name="android.permission.CAPTURE_MEDIA_OUTPUT" /> 837 838 <!-- Permissions required for CTS test - CtsAppFgsTestCases --> 839 <uses-permission android:name="android.permission.CAPTURE_TUNER_AUDIO_INPUT" /> 840 841 <!-- Permissions required for CTS test - CtsAppFgsTestCases --> 842 <uses-permission android:name="android.permission.CAPTURE_VOICE_COMMUNICATION_OUTPUT" /> 843 844 <!-- Permissions required for CTS test - CtsAppFgsTestCases --> 845 <uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" /> 846 847 <!-- Permissions required for CTS test - CtsAppFgsTestCases --> 848 <uses-permission android:name="android.permission.USE_EXACT_ALARM" /> 849 850 <!-- Permission required for CTS test - CtsHardwareTestCases --> 851 <uses-permission android:name="android.permission.REMAP_MODIFIER_KEYS" /> 852 853 <!-- Permission required for CTS test - ApplicationExemptionsTests --> 854 <uses-permission android:name="android.permission.MANAGE_DEVICE_POLICY_APP_EXEMPTIONS" /> 855 856 <!-- Permission required for CTS test - CtsPackageInstallTestCases--> 857 <uses-permission android:name="android.permission.GET_APP_METADATA" /> 858 859 <!-- Permission required for CTS test - CtsHealthConnectDeviceTestCases --> 860 <uses-permission android:name="android.permission.DELETE_STAGED_HEALTH_CONNECT_REMOTE_DATA" /> 861 <uses-permission android:name="android.permission.STAGE_HEALTH_CONNECT_REMOTE_DATA" /> 862 863 <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> 864 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SYSTEM_EXEMPTED" /> 865 866 <!-- Permissions required for CTS test - CtsBroadcastRadioTestCases --> 867 <uses-permission android:name="android.permission.ACCESS_BROADCAST_RADIO" /> 868 869 <!-- Permission required for CTS test - ActivityCaptureCallbackTests --> 870 <uses-permission android:name="android.permission.DETECT_SCREEN_CAPTURE" /> 871 872 <!-- Permission required for CTS test - CtsTelephonyProviderTestCases --> 873 <uses-permission android:name="android.permission.WRITE_APN_SETTINGS" /> 874 <uses-permission android:name="android.permission.WRITE_BLOCKED_NUMBERS" /> 875 <uses-permission android:name="android.permission.READ_BLOCKED_NUMBERS" /> 876 877 <uses-permission android:name="android.permission.LOG_FOREGROUND_RESOURCE_USE" /> 878 879 <!-- Permission required for CTS test - CtsPackageInstallTestCases --> 880 <uses-permission android:name="android.permission.READ_INSTALLED_SESSION_PATHS" /> 881 882 <!-- Permission required for GTS test - GtsAttestationVerificationDeviceSideTestCases --> 883 <uses-permission android:name="android.permission.USE_ATTESTATION_VERIFICATION_SERVICE" /> 884 885 <!-- Permission required for GTS test - GtsCredentialsTestCases --> 886 <uses-permission android:name="android.permission.LAUNCH_CREDENTIAL_SELECTOR" /> 887 <!-- Permission required for CTS test IntentRedirectionTest --> 888 <uses-permission android:name="android.permission.QUERY_CLONED_APPS" /> 889 <!-- Permission required for adb display commands `enable-display` and `disable-display`. --> 890 <uses-permission android:name="android.permission.MANAGE_DISPLAYS" /> 891 <!-- Permission required for accessing all content provider mime types --> 892 <uses-permission android:name="android.permission.GET_ANY_PROVIDER_TYPE" /> 893 894 <!-- Permission required for CTS-in-sandbox tests --> 895 <uses-permission android:name="android.permission.START_ACTIVITIES_FROM_SDK_SANDBOX" /> 896 897 <!-- Permission required for CTS test - CtsWallpaperTestCases --> 898 <uses-permission android:name="android.permission.ALWAYS_UPDATE_WALLPAPER" /> 899 900 <!-- Permissions required for CTS test - CtsVoiceInteractionTestCases --> 901 <uses-permission android:name="android.permission.RESET_HOTWORD_TRAINING_DATA_EGRESS_COUNT" /> 902 <uses-permission android:name="android.permission.RECEIVE_SANDBOX_TRIGGER_AUDIO" /> 903 904 <uses-permission android:name="android.permission.GET_BINDING_UID_IMPORTANCE" /> 905 906 <!-- Permissions required for CTS test - CtsAccessibilityServiceTestCases--> 907 <uses-permission android:name="android.permission.ACCESSIBILITY_MOTION_EVENT_OBSERVING" /> 908 909 <!-- Permission required for Cts test - CtsNotificationTestCases --> 910 <uses-permission android:name="android.permission.RECEIVE_SENSITIVE_NOTIFICATIONS" /> 911 912 <!-- Permission required for Cts test - CtsWindowManagerJetpackTestCases --> 913 <uses-permission android:name="android.permission.EMBED_ANY_APP_IN_UNTRUSTED_MODE" /> 914 915 <!-- Permission required for BinaryTransparencyService shell API and host test --> 916 <uses-permission android:name="android.permission.GET_BACKGROUND_INSTALLED_PACKAGES" /> 917 918 <!-- Permissions required for CTS test - CtsPermissionUiTestCases --> 919 <uses-permission android:name="android.permission.MANAGE_ENHANCED_CONFIRMATION_STATES" /> 920 921 <!-- Permissions required for CTS test - CtsContactKeysProviderPrivilegedApp --> 922 <uses-permission android:name="android.permission.WRITE_VERIFICATION_STATE_E2EE_CONTACT_KEYS"/> 923 924 <!-- Permission required for Cts test ScreenRecordingCallbackTests --> 925 <uses-permission android:name="android.permission.DETECT_SCREEN_RECORDING" /> 926 927 <!-- Permissions required for CTS test - GrammaticalInflectionManagerTest --> 928 <uses-permission android:name="android.permission.READ_SYSTEM_GRAMMATICAL_GENDER" /> 929 930 <!-- Permission required for CTS test - CtsPackageManagerTestCases--> 931 <uses-permission android:name="android.permission.DOMAIN_VERIFICATION_AGENT" /> 932 933 <!-- Permission required for Cts test - CtsInputTestCases --> 934 <uses-permission 935 android:name="android.permission.OVERRIDE_SYSTEM_KEY_BEHAVIOR_IN_FOCUSED_WINDOW" /> 936 937 <!-- Permission required for Cts test - CtsSettingsTestCases --> 938 <uses-permission android:name="android.permission.PREPARE_FACTORY_RESET" /> 939 940 <!-- Permission required for CTS test - FileIntegrityManagerTest --> 941 <uses-permission android:name="android.permission.SETUP_FSVERITY" /> 942 943 <application 944 android:label="@string/app_label" 945 android:theme="@android:style/Theme.DeviceDefault.DayNight" 946 android:defaultToDeviceProtectedStorage="true" 947 android:directBootAware="true"> 948 949 <provider 950 android:name="androidx.core.content.FileProvider" 951 android:authorities="com.android.shell" 952 android:grantUriPermissions="true" 953 android:exported="false"> 954 <meta-data 955 android:name="android.support.FILE_PROVIDER_PATHS" 956 android:resource="@xml/file_provider_paths" /> 957 </provider> 958 959 <provider 960 android:name=".BugreportStorageProvider" 961 android:authorities="com.android.shell.documents" 962 android:grantUriPermissions="true" 963 android:exported="true" 964 android:permission="android.permission.MANAGE_DOCUMENTS" 965 android:enabled="false"> 966 <intent-filter> 967 <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> 968 </intent-filter> 969 </provider> 970 971 <provider 972 android:name=".HeapDumpProvider" 973 android:authorities="com.android.shell.heapdump" 974 android:grantUriPermissions="true" 975 android:exported="false" /> 976 977 <activity 978 android:name=".BugreportWarningActivity" 979 android:theme="@*android:style/Theme.DeviceDefault.Dialog.Alert.DayNight" 980 android:finishOnCloseSystemDialogs="true" 981 android:excludeFromRecents="true" 982 android:exported="false" /> 983 984 <activity 985 android:name=".HeapDumpActivity" 986 android:theme="@*android:style/Theme.Translucent.NoTitleBar" 987 android:label="@*android:string/dump_heap_title" 988 android:finishOnCloseSystemDialogs="true" 989 android:noHistory="true" 990 android:excludeFromRecents="true" 991 android:exported="false" /> 992 993 <receiver 994 android:name=".BugreportRequestedReceiver" 995 android:exported="true" 996 android:permission="android.permission.TRIGGER_SHELL_BUGREPORT"> 997 <intent-filter> 998 <action android:name="com.android.internal.intent.action.BUGREPORT_REQUESTED" /> 999 </intent-filter> 1000 </receiver> 1001 1002 <receiver 1003 android:name=".HeapDumpReceiver" 1004 android:exported="true" 1005 android:permission="android.permission.DUMP"> 1006 <intent-filter> 1007 <action android:name="android.intent.action.BOOT_COMPLETED" /> 1008 <action android:name="com.android.internal.intent.action.HEAP_DUMP_FINISHED" /> 1009 <action android:name="com.android.shell.action.DELETE_HEAP_DUMP" /> 1010 </intent-filter> 1011 </receiver> 1012 1013 <receiver 1014 android:name=".ProfcollectUploadReceiver" 1015 android:exported="true" 1016 android:permission="android.permission.TRIGGER_SHELL_PROFCOLLECT_UPLOAD"> 1017 <intent-filter> 1018 <action android:name="com.android.shell.action.PROFCOLLECT_UPLOAD" /> 1019 </intent-filter> 1020 </receiver> 1021 1022 <service 1023 android:name=".BugreportProgressService" 1024 android:foregroundServiceType="systemExempted" 1025 android:exported="false" /> 1026 </application> 1027</manifest> 1028