Advertisement
disu1950

AndroidManifest.xml

Nov 26th, 2024
28
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 44.63 KB | Source Code | 0 0
  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. android:sharedUserId="android.uid.shell"
  23. >
  24. <!-- Standard permissions granted to the shell. -->
  25. <uses-permission android:name="android.permission.LAUNCH_DEVICE_MANAGER_SETUP" />
  26. <uses-permission android:name="android.permission.GET_RUNTIME_PERMISSIONS" />
  27. <uses-permission android:name="android.permission.SEND_SMS" />
  28. <uses-permission android:name="android.permission.READ_SMS" />
  29. <uses-permission android:name="android.permission.CALL_PHONE" />
  30. <uses-permission android:name="android.permission.READ_PHONE_STATE" />
  31. <uses-permission android:name="android.permission.READ_PRECISE_PHONE_STATE" />
  32. <uses-permission android:name="android.permission.READ_ACTIVE_EMERGENCY_SESSION" />
  33. <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
  34. <uses-permission android:name="android.permission.READ_CONTACTS" />
  35. <uses-permission android:name="android.permission.WRITE_CONTACTS" />
  36. <uses-permission android:name="android.permission.READ_CALENDAR" />
  37. <uses-permission android:name="android.permission.WRITE_CALENDAR" />
  38. <uses-permission android:name="android.permission.READ_CALL_LOG" />
  39. <uses-permission android:name="android.permission.WRITE_CALL_LOG" />
  40. <uses-permission android:name="android.permission.READ_USER_DICTIONARY" />
  41. <uses-permission android:name="android.permission.WRITE_USER_DICTIONARY" />
  42. <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
  43. <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
  44. <uses-permission android:name="android.permission.HIGH_SAMPLING_RATE_SENSORS" />
  45. <uses-permission android:name="android.permission.RECEIVE_SMS" />
  46. <uses-permission android:name="android.permission.RECEIVE_WAP_PUSH" />
  47. <uses-permission android:name="android.permission.RECEIVE_MMS" />
  48. <uses-permission android:name="android.permission.READ_CELL_BROADCASTS" />
  49. <uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" />
  50. <uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" />
  51. <uses-permission android:name="android.permission.READ_PHONE_NUMBERS" />
  52. <uses-permission android:name="android.permission.USE_SIP" />
  53. <uses-permission android:name="android.permission.ANSWER_PHONE_CALLS" />
  54. <uses-permission android:name="android.permission.ACCEPT_HANDOVER" />
  55. <uses-permission android:name="android.permission.ACTIVITY_RECOGNITION" />
  56. <uses-permission android:name="android.permission.BODY_SENSORS" />
  57. <uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL" />
  58. <uses-permission android:name="android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS" />
  59. <uses-permission android:name="android.permission.GET_PROCESS_STATE_AND_OOM_SCORE" />
  60. <uses-permission android:name="android.permission.READ_LOGS" />
  61. <uses-permission android:name="android.permission.BRIGHTNESS_SLIDER_USAGE" />
  62. <uses-permission android:name="android.permission.ACCESS_AMBIENT_LIGHT_STATS" />
  63. <uses-permission android:name="android.permission.CONFIGURE_DISPLAY_BRIGHTNESS" />
  64. <uses-permission android:name="android.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER" />
  65. <uses-permission android:name="android.permission.SET_MEDIA_KEY_LISTENER" />
  66. <uses-permission android:name="android.permission.INSTANT_APP_FOREGROUND_SERVICE" />
  67. <uses-permission android:name="android.permission.MANAGE_OWN_CALLS" />
  68. <uses-permission android:name="android.permission.CALL_COMPANION_APP" />
  69. <uses-permission android:name="android.permission.USE_FINGERPRINT" />
  70. <uses-permission android:name="android.permission.READ_PROFILE" />
  71. <uses-permission android:name="android.permission.WRITE_PROFILE" />
  72. <uses-permission android:name="android.permission.READ_SOCIAL_STREAM" />
  73. <uses-permission android:name="android.permission.WRITE_SOCIAL_STREAM" />
  74. <uses-permission android:name="android.permission.WRITE_SMS" />
  75. <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
  76. <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
  77. <uses-permission android:name="android.permission.USE_CREDENTIALS" />
  78. <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_READ" />
  79. <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE" />
  80. <uses-permission android:name="android.permission.FLASHLIGHT" />
  81. <uses-permission android:name="android.permission.INTERNET" />
  82. <uses-permission android:name="android.permission.NFC" />
  83. <uses-permission android:name="android.permission.NFC_TRANSACTION_EVENT" />
  84. <uses-permission android:name="android.permission.NFC_PREFERRED_PAYMENT_INFO" />
  85. <uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />
  86. <uses-permission android:name="android.permission.TRANSMIT_IR" />
  87. <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
  88. <uses-permission android:name="android.permission.REQUEST_PASSWORD_COMPLEXITY" />
  89. <uses-permission android:name="android.permission.GET_TASKS" />
  90. <uses-permission android:name="android.permission.RESTART_PACKAGES" />
  91. <uses-permission android:name="android.permission.REQUEST_COMPANION_RUN_IN_BACKGROUND" />
  92. <uses-permission android:name="android.permission.REQUEST_COMPANION_USE_DATA_IN_BACKGROUND" />
  93. <uses-permission android:name="android.permission.HIDE_OVERLAY_WINDOWS" />
  94. <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
  95. <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
  96. <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
  97. <uses-permission android:name="android.permission.READ_SYNC_STATS" />
  98. <uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS" />
  99. <uses-permission android:name="com.android.browser.permission.WRITE_HISTORY_BOOKMARKS" />
  100. <uses-permission android:name="com.android.alarm.permission.SET_ALARM" />
  101. <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
  102. <uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" />
  103. <uses-permission android:name="android.permission.PERSISTENT_ACTIVITY" />
  104. <uses-permission android:name="android.permission.GET_PACKAGE_SIZE" />
  105. <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
  106. <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
  107. <uses-permission android:name="android.permission.REQUEST_OBSERVE_COMPANION_DEVICE_PRESENCE" />
  108. <uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
  109. <uses-permission android:name="android.permission.ACCESS_NOTIFICATION_POLICY" />
  110. <uses-permission android:name="android.permission.READ_INSTALL_SESSIONS" />
  111. <uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" />
  112. <uses-permission android:name="android.permission.TRIGGER_LOST_MODE" />
  113. <!-- ACCESS_BACKGROUND_LOCATION is needed for testing purposes only. -->
  114. <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
  115. <!-- ACCESS_MTP is needed for testing purposes only. -->
  116. <uses-permission android:name="android.permission.ACCESS_MTP" />
  117. <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
  118. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  119. <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
  120. <uses-permission android:name="android.permission.BLUETOOTH" />
  121. <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
  122. <uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE"/>
  123. <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
  124. <!-- BLUETOOTH_PRIVILEGED is needed for testing purposes only. -->
  125. <uses-permission android:name="android.permission.BLUETOOTH_PRIVILEGED" />
  126. <uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
  127. <uses-permission android:name="android.permission.LOCAL_MAC_ADDRESS" />
  128. <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
  129. <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
  130. <uses-permission android:name="android.permission.MANAGE_NETWORK_POLICY" />
  131. <uses-permission android:name="android.permission.MANAGE_USB" />
  132. <uses-permission android:name="android.permission.USE_RESERVED_DISK" />
  133. <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
  134. <!-- System tool permissions granted to the shell. -->
  135. <uses-permission android:name="android.permission.REAL_GET_TASKS" />
  136. <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
  137. <uses-permission android:name="android.permission.REORDER_TASKS" />
  138. <uses-permission android:name="android.permission.REMOVE_TASKS" />
  139. <uses-permission android:name="android.permission.SET_ANIMATION_SCALE" />
  140. <uses-permission android:name="android.permission.SET_PREFERRED_APPLICATIONS" />
  141. <uses-permission android:name="android.permission.WRITE_SETTINGS" />
  142. <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
  143. <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
  144. <uses-permission android:name="android.permission.WRITE_DEVICE_CONFIG" />
  145. <uses-permission android:name="android.permission.BROADCAST_STICKY" />
  146. <uses-permission android:name="android.permission.MANAGE_ACCESSIBILITY" />
  147. <!-- Development tool permissions granted to the shell. -->
  148. <uses-permission android:name="android.permission.SET_DEBUG_APP" />
  149. <uses-permission android:name="android.permission.SET_PROCESS_LIMIT" />
  150. <uses-permission android:name="android.permission.SET_ALWAYS_FINISH" />
  151. <uses-permission android:name="android.permission.DUMP" />
  152. <uses-permission android:name="android.permission.CONTROL_UI_TRACING" />
  153. <uses-permission android:name="android.permission.SIGNAL_PERSISTENT_PROCESSES" />
  154. <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" />
  155. <!-- Internal permissions granted to the shell. -->
  156. <uses-permission android:name="android.permission.FORCE_BACK" />
  157. <uses-permission android:name="android.permission.BATTERY_STATS" />
  158. <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
  159. <uses-permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW" />
  160. <uses-permission android:name="android.permission.INJECT_EVENTS" />
  161. <uses-permission android:name="android.permission.RETRIEVE_WINDOW_CONTENT" />
  162. <uses-permission android:name="android.permission.SET_ACTIVITY_WATCHER" />
  163. <uses-permission android:name="android.permission.READ_INPUT_STATE" />
  164. <uses-permission android:name="android.permission.SET_ORIENTATION" />
  165. <uses-permission android:name="android.permission.INSTALL_PACKAGES" />
  166. <uses-permission android:name="android.permission.INSTALL_PACKAGE_UPDATES" />
  167. <uses-permission android:name="android.permission.INSTALL_DPC_PACKAGES" />
  168. <uses-permission android:name="com.android.permission.USE_INSTALLER_V2" />
  169. <uses-permission android:name="android.permission.INSTALL_TEST_ONLY_PACKAGE" />
  170. <uses-permission android:name="com.android.permission.USE_SYSTEM_DATA_LOADERS" />
  171. <uses-permission android:name="android.permission.PACKAGE_VERIFICATION_AGENT" />
  172. <uses-permission android:name="android.permission.MOVE_PACKAGE" />
  173. <uses-permission android:name="android.permission.KEEP_UNINSTALLED_PACKAGES" />
  174. <uses-permission android:name="android.permission.CLEAR_APP_USER_DATA" />
  175. <uses-permission android:name="android.permission.CLEAR_APP_CACHE" />
  176. <uses-permission android:name="android.permission.ACCESS_INSTANT_APPS" />
  177. <uses-permission android:name="android.permission.DELETE_CACHE_FILES" />
  178. <uses-permission android:name="android.permission.DELETE_PACKAGES" />
  179. <uses-permission android:name="android.permission.MANAGE_ROLLBACKS" />
  180. <uses-permission android:name="android.permission.TEST_MANAGE_ROLLBACKS" />
  181. <uses-permission android:name="android.permission.ACCESS_SURFACE_FLINGER" />
  182. <uses-permission android:name="android.permission.READ_FRAME_BUFFER" />
  183. <uses-permission android:name="android.permission.REBOOT" />
  184. <uses-permission android:name="android.permission.DEVICE_POWER" />
  185. <uses-permission android:name="android.permission.POWER_SAVER" />
  186. <uses-permission android:name="android.permission.BATTERY_PREDICTION" />
  187. <uses-permission android:name="android.permission.INSTALL_LOCATION_PROVIDER" />
  188. <uses-permission android:name="android.permission.BACKUP" />
  189. <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES" />
  190. <uses-permission android:name="android.permission.STOP_APP_SWITCHES" />
  191. <uses-permission android:name="android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY" />
  192. <uses-permission android:name="android.permission.GRANT_RUNTIME_PERMISSIONS" />
  193. <uses-permission android:name="android.permission.REVOKE_RUNTIME_PERMISSIONS" />
  194. <uses-permission android:name="android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS" />
  195. <uses-permission android:name="android.permission.WHITELIST_RESTRICTED_PERMISSIONS" />
  196. <!-- Permission required for processes that don't own the focused window to switch
  197. touch mode state -->
  198. <uses-permission android:name="android.permission.MODIFY_TOUCH_MODE_STATE" />
  199. <!-- Permission required to test onPermissionsChangedListener -->
  200. <uses-permission android:name="android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS" />
  201. <uses-permission android:name="android.permission.SET_KEYBOARD_LAYOUT" />
  202. <uses-permission android:name="android.permission.GET_DETAILED_TASKS" />
  203. <uses-permission android:name="android.permission.SET_SCREEN_COMPATIBILITY" />
  204. <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
  205. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  206. <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" />
  207. <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
  208. <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
  209. <uses-permission android:name="android.permission.CREATE_USERS" />
  210. <uses-permission android:name="android.permission.MANAGE_SUBSCRIPTION_USER_ASSOCIATION" />
  211. <uses-permission android:name="android.permission.QUERY_USERS" />
  212. <uses-permission android:name="android.permission.MANAGE_CREDENTIAL_MANAGEMENT_APP" />
  213. <uses-permission android:name="android.permission.MANAGE_DEVICE_ADMINS" />
  214. <uses-permission android:name="android.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS" />
  215. <uses-permission android:name="android.permission.PROVISION_DEMO_DEVICE" />
  216. <uses-permission android:name="android.permission.QUERY_ADMIN_POLICY" />
  217. <uses-permission android:name="android.permission.UPDATE_DEVICE_MANAGEMENT_RESOURCES" />
  218. <uses-permission android:name="android.permission.FORCE_DEVICE_POLICY_MANAGER_LOGS" />
  219. <uses-permission android:name="android.permission.CLEAR_FREEZE_PERIOD" />
  220. <uses-permission android:name="android.permission.MODIFY_QUIET_MODE" />
  221. <uses-permission android:name="android.permission.ACCESS_LOWPAN_STATE"/>
  222. <uses-permission android:name="android.permission.CHANGE_LOWPAN_STATE"/>
  223. <uses-permission android:name="android.permission.READ_LOWPAN_CREDENTIAL"/>
  224. <uses-permission android:name="android.permission.BLUETOOTH_STACK" />
  225. <uses-permission android:name="android.permission.GET_ACCOUNTS" />
  226. <uses-permission android:name="android.permission.RETRIEVE_WINDOW_TOKEN" />
  227. <uses-permission android:name="android.permission.FRAME_STATS" />
  228. <uses-permission android:name="android.permission.BIND_APPWIDGET" />
  229. <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" />
  230. <uses-permission android:name="android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"/>
  231. <uses-permission android:name="android.permission.CHANGE_APP_IDLE_STATE" />
  232. <uses-permission android:name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST" />
  233. <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
  234. <uses-permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS" />
  235. <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
  236. <!-- Shell only holds android.permission.NETWORK_SCAN in order to to enable CTS testing -->
  237. <uses-permission android:name="android.permission.NETWORK_SCAN" />
  238. <uses-permission android:name="android.permission.REGISTER_CALL_PROVIDER" />
  239. <uses-permission android:name="android.permission.REGISTER_CONNECTION_MANAGER" />
  240. <uses-permission android:name="android.permission.REGISTER_SIM_SUBSCRIPTION" />
  241. <uses-permission android:name="android.permission.GET_APP_OPS_STATS" />
  242. <uses-permission android:name="android.permission.MANAGE_APP_OPS_MODES" />
  243. <uses-permission android:name="android.permission.VIBRATE" />
  244. <uses-permission android:name="android.permission.ACCESS_VIBRATOR_STATE" />
  245. <uses-permission android:name="android.permission.MANAGE_ACTIVITY_TASKS" />
  246. <uses-permission android:name="android.permission.START_TASKS_FROM_RECENTS" />
  247. <uses-permission android:name="android.permission.START_ACTIVITIES_FROM_BACKGROUND" />
  248. <uses-permission android:name="android.permission.START_FOREGROUND_SERVICES_FROM_BACKGROUND" />
  249. <uses-permission android:name="android.permission.ACTIVITY_EMBEDDING" />
  250. <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" />
  251. <uses-permission android:name="android.permission.MANAGE_CLOUDSEARCH" />
  252. <uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" />
  253. <uses-permission android:name="android.permission.MANAGE_AUTO_FILL" />
  254. <uses-permission android:name="android.permission.MANAGE_CONTENT_CAPTURE" />
  255. <uses-permission android:name="android.permission.MANAGE_CONTENT_SUGGESTIONS" />
  256. <uses-permission android:name="android.permission.MANAGE_APP_PREDICTIONS" />
  257. <uses-permission android:name="android.permission.MANAGE_LOW_POWER_STANDBY" />
  258. <uses-permission android:name="android.permission.MANAGE_SEARCH_UI" />
  259. <uses-permission android:name="android.permission.MANAGE_SMARTSPACE" />
  260. <uses-permission android:name="android.permission.MANAGE_WALLPAPER_EFFECTS_GENERATION" />
  261. <uses-permission android:name="android.permission.MANAGE_UI_TRANSLATION" />
  262. <uses-permission android:name="android.permission.NETWORK_SETTINGS" />
  263. <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
  264. <uses-permission android:name="android.permission.SET_TIME" />
  265. <uses-permission android:name="android.permission.SET_TIME_ZONE" />
  266. <uses-permission android:name="android.permission.DISABLE_HIDDEN_API_CHECKS" />
  267. <uses-permission android:name="android.permission.MANAGE_ROLE_HOLDERS" />
  268. <uses-permission android:name="android.permission.BYPASS_ROLE_QUALIFICATION" />
  269. <uses-permission android:name="android.permission.OBSERVE_ROLE_HOLDERS" />
  270. <uses-permission android:name="android.permission.STATUS_BAR_SERVICE" />
  271. <uses-permission android:name="android.permission.STATUS_BAR" />
  272. <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
  273. <!-- Permission needed to rename bugreport notifications (so they're not shown as Shell) -->
  274. <uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME" />
  275. <uses-permission android:name="android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE" />
  276. <!-- Permission needed to hold a wakelock in dumpstate.cpp (drop_root_user()) -->
  277. <uses-permission android:name="android.permission.WAKE_LOCK" />
  278. <!-- Permission needed to enable/disable overlays -->
  279. <uses-permission android:name="android.permission.CHANGE_OVERLAY_PACKAGES" />
  280. <!-- Permission needed to access privileged VR APIs -->
  281. <uses-permission android:name="android.permission.RESTRICTED_VR_ACCESS" />
  282. <uses-permission android:name="android.permission.MANAGE_BIND_INSTANT_SERVICE" />
  283. <uses-permission android:name="android.permission.SET_HARMFUL_APP_WARNINGS" />
  284. <uses-permission android:name="android.permission.MANAGE_SENSORS" />
  285. <uses-permission android:name="android.permission.MANAGE_AUDIO_POLICY" />
  286. <uses-permission android:name="android.permission.QUERY_AUDIO_STATE" />
  287. <uses-permission android:name="android.permission.MANAGE_CAMERA" />
  288. <!-- Permissions needed to test system only camera devices -->
  289. <uses-permission android:name="android.permission.CAMERA" />
  290. <uses-permission android:name="android.permission.BACKGROUND_CAMERA" />
  291. <uses-permission android:name="android.permission.SYSTEM_CAMERA" />
  292. <!-- Permissions needed to test onCameraOpened/Closed callbacks -->
  293. <uses-permission android:name="android.permission.CAMERA_OPEN_CLOSE_LISTENER" />
  294. <!-- Permissions needed for CTS camera test: RecordingTest.java when assuming shell id -->
  295. <uses-permission android:name="android.permission.RECORD_AUDIO" />
  296. <uses-permission android:name="android.permission.RECORD_BACKGROUND_AUDIO" />
  297. <!-- Permission needed to enable/disable Bluetooth/Wifi -->
  298. <uses-permission android:name="android.permission.MANAGE_BLUETOOTH_WHEN_WIRELESS_CONSENT_REQUIRED" />
  299. <uses-permission android:name="android.permission.MANAGE_WIFI_WHEN_WIRELESS_CONSENT_REQUIRED" />
  300. <!-- Permission needed to invoke DynamicSystem (AOT) -->
  301. <uses-permission android:name="android.permission.INSTALL_DYNAMIC_SYSTEM" />
  302. <!-- Used to clean up heap dumps on boot. -->
  303. <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
  304. <uses-permission android:name="android.permission.CONTROL_KEYGUARD" />
  305. <uses-permission android:name="android.permission.SUSPEND_APPS" />
  306. <uses-permission android:name="android.permission.OBSERVE_APP_USAGE" />
  307. <uses-permission android:name="android.permission.READ_CLIPBOARD_IN_BACKGROUND" />
  308. <!-- Permission needed to wipe the device for Test Harness Mode -->
  309. <uses-permission android:name="android.permission.ENABLE_TEST_HARNESS_MODE" />
  310. <!-- Permission needed for CTS test - CompanionDeviceManagerTest -->
  311. <uses-permission android:name="android.permission.COMPANION_APPROVE_WIFI_CONNECTIONS" />
  312. <uses-permission android:name="android.permission.MANAGE_COMPANION_DEVICES" />
  313. <uses-permission android:name="android.permission.REQUEST_COMPANION_PROFILE_APP_STREAMING" />
  314. <uses-permission android:name="android.permission.REQUEST_COMPANION_PROFILE_COMPUTER" />
  315. <uses-permission android:name="android.permission.REQUEST_COMPANION_PROFILE_AUTOMOTIVE_PROJECTION" />
  316. <uses-permission android:name="android.permission.REQUEST_COMPANION_PROFILE_WATCH" />
  317. <uses-permission android:name="android.permission.REQUEST_COMPANION_SELF_MANAGED" />
  318. <uses-permission android:name="android.permission.MANAGE_APPOPS" />
  319. <uses-permission android:name="android.permission.WATCH_APPOPS" />
  320. <!-- Permission required for IncrementalLogCollectionTest -->
  321. <uses-permission android:name="android.permission.LOADER_USAGE_STATS" />
  322. <!-- Permission required for storage tests - FuseDaemonHostTest -->
  323. <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
  324. <!-- Permission needed to run network tests in CTS -->
  325. <uses-permission android:name="android.permission.MANAGE_TEST_NETWORKS" />
  326. <!-- Permission needed to test tcp keepalive offload. -->
  327. <uses-permission android:name="android.permission.PACKET_KEEPALIVE_OFFLOAD" />
  328. <!-- Permission needed for CTS test - UnsupportedErrorDialogTests -->
  329. <uses-permission android:name="android.permission.RESET_APP_ERRORS" />
  330. <!-- Permission needed for CTS test - CtsSystemUiTestCases:PipNotificationTests -->
  331. <uses-permission android:name="android.permission.GET_INTENT_SENDER_INTENT" />
  332. <!-- Permission needed to run keyguard manager tests in CTS -->
  333. <uses-permission android:name="android.permission.CONTROL_KEYGUARD_SECURE_NOTIFICATIONS" />
  334. <!-- Permission needed to add/remove weak escrow token in CTS tests -->
  335. <uses-permission android:name="android.permission.MANAGE_WEAK_ESCROW_TOKEN" />
  336. <!-- Permission needed to set/clear/verify lockscreen credentials in CTS tests -->
  337. <uses-permission android:name="android.permission.SET_AND_VERIFY_LOCKSCREEN_CREDENTIALS" />
  338. <!-- Permission needed to test wallpaper component -->
  339. <uses-permission android:name="android.permission.SET_WALLPAPER" />
  340. <uses-permission android:name="android.permission.SET_WALLPAPER_COMPONENT" />
  341. <!-- Permission needed to test wallpaper dimming -->
  342. <uses-permission android:name="android.permission.SET_WALLPAPER_DIM_AMOUNT" />
  343. <!-- Permission needed to test wallpaper read methods -->
  344. <uses-permission android:name="android.permission.READ_WALLPAPER_INTERNAL" />
  345. <!-- Permission required to test ContentResolver caching. -->
  346. <uses-permission android:name="android.permission.CACHE_CONTENT" />
  347. <!-- Permission required to test ExplicitHealthCheckServiceImpl. -->
  348. <uses-permission android:name="android.permission.BIND_EXPLICIT_HEALTH_CHECK_SERVICE" />
  349. <!-- Permission required for CTS test - CrossProfileAppsHostSideTest -->
  350. <uses-permission android:name="android.permission.INTERACT_ACROSS_PROFILES"/>
  351. <!-- Permission required for CTS test - CrossProfileAppsHostSideTest -->
  352. <uses-permission android:name="android.permission.START_CROSS_PROFILE_ACTIVITIES"/>
  353. <!-- permissions required for CTS test - PhoneStateListenerTest -->
  354. <uses-permission android:name="android.permission.LISTEN_ALWAYS_REPORTED_SIGNAL_STRENGTH" />
  355. <!-- Permissions required for granting and logging -->
  356. <uses-permission android:name="android.permission.LOG_COMPAT_CHANGE"/>
  357. <uses-permission android:name="android.permission.READ_COMPAT_CHANGE_CONFIG"/>
  358. <uses-permission android:name="android.permission.OVERRIDE_COMPAT_CHANGE_CONFIG"/>
  359. <uses-permission android:name="android.permission.OVERRIDE_COMPAT_CHANGE_CONFIG_ON_RELEASE_BUILD"/>
  360. <!-- Permission required for CTS test - BatterySaverTest -->
  361. <uses-permission android:name="android.permission.MODIFY_DAY_NIGHT_MODE"/>
  362. <!-- Permission required for CTS test - UiModeManagerTest -->
  363. <uses-permission android:name="android.permission.ENTER_CAR_MODE_PRIORITIZED"/>
  364. <uses-permission android:name="android.permission.READ_PROJECTION_STATE"/>
  365. <!-- Permission required for CTS tests - UiModeManagerTest, CarModeInCallServiceTest -->
  366. <uses-permission android:name="android.permission.TOGGLE_AUTOMOTIVE_PROJECTION"/>
  367. <!-- Permission required for CTS test - SystemConfigTest -->
  368. <uses-permission android:name="android.permission.READ_CARRIER_APP_INFO"/>
  369. <!-- Permission required for CTS test - CarModeInCallServiceTest -->
  370. <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
  371. <!-- Permission requried for CTS test - CellBroadcastIntentsTest -->
  372. <uses-permission android:name="android.permission.GRANT_RUNTIME_PERMISSIONS_TO_TELEPHONY_DEFAULTS"/>
  373. <!-- Permission required for CTS test - TetheringManagerTest -->
  374. <uses-permission android:name="android.permission.TETHER_PRIVILEGED"/>
  375. <!-- Permission required for CTS test - CtsOsTestCases -->
  376. <uses-permission android:name="android.permission.MANAGE_CRATES"/>
  377. <!-- Allows setting brightness from the shell -->
  378. <uses-permission android:name="android.permission.CONTROL_DISPLAY_BRIGHTNESS"/>
  379. <!-- Permission required for CTS test - ShortcutManagerUsageTest -->
  380. <uses-permission android:name="android.permission.ACCESS_SHORTCUTS"/>
  381. <!-- Permissions required for CTS test - UsageStatsTest -->
  382. <uses-permission android:name="android.permission.MANAGE_NOTIFICATIONS"/>
  383. <uses-permission android:name="android.permission.ACCESS_LOCUS_ID_USAGE_STATS"/>
  384. <!-- Permission needed for CTS test - MusicRecognitionManagerTest -->
  385. <uses-permission android:name="android.permission.MANAGE_MUSIC_RECOGNITION" />
  386. <!-- Permission needed for CTS test - CtsVoiceRecognitionTestCases -->
  387. <uses-permission android:name="android.permission.MANAGE_SPEECH_RECOGNITION" />
  388. <!-- Permissions required to test ambient display. -->
  389. <uses-permission android:name="android.permission.READ_DREAM_STATE"/>
  390. <uses-permission android:name="android.permission.WRITE_DREAM_STATE"/>
  391. <!-- Permission required for CTS test - CtsLightsManagerTest -->
  392. <uses-permission android:name="android.permission.CONTROL_DEVICE_LIGHTS" />
  393. <!-- Permission needed to test mainline permission module rollback -->
  394. <uses-permission android:name="android.permission.UPGRADE_RUNTIME_PERMISSIONS" />
  395. <!-- Permission needed to restart WiFi Subsystem -->
  396. <uses-permission android:name="android.permission.RESTART_WIFI_SUBSYSTEM" />
  397. <!-- Permission needed to read wifi network credentials for CtsNetTestCases -->
  398. <uses-permission android:name="android.permission.READ_WIFI_CREDENTIAL" />
  399. <!-- Permission needed to use wifi usability API's for CtsNetTestCases -->
  400. <uses-permission android:name="android.permission.WIFI_UPDATE_USABILITY_STATS_SCORE" />
  401. <!-- Permission needed to test registering pull atom callbacks -->
  402. <uses-permission android:name="android.permission.REGISTER_STATS_PULL_ATOM" />
  403. <!-- Permission needed to modify settings overrideable by restore in CTS tests -->
  404. <uses-permission android:name="android.permission.MODIFY_SETTINGS_OVERRIDEABLE_BY_RESTORE" />
  405. <!-- Permission required for testing system audio effect APIs. -->
  406. <uses-permission android:name="android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS"/>
  407. <!-- Permission required for running networking unit tests -->
  408. <uses-permission android:name="android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS" />
  409. <!-- Permission required for CTS test - CtsHostsideNetworkTests -->
  410. <uses-permission android:name="android.permission.OBSERVE_NETWORK_POLICY" />
  411. <!-- Permissions required for CTS test - TunerTest -->
  412. <uses-permission android:name="android.permission.ACCESS_TV_DESCRAMBLER" />
  413. <uses-permission android:name="android.permission.ACCESS_TV_SHARED_FILTER" />
  414. <uses-permission android:name="android.permission.ACCESS_TV_TUNER" />
  415. <uses-permission android:name="android.permission.TUNER_RESOURCE_ACCESS" />
  416. <!-- Permissions required for CTS test - AutoRevokeTest -->
  417. <uses-permission android:name="android.permission.WHITELIST_AUTO_REVOKE_PERMISSIONS" />
  418. <!-- Permissions needed to test shared libraries -->
  419. <uses-permission android:name="android.permission.ACCESS_SHARED_LIBRARIES" />
  420. <!-- Permissions required for CTS test - TVInputManagerTest -->
  421. <uses-permission android:name="android.permission.ACCESS_TUNED_INFO" />
  422. <uses-permission android:name="android.permission.TV_INPUT_HARDWARE" />
  423. <uses-permission android:name="android.permission.TIS_EXTENSION_INTERFACE" />
  424. <uses-permission android:name="com.android.providers.tv.permission.ACCESS_WATCHED_PROGRAMS" />
  425. <uses-permission android:name="com.android.providers.tv.permission.WRITE_EPG_DATA"/>
  426. <!-- Permission needed for CTS test - PrivilegedLocationPermissionTest -->
  427. <uses-permission android:name="android.permission.LOCATION_HARDWARE" />
  428. <!-- Permissions required for GTS test - GtsDialerAudioTestCases -->
  429. <uses-permission android:name="android.permission.CAPTURE_AUDIO_OUTPUT" />
  430. <!-- Permissions required for CTS test - AdbManagerTest -->
  431. <uses-permission android:name="android.permission.MANAGE_DEBUGGING" />
  432. <!-- Permission required for CTS test - CtsTelephonyTestCases -->
  433. <uses-permission android:name="android.permission.ACCESS_RCS_USER_CAPABILITY_EXCHANGE" />
  434. <!-- Permission required for CTS test - CtsTelephonyTestCases -->
  435. <uses-permission android:name="android.permission.PERFORM_IMS_SINGLE_REGISTRATION" />
  436. <!-- Permission needed for CTS test - DisplayTest -->
  437. <uses-permission android:name="android.permission.OVERRIDE_DISPLAY_MODE_REQUESTS" />
  438. <!-- Permission needed for CTS test - MatchContentFrameRateTest -->
  439. <uses-permission android:name="android.permission.MODIFY_REFRESH_RATE_SWITCHING_TYPE" />
  440. <!-- Permission needed for CTS test - DefaultDisplayModeTest -->
  441. <uses-permission android:name="android.permission.MODIFY_USER_PREFERRED_DISPLAY_MODE" />
  442. <!-- Permissions needed for manual testing telephony time zone detector behavior -->
  443. <uses-permission android:name="android.permission.SUGGEST_TELEPHONY_TIME_AND_ZONE" />
  444. <!-- Permissions needed for CTS test - TimeManagerTest -->
  445. <uses-permission android:name="android.permission.MANAGE_TIME_AND_ZONE_DETECTION" />
  446. <uses-permission android:name="android.permission.SUGGEST_EXTERNAL_TIME" />
  447. <!-- Permissions needed for CTS test - CtsLocaleManagerTestCases -->
  448. <uses-permission android:name="android.permission.READ_APP_SPECIFIC_LOCALES" />
  449. <!-- Permissions used for manual testing of time detection behavior. -->
  450. <uses-permission android:name="android.permission.SUGGEST_MANUAL_TIME" />
  451. <uses-permission android:name="android.permission.SUGGEST_TELEPHONY_TIME" />
  452. <uses-permission android:name="android.permission.SUGGEST_NETWORK_TIME" />
  453. <uses-permission android:name="android.permission.SUGGEST_GNSS_TIME" />
  454. <!-- Permission required for CTS test - android.server.biometrics -->
  455. <uses-permission android:name="android.permission.USE_BIOMETRIC" />
  456. <!-- Permission required for CTS test - android.server.biometrics -->
  457. <uses-permission android:name="android.permission.TEST_BIOMETRIC" />
  458. <!-- Permissions required for CTS test - NotificationManagerTest -->
  459. <uses-permission android:name="android.permission.MANAGE_NOTIFICATION_LISTENERS" />
  460. <!-- Permissions required for CTS test - CtsContactsProviderTestCases -->
  461. <uses-permission android:name="android.contacts.permission.MANAGE_SIM_ACCOUNTS" />
  462. <uses-permission android:name="android.permission.SET_DEFAULT_ACCOUNT_FOR_CONTACTS" />
  463. <!-- Permissions required for CTS test - CarrierMessagingServiceWrapprTest -->
  464. <uses-permission android:name="android.permission.BIND_CARRIER_SERVICES" />
  465. <!-- Allows overriding the system's device state from the shell -->
  466. <uses-permission android:name="android.permission.CONTROL_DEVICE_STATE"/>
  467. <!-- Permissions required for CTS tests to close system dialogs -->
  468. <uses-permission android:name="android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS" />
  469. <!-- Permissions required for CTS test - HideOverlayWindowsTest -->
  470. <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
  471. <uses-permission android:name="android.permission.SYSTEM_APPLICATION_OVERLAY"/>
  472. <!-- Permission required for CTS test - CtsHdmiCecHostTestCases -->
  473. <uses-permission android:name="android.permission.HDMI_CEC" />
  474. <!-- Permission needed for CTS test - MediaPlayerTest -->
  475. <uses-permission android:name="android.permission.BIND_IMS_SERVICE" />
  476. <!-- Permission needed for CTS test - WifiManagerTest -->
  477. <uses-permission android:name="android.permission.WIFI_ACCESS_COEX_UNSAFE_CHANNELS" />
  478. <uses-permission android:name="android.permission.WIFI_UPDATE_COEX_UNSAFE_CHANNELS" />
  479. <uses-permission android:name="android.permission.NEARBY_WIFI_DEVICES" />
  480. <uses-permission android:name="android.permission.MANAGE_WIFI_INTERFACES" />
  481. <uses-permission android:name="android.permission.OVERRIDE_WIFI_CONFIG" />
  482. <!-- Permission needed for CTS test - ConcurrencyTest#testP2pExternalApprover
  483. P2P external approver API sets require MANAGE_WIFI_NETWORK_SELECTION permission. -->
  484. <uses-permission android:name="android.permission.MANAGE_WIFI_NETWORK_SELECTION" />
  485. <!-- Permission needed for CTS test - ConcurrencyTest#testP2pSetWfdInfo -->
  486. <uses-permission android:name="android.permission.CONFIGURE_WIFI_DISPLAY" />
  487. <!-- Permission required for CTS tests to enable/disable rate limiting toasts. -->
  488. <uses-permission android:name="android.permission.MANAGE_TOAST_RATE_LIMITING" />
  489. <!-- Permission required for CTS to test sensor privacy behavior -->
  490. <uses-permission android:name="android.permission.MANAGE_SENSOR_PRIVACY" />
  491. <uses-permission android:name="android.permission.OBSERVE_SENSOR_PRIVACY" />
  492. <!-- Permission needed for CTS test - CallLogTest -->
  493. <uses-permission android:name="com.android.voicemail.permission.READ_VOICEMAIL" />
  494. <!-- Permission required for GTS test - GtsAssistIntentTestCases -->
  495. <uses-permission android:name="android.permission.MANAGE_SOUND_TRIGGER" />
  496. <uses-permission android:name="android.permission.CAPTURE_AUDIO_HOTWORD" />
  497. <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
  498. <uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
  499. <uses-permission android:name="android.permission.BIND_RESUME_ON_REBOOT_SERVICE" />
  500. <!-- Permission required for CTS test - CtsRebootReadinessTestCases -->
  501. <uses-permission android:name="android.permission.SIGNAL_REBOOT_READINESS" />
  502. <!-- Permission required for CTS test - PeopleManagerTest -->
  503. <uses-permission android:name="android.permission.READ_PEOPLE_DATA" />
  504. <!-- Permission required for CTS test - CtsTaskFpsCallbackTestCases -->
  505. <uses-permission android:name="android.permission.ACCESS_FPS_COUNTER" />
  506. <!-- Permission required for CTS test - CtsGameManagerTestCases -->
  507. <uses-permission android:name="android.permission.MANAGE_GAME_MODE" />
  508. <!-- Permission required for CTS test - CtsGameServiceTestCases -->
  509. <uses-permission android:name="android.permission.SET_GAME_SERVICE" />
  510. <uses-permission android:name="android.permission.MANAGE_GAME_ACTIVITY" />
  511. <!-- Permission required for CTS test - ClipboardManagerTest -->
  512. <uses-permission android:name="android.permission.SET_CLIP_SOURCE" />
  513. <!-- Permission required for CTS test - FontManagerTest -->
  514. <uses-permission android:name="android.permission.UPDATE_FONTS" />
  515. <!-- Permission required for Launcher testing - DigitalWellbeingToastTest -->
  516. <uses-permission android:name="android.permission.GET_TOP_ACTIVITY_INFO"/>
  517. <!-- Permission required for hotword detection service CTS tests -->
  518. <uses-permission android:name="android.permission.MANAGE_HOTWORD_DETECTION" />
  519. <uses-permission android:name="android.permission.BIND_HOTWORD_DETECTION_SERVICE" />
  520. <!-- Permission required for CTS test - KeyguardLockedStateApiTest -->
  521. <uses-permission android:name="android.permission.SUBSCRIBE_TO_KEYGUARD_LOCKED_STATE" />
  522. <uses-permission android:name="android.permission.MANAGE_APP_HIBERNATION"/>
  523. <!-- Permission required for CTS test - MediaCodecResourceTest -->
  524. <uses-permission android:name="android.permission.MEDIA_RESOURCE_OVERRIDE_PID" />
  525. <!-- Permission required for CTS test - ResourceObserverNativeTest -->
  526. <uses-permission android:name="android.permission.REGISTER_MEDIA_RESOURCE_OBSERVER" />
  527. <!-- Permission required for CTS test - CtsPermission5TestCases -->
  528. <uses-permission android:name="android.permission.RENOUNCE_PERMISSIONS" />
  529. <!-- Permission required for CTS test - android.widget.cts.ToastTest -->
  530. <uses-permission android:name="android.permission.UNLIMITED_TOASTS" />
  531. <!-- Permission required for CTS test - CtsAlarmManagerTestCases -->
  532. <uses-permission android:name="android.permission.SCHEDULE_PRIORITIZED_ALARM" />
  533. <!-- Permission required for CTS test - SystemMediaRouter2Test -->
  534. <uses-permission android:name="android.permission.MEDIA_CONTENT_CONTROL" />
  535. <uses-permission android:name="android.permission.MODIFY_AUDIO_ROUTING" />
  536. <!-- Permission required for CTS test - CtsAmbientContextDetectionServiceDeviceTest -->
  537. <uses-permission android:name="android.permission.ACCESS_AMBIENT_CONTEXT_EVENT" />
  538. <!-- Permission required for CTS test - CallAudioInterceptionTest -->
  539. <uses-permission android:name="android.permission.CALL_AUDIO_INTERCEPTION" />
  540. <!-- Permission required for CTS test - CtsRotationResolverServiceDeviceTestCases -->
  541. <uses-permission android:name="android.permission.MANAGE_ROTATION_RESOLVER" />
  542. <!-- Permission required for CTS test - CtsUwbTestCases -->
  543. <uses-permission android:name="android.permission.UWB_PRIVILEGED" />
  544. <uses-permission android:name="android.permission.UWB_RANGING" />
  545. <!-- Permission required for CTS test - CtsAlarmManagerTestCases -->
  546. <uses-permission android:name="android.permission.UPDATE_DEVICE_STATS" />
  547. <!-- Permission required for CTS test - GlobalSearchSessionPlatformCtsTests -->
  548. <uses-permission android:name="android.permission.READ_GLOBAL_APP_SEARCH_DATA" />
  549. <!-- Permission required for GTS test - PendingSystemUpdateTest -->
  550. <uses-permission android:name="android.permission.NOTIFY_PENDING_SYSTEM_UPDATE" />
  551. <!-- Permission required to run the `vm` tool which manages on-device virtual machines -->
  552. <uses-permission android:name="android.permission.MANAGE_VIRTUAL_MACHINE" />
  553. <uses-permission android:name="android.permission.USE_CUSTOM_VIRTUAL_MACHINE" />
  554. <uses-permission android:name="android.permission.DEBUG_VIRTUAL_MACHINE" />
  555. <!-- Permission required to run GtsAssistantTestCases -->
  556. <uses-permission android:name="android.permission.MANAGE_VOICE_KEYPHRASES" />
  557. <!-- Permission required for CTS test - SettingsMultiPaneDeepLinkTest -->
  558. <uses-permission android:name="android.permission.LAUNCH_MULTI_PANE_SETTINGS_DEEP_LINK" />
  559. <!-- Permission required for ATS test - CarDevicePolicyManagerTest -->
  560. <uses-permission android:name="android.permission.LOCK_DEVICE" />
  561. <!-- Permissions required for CTS test - CtsSafetyCenterTestCases -->
  562. <uses-permission android:name="android.permission.SEND_SAFETY_CENTER_UPDATE" />
  563. <uses-permission android:name="android.permission.READ_SAFETY_CENTER_STATUS" />
  564. <uses-permission android:name="android.permission.MANAGE_SAFETY_CENTER" />
  565. <!-- Permissions required for CTS test - CtsVirtualDevicesTestCases -->
  566. <uses-permission android:name="android.permission.CREATE_VIRTUAL_DEVICE" />
  567. <uses-permission android:name="android.permission.ADD_TRUSTED_DISPLAY" />
  568. <uses-permission android:name="android.permission.ADD_ALWAYS_UNLOCKED_DISPLAY" />
  569. <!-- Permission required for CTS test - Notification test suite -->
  570. <uses-permission android:name="android.permission.REVOKE_POST_NOTIFICATIONS_WITHOUT_KILL" />
  571. <!-- Permission required for test - CellBroadcastComplianceTest -->
  572. <uses-permission android:name="com.android.cellbroadcastservice.FULL_ACCESS_CELL_BROADCAST_HISTORY" />
  573. <!-- Permission required for CTS test - CaptioningManagerTest -->
  574. <uses-permission android:name="android.permission.SET_SYSTEM_AUDIO_CAPTION" />
  575. <!-- Permission required for CTS test - CtsTelephonyTestCases -->
  576. <uses-permission android:name="android.permission.BIND_TELECOM_CONNECTION_SERVICE" />
  577. <!-- Permission required for CTS test - CtsPersistentDataBlockManagerTestCases -->
  578. <uses-permission android:name="android.permission.ACCESS_PDB_STATE" />
  579. <!-- Permission required for CTS test - CtsAppEnumerationTestCases -->
  580. <uses-permission android:name="android.permission.MAKE_UID_VISIBLE" />
  581. <!-- Permission required for CTS test - CtsKeystoreTestCases -->
  582. <uses-permission android:name="android.permission.REQUEST_UNIQUE_ID_ATTESTATION" />
  583. <!-- Permission required for CTS test - CtsDevicePolicyManagerTestCases -->
  584. <uses-permission android:name="android.permission.READ_NEARBY_STREAMING_POLICY" />
  585. <application android:label="@string/app_label"
  586. android:theme="@android:style/Theme.DeviceDefault.DayNight"
  587. android:defaultToDeviceProtectedStorage="true"
  588. android:directBootAware="true">
  589. <provider
  590. android:name="androidx.core.content.FileProvider"
  591. android:authorities="com.android.shell"
  592. android:grantUriPermissions="true"
  593. android:exported="false">
  594. <meta-data
  595. android:name="android.support.FILE_PROVIDER_PATHS"
  596. android:resource="@xml/file_provider_paths" />
  597. </provider>
  598. <provider
  599. android:name=".BugreportStorageProvider"
  600. android:authorities="com.android.shell.documents"
  601. android:grantUriPermissions="true"
  602. android:exported="true"
  603. android:permission="android.permission.MANAGE_DOCUMENTS"
  604. android:enabled="false">
  605. <intent-filter>
  606. <action android:name="android.content.action.DOCUMENTS_PROVIDER" />
  607. </intent-filter>
  608. </provider>
  609. <provider android:name=".HeapDumpProvider"
  610. android:authorities="com.android.shell.heapdump"
  611. android:grantUriPermissions="true"
  612. android:exported="false" />
  613. <activity
  614. android:name=".BugreportWarningActivity"
  615. android:theme="@*android:style/Theme.DeviceDefault.Dialog.Alert.DayNight"
  616. android:finishOnCloseSystemDialogs="true"
  617. android:excludeFromRecents="true"
  618. android:exported="false" />
  619. <activity android:name=".HeapDumpActivity"
  620. android:theme="@*android:style/Theme.Translucent.NoTitleBar"
  621. android:label="@*android:string/dump_heap_title"
  622. android:finishOnCloseSystemDialogs="true"
  623. android:noHistory="true"
  624. android:excludeFromRecents="true"
  625. android:exported="false" />
  626. <receiver
  627. android:name=".BugreportRequestedReceiver"
  628. android:exported="true"
  629. android:permission="android.permission.TRIGGER_SHELL_BUGREPORT">
  630. <intent-filter>
  631. <action android:name="com.android.internal.intent.action.BUGREPORT_REQUESTED" />
  632. </intent-filter>
  633. </receiver>
  634. <receiver
  635. android:name=".HeapDumpReceiver"
  636. android:exported="true"
  637. android:permission="android.permission.DUMP">
  638. <intent-filter>
  639. <action android:name="android.intent.action.BOOT_COMPLETED" />
  640. <action android:name="com.android.internal.intent.action.HEAP_DUMP_FINISHED" />
  641. <action android:name="com.android.shell.action.DELETE_HEAP_DUMP" />
  642. </intent-filter>
  643. </receiver>
  644. <receiver
  645. android:name=".ProfcollectUploadReceiver"
  646. android:exported="true"
  647. android:permission="android.permission.TRIGGER_SHELL_PROFCOLLECT_UPLOAD" >
  648. <intent-filter>
  649. <action android:name="com.android.shell.action.PROFCOLLECT_UPLOAD" />
  650. </intent-filter>
  651. </receiver>
  652. <service
  653. android:name=".BugreportProgressService"
  654. android:exported="false"/>
  655. </application>
  656. </manifest>
  657.  
Tags: Shell Android
Advertisement
Comments
  • disu1950
    56 days
    # XML 0.09 KB | 0 0
    1. android system shell manifest file:
    2.  - frameworks/base/packages/Shell/AndroidManifest.xml
    3.  
Add Comment
Please, Sign In to add comment
Advertisement