Home | History | Annotate | Download | only in etc
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3   ~ Copyright (C) 2016 The Android Open Source Project
      4   ~
      5   ~ Licensed under the Apache License, Version 2.0 (the "License");
      6   ~ you may not use this file except in compliance with the License.
      7   ~ You may obtain a copy of the License at
      8   ~
      9   ~      http://www.apache.org/licenses/LICENSE-2.0
     10   ~
     11   ~ Unless required by applicable law or agreed to in writing, software
     12   ~ distributed under the License is distributed on an "AS IS" BASIS,
     13   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14   ~ See the License for the specific language governing permissions and
     15   ~ limitations under the License
     16   -->
     17 
     18 <!--
     19 This XML file declares which signature|privileged permissions should be granted to privileged
     20 applications that come with the platform
     21 -->
     22 <permissions>
     23     <privapp-permissions package="com.android.backupconfirm">
     24         <permission name="android.permission.BACKUP"/>
     25         <permission name="android.permission.CRYPT_KEEPER"/>
     26     </privapp-permissions>
     27 
     28     <privapp-permissions package="com.android.cellbroadcastreceiver">
     29         <permission name="android.permission.INTERACT_ACROSS_USERS"/>
     30         <permission name="android.permission.MANAGE_USERS"/>
     31         <permission name="android.permission.MODIFY_PHONE_STATE"/>
     32         <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
     33         <permission name="android.permission.RECEIVE_EMERGENCY_BROADCAST"/>
     34     </privapp-permissions>
     35 
     36     <privapp-permissions package="com.android.contacts">
     37         <permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
     38         <permission name="com.android.voicemail.permission.READ_VOICEMAIL"/>
     39     </privapp-permissions>
     40 
     41     <privapp-permissions package="com.android.defcontainer">
     42         <permission name="android.permission.ACCESS_CACHE_FILESYSTEM"/>
     43         <permission name="android.permission.ALLOCATE_AGGRESSIVE"/>
     44         <permission name="android.permission.INTERACT_ACROSS_USERS"/>
     45         <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
     46     </privapp-permissions>
     47 
     48     <privapp-permissions package="com.android.dialer">
     49         <permission name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"/>
     50         <permission name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
     51         <permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
     52         <permission name="android.permission.MODIFY_PHONE_STATE"/>
     53         <permission name="android.permission.STOP_APP_SWITCHES"/>
     54         <permission name="com.android.voicemail.permission.READ_VOICEMAIL"/>
     55         <permission name="com.android.voicemail.permission.WRITE_VOICEMAIL"/>
     56     </privapp-permissions>
     57 
     58     <privapp-permissions package="com.android.emergency">
     59         <permission name="android.permission.MANAGE_USERS"/>
     60     </privapp-permissions>
     61 
     62     <privapp-permissions package="com.android.externalstorage">
     63         <permission name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
     64         <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
     65     </privapp-permissions>
     66 
     67     <privapp-permissions package="com.android.launcher">
     68         <permission name="android.permission.BIND_APPWIDGET"/>
     69         <permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
     70     </privapp-permissions>
     71 
     72     <privapp-permissions package="com.android.location.fused">
     73         <permission name="android.permission.INSTALL_LOCATION_PROVIDER"/>
     74     </privapp-permissions>
     75 
     76     <privapp-permissions package="com.android.managedprovisioning">
     77         <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
     78         <permission name="android.permission.CHANGE_CONFIGURATION"/>
     79         <permission name="android.permission.CONNECTIVITY_INTERNAL"/>
     80         <permission name="android.permission.CRYPT_KEEPER"/>
     81         <permission name="android.permission.DELETE_PACKAGES"/>
     82         <permission name="android.permission.INSTALL_PACKAGES"/>
     83         <permission name="android.permission.INTERACT_ACROSS_USERS"/>
     84         <permission name="android.permission.MANAGE_DEVICE_ADMINS"/>
     85         <permission name="android.permission.MANAGE_USERS"/>
     86         <permission name="android.permission.MASTER_CLEAR"/>
     87         <permission name="android.permission.PERFORM_CDMA_PROVISIONING"/>
     88         <permission name="android.permission.SET_TIME"/>
     89         <permission name="android.permission.SET_TIME_ZONE"/>
     90         <permission name="android.permission.SHUTDOWN"/>
     91         <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
     92     </privapp-permissions>
     93 
     94     <privapp-permissions package="com.android.mms.service">
     95         <permission name="android.permission.BIND_CARRIER_MESSAGING_SERVICE"/>
     96         <permission name="android.permission.BIND_CARRIER_SERVICES"/>
     97         <permission name="android.permission.INTERACT_ACROSS_USERS"/>
     98     </privapp-permissions>
     99 
    100     <privapp-permissions package="com.android.mtp">
    101         <permission name="android.permission.MANAGE_USB"/>
    102     </privapp-permissions>
    103 
    104     <privapp-permissions package="com.android.musicfx">
    105         <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
    106     </privapp-permissions>
    107 
    108     <privapp-permissions package="com.android.networkrecommendation">
    109         <permission name="android.permission.SCORE_NETWORKS"/>
    110         <permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
    111         <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
    112     </privapp-permissions>
    113 
    114     <privapp-permissions package="com.android.omadm.service">
    115         <permission name="android.permission.CHANGE_CONFIGURATION"/>
    116         <permission name="android.permission.CONNECTIVITY_INTERNAL"/>
    117         <permission name="android.permission.MODIFY_PHONE_STATE"/>
    118         <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
    119         <permission name="android.permission.WRITE_APN_SETTINGS"/>
    120         <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
    121     </privapp-permissions>
    122 
    123     <privapp-permissions package="com.android.packageinstaller">
    124         <permission name="android.permission.CLEAR_APP_CACHE"/>
    125         <permission name="android.permission.DELETE_PACKAGES"/>
    126         <permission name="android.permission.INSTALL_PACKAGES"/>
    127         <permission name="android.permission.MANAGE_USERS"/>
    128         <permission name="android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS"/>
    129         <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
    130     </privapp-permissions>
    131 
    132     <privapp-permissions package="com.android.phone">
    133         <permission name="android.permission.ACCESS_IMS_CALL_SERVICE"/>
    134         <permission name="android.permission.BIND_CARRIER_MESSAGING_SERVICE"/>
    135         <permission name="android.permission.BIND_CARRIER_SERVICES"/>
    136         <permission name="android.permission.BIND_IMS_SERVICE"/>
    137         <permission name="android.permission.BIND_VISUAL_VOICEMAIL_SERVICE"/>
    138         <permission name="android.permission.CALL_PRIVILEGED"/>
    139         <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
    140         <permission name="android.permission.CHANGE_CONFIGURATION"/>
    141         <permission name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST"/>
    142         <permission name="android.permission.CONNECTIVITY_INTERNAL"/>
    143         <permission name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
    144         <permission name="android.permission.DUMP"/>
    145         <permission name="android.permission.INTERACT_ACROSS_USERS"/>
    146         <permission name="android.permission.LOCAL_MAC_ADDRESS"/>
    147         <permission name="android.permission.MANAGE_USERS"/>
    148         <permission name="android.permission.MODIFY_PHONE_STATE"/>
    149         <permission name="android.permission.PERFORM_CDMA_PROVISIONING"/>
    150         <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
    151         <permission name="android.permission.READ_SEARCH_INDEXABLES"/>
    152         <permission name="android.permission.REBOOT"/>
    153         <permission name="android.permission.REGISTER_CALL_PROVIDER"/>
    154         <permission name="android.permission.REGISTER_SIM_SUBSCRIPTION"/>
    155         <permission name="android.permission.SEND_RESPOND_VIA_MESSAGE"/>
    156         <permission name="android.permission.SET_TIME"/>
    157         <permission name="android.permission.SET_TIME_ZONE"/>
    158         <permission name="android.permission.SHUTDOWN"/>
    159         <permission name="android.permission.STATUS_BAR"/>
    160         <permission name="android.permission.STOP_APP_SWITCHES"/>
    161         <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
    162         <permission name="android.permission.UPDATE_DEVICE_STATS"/>
    163         <permission name="android.permission.UPDATE_LOCK"/>
    164         <permission name="android.permission.WRITE_APN_SETTINGS"/>
    165         <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
    166         <permission name="com.android.voicemail.permission.READ_VOICEMAIL"/>
    167         <permission name="com.android.voicemail.permission.WRITE_VOICEMAIL"/>
    168     </privapp-permissions>
    169 
    170     <privapp-permissions package="com.android.providers.calendar">
    171         <permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
    172         <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
    173     </privapp-permissions>
    174 
    175     <privapp-permissions package="com.android.providers.contacts">
    176         <permission name="android.permission.BIND_DIRECTORY_SEARCH"/>
    177         <permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
    178         <permission name="android.permission.INTERACT_ACROSS_USERS"/>
    179         <permission name="android.permission.MANAGE_USERS"/>
    180         <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
    181     </privapp-permissions>
    182 
    183     <privapp-permissions package="com.android.providers.downloads">
    184         <permission name="android.permission.ACCESS_CACHE_FILESYSTEM"/>
    185         <permission name="android.permission.CLEAR_APP_CACHE"/>
    186         <permission name="android.permission.CONNECTIVITY_INTERNAL"/>
    187         <permission name="android.permission.MODIFY_NETWORK_ACCOUNTING"/>
    188         <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
    189         <permission name="android.permission.UPDATE_DEVICE_STATS"/>
    190     </privapp-permissions>
    191 
    192     <privapp-permissions package="com.android.providers.media">
    193         <permission name="android.permission.ACCESS_MTP"/>
    194         <permission name="android.permission.INTERACT_ACROSS_USERS"/>
    195         <permission name="android.permission.MANAGE_USERS"/>
    196         <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
    197     </privapp-permissions>
    198 
    199     <privapp-permissions package="com.android.providers.telephony">
    200         <permission name="android.permission.INTERACT_ACROSS_USERS"/>
    201         <permission name="android.permission.MODIFY_PHONE_STATE"/>
    202     </privapp-permissions>
    203 
    204     <privapp-permissions package="com.android.provision">
    205         <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
    206     </privapp-permissions>
    207 
    208     <privapp-permissions package="com.android.server.telecom">
    209         <permission name="android.permission.BIND_CONNECTION_SERVICE"/>
    210         <permission name="android.permission.BIND_INCALL_SERVICE"/>
    211         <permission name="android.permission.CALL_PRIVILEGED"/>
    212         <permission name="android.permission.INTERACT_ACROSS_USERS"/>
    213         <permission name="android.permission.MANAGE_USERS"/>
    214         <permission name="android.permission.MODIFY_PHONE_STATE"/>
    215         <permission name="android.permission.STOP_APP_SWITCHES"/>
    216         <permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
    217     </privapp-permissions>
    218 
    219     <privapp-permissions package="com.android.settings">
    220         <permission name="android.permission.ACCESS_CHECKIN_PROPERTIES"/>
    221         <permission name="android.permission.ACCESS_NOTIFICATIONS"/>
    222         <permission name="android.permission.BACKUP"/>
    223         <permission name="android.permission.BATTERY_STATS"/>
    224         <permission name="android.permission.BLUETOOTH_PRIVILEGED"/>
    225         <permission name="android.permission.CHANGE_CONFIGURATION"/>
    226         <permission name="android.permission.DELETE_PACKAGES"/>
    227         <permission name="android.permission.FORCE_STOP_PACKAGES"/>
    228         <permission name="android.permission.MANAGE_DEVICE_ADMINS"/>
    229         <permission name="android.permission.MANAGE_FINGERPRINT"/>
    230         <permission name="android.permission.MANAGE_USB"/>
    231         <permission name="android.permission.MANAGE_USERS"/>
    232         <permission name="android.permission.MASTER_CLEAR"/>
    233         <permission name="android.permission.MODIFY_PHONE_STATE"/>
    234         <permission name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
    235         <permission name="android.permission.MOVE_PACKAGE"/>
    236         <permission name="android.permission.OVERRIDE_WIFI_CONFIG"/>
    237         <permission name="android.permission.PACKAGE_USAGE_STATS"/>
    238         <permission name="android.permission.READ_SEARCH_INDEXABLES"/>
    239         <permission name="android.permission.REBOOT"/>
    240         <permission name="android.permission.SET_TIME"/>
    241         <permission name="android.permission.STATUS_BAR"/>
    242         <permission name="android.permission.TETHER_PRIVILEGED"/>
    243         <permission name="android.permission.USER_ACTIVITY"/>
    244         <permission name="android.permission.WRITE_APN_SETTINGS"/>
    245         <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
    246         <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
    247     </privapp-permissions>
    248 
    249     <privapp-permissions package="com.android.sharedstoragebackup">
    250         <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
    251     </privapp-permissions>
    252 
    253     <privapp-permissions package="com.android.shell">
    254         <permission name="android.permission.BACKUP"/>
    255         <permission name="android.permission.BATTERY_STATS"/>
    256         <permission name="android.permission.BIND_APPWIDGET"/>
    257         <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
    258         <permission name="android.permission.CHANGE_CONFIGURATION"/>
    259         <permission name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST" />
    260         <permission name="android.permission.CHANGE_OVERLAY_PACKAGES"/>
    261         <permission name="android.permission.CLEAR_APP_CACHE"/>
    262         <permission name="android.permission.CONNECTIVITY_INTERNAL"/>
    263         <permission name="android.permission.DELETE_CACHE_FILES"/>
    264         <permission name="android.permission.DELETE_PACKAGES"/>
    265         <permission name="android.permission.DUMP"/>
    266         <permission name="android.permission.FORCE_STOP_PACKAGES"/>
    267         <permission name="android.permission.GET_APP_OPS_STATS"/>
    268         <permission name="android.permission.INSTALL_LOCATION_PROVIDER"/>
    269         <permission name="android.permission.INSTALL_PACKAGES"/>
    270         <permission name="android.permission.INTERACT_ACROSS_USERS"/>
    271         <permission name="android.permission.LOCAL_MAC_ADDRESS"/>
    272         <permission name="android.permission.MANAGE_ACTIVITY_STACKS"/>
    273         <permission name="android.permission.MANAGE_DEVICE_ADMINS"/>
    274         <permission name="android.permission.MANAGE_USB"/>
    275         <permission name="android.permission.MODIFY_APPWIDGET_BIND_PERMISSIONS"/>
    276         <permission name="android.permission.MODIFY_PHONE_STATE"/>
    277         <permission name="android.permission.MOUNT_FORMAT_FILESYSTEMS"/>
    278         <permission name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
    279         <permission name="android.permission.MOVE_PACKAGE"/>
    280         <permission name="android.permission.READ_FRAME_BUFFER"/>
    281         <permission name="android.permission.REAL_GET_TASKS"/>
    282         <permission name="android.permission.REGISTER_CALL_PROVIDER"/>
    283         <permission name="android.permission.REGISTER_CONNECTION_MANAGER"/>
    284         <permission name="android.permission.REGISTER_SIM_SUBSCRIPTION"/>
    285         <permission name="android.permission.RETRIEVE_WINDOW_CONTENT"/>
    286         <permission name="android.permission.SET_ALWAYS_FINISH"/>
    287         <permission name="android.permission.SET_ANIMATION_SCALE"/>
    288         <permission name="android.permission.SET_DEBUG_APP"/>
    289         <permission name="android.permission.SET_PROCESS_LIMIT"/>
    290         <permission name="android.permission.SIGNAL_PERSISTENT_PROCESSES"/>
    291         <permission name="android.permission.STOP_APP_SWITCHES"/>
    292         <permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
    293         <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
    294         <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
    295         <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
    296     </privapp-permissions>
    297 
    298     <privapp-permissions package="com.android.statementservice">
    299         <permission name="android.permission.INTENT_FILTER_VERIFICATION_AGENT"/>
    300     </privapp-permissions>
    301 
    302     <privapp-permissions package="com.android.storagemanager">
    303         <permission name="android.permission.DELETE_PACKAGES"/>
    304         <permission name="android.permission.INTERACT_ACROSS_USERS"/>
    305         <permission name="android.permission.MANAGE_USERS"/>
    306         <permission name="android.permission.PACKAGE_USAGE_STATS"/>
    307         <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
    308     </privapp-permissions>
    309 
    310     <privapp-permissions package="com.android.systemui">
    311         <permission name="android.permission.BATTERY_STATS"/>
    312         <permission name="android.permission.BIND_APPWIDGET"/>
    313         <permission name="android.permission.BLUETOOTH_PRIVILEGED"/>
    314         <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
    315         <permission name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST"/>
    316         <permission name="android.permission.CONNECTIVITY_INTERNAL"/>
    317         <permission name="android.permission.CONTROL_VPN"/>
    318         <permission name="android.permission.DUMP"/>
    319         <permission name="android.permission.GET_APP_OPS_STATS"/>
    320         <permission name="android.permission.INTERACT_ACROSS_USERS"/>
    321         <permission name="android.permission.MANAGE_ACTIVITY_STACKS"/>
    322         <permission name="android.permission.MANAGE_USB"/>
    323         <permission name="android.permission.MANAGE_USERS"/>
    324         <permission name="android.permission.MASTER_CLEAR"/>
    325         <permission name="android.permission.MEDIA_CONTENT_CONTROL"/>
    326         <permission name="android.permission.MODIFY_PHONE_STATE"/>
    327         <permission name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
    328         <permission name="android.permission.OVERRIDE_WIFI_CONFIG"/>
    329         <permission name="android.permission.READ_DREAM_STATE"/>
    330         <permission name="android.permission.READ_FRAME_BUFFER"/>
    331         <permission name="android.permission.READ_NETWORK_USAGE_HISTORY"/>
    332         <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
    333         <permission name="android.permission.REAL_GET_TASKS"/>
    334         <permission name="android.permission.RECEIVE_MEDIA_RESOURCE_USAGE"/>
    335         <permission name="android.permission.START_TASKS_FROM_RECENTS"/>
    336         <permission name="android.permission.STATUS_BAR"/>
    337         <permission name="android.permission.STOP_APP_SWITCHES"/>
    338         <permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
    339         <permission name="android.permission.TETHER_PRIVILEGED"/>
    340         <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
    341         <permission name="android.permission.WRITE_DREAM_STATE"/>
    342         <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
    343         <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
    344     </privapp-permissions>
    345 
    346     <privapp-permissions package="com.android.tv">
    347         <permission name="android.permission.DVB_DEVICE" />
    348         <permission name="android.permission.GLOBAL_SEARCH" />
    349         <permission name="android.permission.MODIFY_PARENTAL_CONTROLS" />
    350         <permission name="com.android.providers.tv.permission.ACCESS_ALL_EPG_DATA" />
    351         <permission name="com.android.providers.tv.permission.ACCESS_WATCHED_PROGRAMS" />
    352     </privapp-permissions>
    353 
    354     <privapp-permissions package="com.android.vpndialogs">
    355         <permission name="android.permission.CONNECTIVITY_INTERNAL"/>
    356         <permission name="android.permission.CONTROL_VPN"/>
    357     </privapp-permissions>
    358 
    359     <privapp-permissions package="com.google.android.ext.services">
    360         <permission name="android.permission.PROVIDE_RESOLVER_RANKER_SERVICE" />
    361     </privapp-permissions>
    362 
    363 </permissions>
    364