1*e4a36f41SAndroid Build Coastguard Worker###################################### 2*e4a36f41SAndroid Build Coastguard Worker# Attribute declarations 3*e4a36f41SAndroid Build Coastguard Worker# 4*e4a36f41SAndroid Build Coastguard Worker 5*e4a36f41SAndroid Build Coastguard Worker# All types used for devices. 6*e4a36f41SAndroid Build Coastguard Worker# On change, update CHECK_FC_ASSERT_ATTRS 7*e4a36f41SAndroid Build Coastguard Worker# in tools/checkfc.c 8*e4a36f41SAndroid Build Coastguard Workerattribute dev_type; 9*e4a36f41SAndroid Build Coastguard Worker 10*e4a36f41SAndroid Build Coastguard Worker# All types used for processes. 11*e4a36f41SAndroid Build Coastguard Workerattribute domain; 12*e4a36f41SAndroid Build Coastguard Worker 13*e4a36f41SAndroid Build Coastguard Worker# All types used for filesystems. 14*e4a36f41SAndroid Build Coastguard Worker# On change, update CHECK_FC_ASSERT_ATTRS 15*e4a36f41SAndroid Build Coastguard Worker# definition in tools/checkfc.c. 16*e4a36f41SAndroid Build Coastguard Workerattribute fs_type; 17*e4a36f41SAndroid Build Coastguard Worker 18*e4a36f41SAndroid Build Coastguard Worker# All types used for context= mounts. 19*e4a36f41SAndroid Build Coastguard Workerattribute contextmount_type; 20*e4a36f41SAndroid Build Coastguard Worker 21*e4a36f41SAndroid Build Coastguard Worker# All types used for files that can exist on a labeled fs. 22*e4a36f41SAndroid Build Coastguard Worker# Do not use for pseudo file types. 23*e4a36f41SAndroid Build Coastguard Worker# On change, update CHECK_FC_ASSERT_ATTRS 24*e4a36f41SAndroid Build Coastguard Worker# definition in tools/checkfc.c. 25*e4a36f41SAndroid Build Coastguard Workerattribute file_type; 26*e4a36f41SAndroid Build Coastguard Worker 27*e4a36f41SAndroid Build Coastguard Worker# All types used for domain entry points. 28*e4a36f41SAndroid Build Coastguard Workerattribute exec_type; 29*e4a36f41SAndroid Build Coastguard Worker 30*e4a36f41SAndroid Build Coastguard Worker# All types used for /data files. 31*e4a36f41SAndroid Build Coastguard Workerattribute data_file_type; 32*e4a36f41SAndroid Build Coastguard Workerexpandattribute data_file_type false; 33*e4a36f41SAndroid Build Coastguard Worker# All types in /data, not in /data/vendor 34*e4a36f41SAndroid Build Coastguard Workerattribute core_data_file_type; 35*e4a36f41SAndroid Build Coastguard Workerexpandattribute core_data_file_type false; 36*e4a36f41SAndroid Build Coastguard Worker 37*e4a36f41SAndroid Build Coastguard Worker# All types in /system 38*e4a36f41SAndroid Build Coastguard Workerattribute system_file_type; 39*e4a36f41SAndroid Build Coastguard Worker 40*e4a36f41SAndroid Build Coastguard Worker# All types in /vendor 41*e4a36f41SAndroid Build Coastguard Workerattribute vendor_file_type; 42*e4a36f41SAndroid Build Coastguard Worker 43*e4a36f41SAndroid Build Coastguard Worker# All types used for procfs files. 44*e4a36f41SAndroid Build Coastguard Workerattribute proc_type; 45*e4a36f41SAndroid Build Coastguard Workerexpandattribute proc_type false; 46*e4a36f41SAndroid Build Coastguard Worker 47*e4a36f41SAndroid Build Coastguard Worker# Types in /proc/net, excluding qtaguid types. 48*e4a36f41SAndroid Build Coastguard Worker# TODO(b/9496886) Lock down access to /proc/net. 49*e4a36f41SAndroid Build Coastguard Worker# This attribute is used to audit access to proc_net. it is temporary and will 50*e4a36f41SAndroid Build Coastguard Worker# be removed. 51*e4a36f41SAndroid Build Coastguard Workerattribute proc_net_type; 52*e4a36f41SAndroid Build Coastguard Workerexpandattribute proc_net_type true; 53*e4a36f41SAndroid Build Coastguard Worker 54*e4a36f41SAndroid Build Coastguard Worker# All types used for sysfs files. 55*e4a36f41SAndroid Build Coastguard Workerattribute sysfs_type; 56*e4a36f41SAndroid Build Coastguard Worker 57*e4a36f41SAndroid Build Coastguard Worker# All types use for debugfs files. 58*e4a36f41SAndroid Build Coastguard Workerattribute debugfs_type; 59*e4a36f41SAndroid Build Coastguard Worker 60*e4a36f41SAndroid Build Coastguard Worker# Attribute used for all sdcards 61*e4a36f41SAndroid Build Coastguard Workerattribute sdcard_type; 62*e4a36f41SAndroid Build Coastguard Worker 63*e4a36f41SAndroid Build Coastguard Worker# All types used for nodes/hosts. 64*e4a36f41SAndroid Build Coastguard Workerattribute node_type; 65*e4a36f41SAndroid Build Coastguard Worker 66*e4a36f41SAndroid Build Coastguard Worker# All types used for network interfaces. 67*e4a36f41SAndroid Build Coastguard Workerattribute netif_type; 68*e4a36f41SAndroid Build Coastguard Worker 69*e4a36f41SAndroid Build Coastguard Worker# All types used for network ports. 70*e4a36f41SAndroid Build Coastguard Workerattribute port_type; 71*e4a36f41SAndroid Build Coastguard Worker 72*e4a36f41SAndroid Build Coastguard Worker# All types used for property service 73*e4a36f41SAndroid Build Coastguard Worker# On change, update CHECK_PC_ASSERT_ATTRS 74*e4a36f41SAndroid Build Coastguard Worker# definition in tools/checkfc.c. 75*e4a36f41SAndroid Build Coastguard Workerattribute property_type; 76*e4a36f41SAndroid Build Coastguard Worker 77*e4a36f41SAndroid Build Coastguard Worker# All properties defined in core SELinux policy. Should not be 78*e4a36f41SAndroid Build Coastguard Worker# used by device specific properties 79*e4a36f41SAndroid Build Coastguard Workerattribute core_property_type; 80*e4a36f41SAndroid Build Coastguard Worker 81*e4a36f41SAndroid Build Coastguard Worker# All properties used to configure log filtering. 82*e4a36f41SAndroid Build Coastguard Workerattribute log_property_type; 83*e4a36f41SAndroid Build Coastguard Worker 84*e4a36f41SAndroid Build Coastguard Worker# All properties that are not specific to device but are added from 85*e4a36f41SAndroid Build Coastguard Worker# outside of AOSP. (e.g. OEM-specific properties) 86*e4a36f41SAndroid Build Coastguard Worker# These properties are not accessible from device-specific domains 87*e4a36f41SAndroid Build Coastguard Workerattribute extended_core_property_type; 88*e4a36f41SAndroid Build Coastguard Worker 89*e4a36f41SAndroid Build Coastguard Worker# Properties used for representing ownership. All properties should have one 90*e4a36f41SAndroid Build Coastguard Worker# of: system_property_type, product_property_type, or vendor_property_type. 91*e4a36f41SAndroid Build Coastguard Worker 92*e4a36f41SAndroid Build Coastguard Worker# All properties defined by /system. 93*e4a36f41SAndroid Build Coastguard Workerattribute system_property_type; 94*e4a36f41SAndroid Build Coastguard Workerexpandattribute system_property_type false; 95*e4a36f41SAndroid Build Coastguard Worker 96*e4a36f41SAndroid Build Coastguard Worker# All /system-defined properties used only in /system. 97*e4a36f41SAndroid Build Coastguard Workerattribute system_internal_property_type; 98*e4a36f41SAndroid Build Coastguard Workerexpandattribute system_internal_property_type false; 99*e4a36f41SAndroid Build Coastguard Worker 100*e4a36f41SAndroid Build Coastguard Worker# All /system-defined properties which can't be written outside /system. 101*e4a36f41SAndroid Build Coastguard Workerattribute system_restricted_property_type; 102*e4a36f41SAndroid Build Coastguard Workerexpandattribute system_restricted_property_type false; 103*e4a36f41SAndroid Build Coastguard Worker 104*e4a36f41SAndroid Build Coastguard Worker# All /system-defined properties with no restrictions. 105*e4a36f41SAndroid Build Coastguard Workerattribute system_public_property_type; 106*e4a36f41SAndroid Build Coastguard Workerexpandattribute system_public_property_type false; 107*e4a36f41SAndroid Build Coastguard Worker 108*e4a36f41SAndroid Build Coastguard Worker# All properties defined by /product. 109*e4a36f41SAndroid Build Coastguard Worker# Currently there are no enforcements between /system and /product, so for now 110*e4a36f41SAndroid Build Coastguard Worker# /product attributes are just replaced to /system attributes. 111*e4a36f41SAndroid Build Coastguard Workerdefine(`product_property_type', `system_property_type') 112*e4a36f41SAndroid Build Coastguard Workerdefine(`product_internal_type', `system_internal_property_type') 113*e4a36f41SAndroid Build Coastguard Workerdefine(`product_restricted_type', `system_restricted_property_type') 114*e4a36f41SAndroid Build Coastguard Workerdefine(`product_public_type', `system_public_property_type') 115*e4a36f41SAndroid Build Coastguard Worker 116*e4a36f41SAndroid Build Coastguard Worker# All properties defined by /vendor. 117*e4a36f41SAndroid Build Coastguard Workerattribute vendor_property_type; 118*e4a36f41SAndroid Build Coastguard Workerexpandattribute vendor_property_type false; 119*e4a36f41SAndroid Build Coastguard Worker 120*e4a36f41SAndroid Build Coastguard Worker# All /vendor-defined properties used only in /vendor. 121*e4a36f41SAndroid Build Coastguard Workerattribute vendor_internal_property_type; 122*e4a36f41SAndroid Build Coastguard Workerexpandattribute vendor_internal_property_type false; 123*e4a36f41SAndroid Build Coastguard Worker 124*e4a36f41SAndroid Build Coastguard Worker# All /vendor-defined properties which can't be written outside /vendor. 125*e4a36f41SAndroid Build Coastguard Workerattribute vendor_restricted_property_type; 126*e4a36f41SAndroid Build Coastguard Workerexpandattribute vendor_restricted_property_type false; 127*e4a36f41SAndroid Build Coastguard Worker 128*e4a36f41SAndroid Build Coastguard Worker# All /vendor-defined properties with no restrictions. 129*e4a36f41SAndroid Build Coastguard Workerattribute vendor_public_property_type; 130*e4a36f41SAndroid Build Coastguard Workerexpandattribute vendor_public_property_type false; 131*e4a36f41SAndroid Build Coastguard Worker 132*e4a36f41SAndroid Build Coastguard Worker# All service_manager types created by system_server 133*e4a36f41SAndroid Build Coastguard Workerattribute system_server_service; 134*e4a36f41SAndroid Build Coastguard Worker 135*e4a36f41SAndroid Build Coastguard Worker# services which should be available to all but isolated apps 136*e4a36f41SAndroid Build Coastguard Workerattribute app_api_service; 137*e4a36f41SAndroid Build Coastguard Worker 138*e4a36f41SAndroid Build Coastguard Worker# services which should be available to all ephemeral apps 139*e4a36f41SAndroid Build Coastguard Workerattribute ephemeral_app_api_service; 140*e4a36f41SAndroid Build Coastguard Worker 141*e4a36f41SAndroid Build Coastguard Worker# services which export only system_api 142*e4a36f41SAndroid Build Coastguard Workerattribute system_api_service; 143*e4a36f41SAndroid Build Coastguard Worker 144*e4a36f41SAndroid Build Coastguard Worker# services which served by vendor and also using the copy of libbinder on 145*e4a36f41SAndroid Build Coastguard Worker# system (for instance via libbinder_ndk). services using a different copy 146*e4a36f41SAndroid Build Coastguard Worker# of libbinder currently need their own context manager (e.g. 147*e4a36f41SAndroid Build Coastguard Worker# vndservicemanager) 148*e4a36f41SAndroid Build Coastguard Workerattribute vendor_service; 149*e4a36f41SAndroid Build Coastguard Worker 150*e4a36f41SAndroid Build Coastguard Worker# All types used for services managed by servicemanager. 151*e4a36f41SAndroid Build Coastguard Worker# On change, update CHECK_SC_ASSERT_ATTRS 152*e4a36f41SAndroid Build Coastguard Worker# definition in tools/checkfc.c. 153*e4a36f41SAndroid Build Coastguard Workerattribute service_manager_type; 154*e4a36f41SAndroid Build Coastguard Worker 155*e4a36f41SAndroid Build Coastguard Worker# All types used for services managed by hwservicemanager 156*e4a36f41SAndroid Build Coastguard Workerattribute hwservice_manager_type; 157*e4a36f41SAndroid Build Coastguard Worker 158*e4a36f41SAndroid Build Coastguard Worker# All HwBinder services guaranteed to be passthrough. These services always run 159*e4a36f41SAndroid Build Coastguard Worker# in the process of their clients, and thus operate with the same access as 160*e4a36f41SAndroid Build Coastguard Worker# their clients. 161*e4a36f41SAndroid Build Coastguard Workerattribute same_process_hwservice; 162*e4a36f41SAndroid Build Coastguard Worker 163*e4a36f41SAndroid Build Coastguard Worker# All HwBinder services guaranteed to be offered only by core domain components 164*e4a36f41SAndroid Build Coastguard Workerattribute coredomain_hwservice; 165*e4a36f41SAndroid Build Coastguard Worker 166*e4a36f41SAndroid Build Coastguard Worker# All HwBinder services that untrusted apps can't directly access 167*e4a36f41SAndroid Build Coastguard Workerattribute protected_hwservice; 168*e4a36f41SAndroid Build Coastguard Worker 169*e4a36f41SAndroid Build Coastguard Worker# All types used for services managed by vndservicemanager 170*e4a36f41SAndroid Build Coastguard Workerattribute vndservice_manager_type; 171*e4a36f41SAndroid Build Coastguard Worker 172*e4a36f41SAndroid Build Coastguard Worker 173*e4a36f41SAndroid Build Coastguard Worker# All domains that can override MLS restrictions. 174*e4a36f41SAndroid Build Coastguard Worker# i.e. processes that can read up and write down. 175*e4a36f41SAndroid Build Coastguard Workerattribute mlstrustedsubject; 176*e4a36f41SAndroid Build Coastguard Worker 177*e4a36f41SAndroid Build Coastguard Worker# All types that can override MLS restrictions. 178*e4a36f41SAndroid Build Coastguard Worker# i.e. files that can be read by lower and written by higher 179*e4a36f41SAndroid Build Coastguard Workerattribute mlstrustedobject; 180*e4a36f41SAndroid Build Coastguard Worker 181*e4a36f41SAndroid Build Coastguard Worker# All domains used for apps. 182*e4a36f41SAndroid Build Coastguard Workerattribute appdomain; 183*e4a36f41SAndroid Build Coastguard Worker 184*e4a36f41SAndroid Build Coastguard Worker# All third party apps. 185*e4a36f41SAndroid Build Coastguard Workerattribute untrusted_app_all; 186*e4a36f41SAndroid Build Coastguard Worker 187*e4a36f41SAndroid Build Coastguard Worker# All domains used for apps with network access. 188*e4a36f41SAndroid Build Coastguard Workerattribute netdomain; 189*e4a36f41SAndroid Build Coastguard Worker 190*e4a36f41SAndroid Build Coastguard Worker# All domains used for apps with bluetooth access. 191*e4a36f41SAndroid Build Coastguard Workerattribute bluetoothdomain; 192*e4a36f41SAndroid Build Coastguard Worker 193*e4a36f41SAndroid Build Coastguard Worker# All domains used for binder service domains. 194*e4a36f41SAndroid Build Coastguard Workerattribute binderservicedomain; 195*e4a36f41SAndroid Build Coastguard Worker 196*e4a36f41SAndroid Build Coastguard Worker# update_engine related domains that need to apply an update and run 197*e4a36f41SAndroid Build Coastguard Worker# postinstall. This includes the background daemon and the sideload tool from 198*e4a36f41SAndroid Build Coastguard Worker# recovery for A/B devices. 199*e4a36f41SAndroid Build Coastguard Workerattribute update_engine_common; 200*e4a36f41SAndroid Build Coastguard Worker 201*e4a36f41SAndroid Build Coastguard Worker# All core domains (as opposed to vendor/device-specific domains) 202*e4a36f41SAndroid Build Coastguard Workerattribute coredomain; 203*e4a36f41SAndroid Build Coastguard Worker 204*e4a36f41SAndroid Build Coastguard Worker# All socket devices owned by core domain components 205*e4a36f41SAndroid Build Coastguard Workerattribute coredomain_socket; 206*e4a36f41SAndroid Build Coastguard Workerexpandattribute coredomain_socket false; 207*e4a36f41SAndroid Build Coastguard Worker 208*e4a36f41SAndroid Build Coastguard Worker# All vendor domains which violate the requirement of not using Binder 209*e4a36f41SAndroid Build Coastguard Worker# TODO(b/35870313): Remove this once there are no violations 210*e4a36f41SAndroid Build Coastguard Workerattribute binder_in_vendor_violators; 211*e4a36f41SAndroid Build Coastguard Workerexpandattribute binder_in_vendor_violators false; 212*e4a36f41SAndroid Build Coastguard Worker 213*e4a36f41SAndroid Build Coastguard Worker# All vendor domains which violate the requirement of not using sockets for 214*e4a36f41SAndroid Build Coastguard Worker# communicating with core components 215*e4a36f41SAndroid Build Coastguard Worker# TODO(b/36577153): Remove this once there are no violations 216*e4a36f41SAndroid Build Coastguard Workerattribute socket_between_core_and_vendor_violators; 217*e4a36f41SAndroid Build Coastguard Workerexpandattribute socket_between_core_and_vendor_violators false; 218*e4a36f41SAndroid Build Coastguard Worker 219*e4a36f41SAndroid Build Coastguard Worker# All vendor domains which violate the requirement of not executing 220*e4a36f41SAndroid Build Coastguard Worker# system processes 221*e4a36f41SAndroid Build Coastguard Worker# TODO(b/36463595) 222*e4a36f41SAndroid Build Coastguard Workerattribute vendor_executes_system_violators; 223*e4a36f41SAndroid Build Coastguard Workerexpandattribute vendor_executes_system_violators false; 224*e4a36f41SAndroid Build Coastguard Worker 225*e4a36f41SAndroid Build Coastguard Worker# All domains which violate the requirement of not sharing files by path 226*e4a36f41SAndroid Build Coastguard Worker# between between vendor and core domains. 227*e4a36f41SAndroid Build Coastguard Worker# TODO(b/34980020) 228*e4a36f41SAndroid Build Coastguard Workerattribute data_between_core_and_vendor_violators; 229*e4a36f41SAndroid Build Coastguard Workerexpandattribute data_between_core_and_vendor_violators false; 230*e4a36f41SAndroid Build Coastguard Worker 231*e4a36f41SAndroid Build Coastguard Worker# All system domains which violate the requirement of not executing vendor 232*e4a36f41SAndroid Build Coastguard Worker# binaries/libraries. 233*e4a36f41SAndroid Build Coastguard Worker# TODO(b/62041836) 234*e4a36f41SAndroid Build Coastguard Workerattribute system_executes_vendor_violators; 235*e4a36f41SAndroid Build Coastguard Workerexpandattribute system_executes_vendor_violators false; 236*e4a36f41SAndroid Build Coastguard Worker 237*e4a36f41SAndroid Build Coastguard Worker# All system domains which violate the requirement of not writing vendor 238*e4a36f41SAndroid Build Coastguard Worker# properties. 239*e4a36f41SAndroid Build Coastguard Worker# TODO(b/78598545): Remove this once there are no violations 240*e4a36f41SAndroid Build Coastguard Workerattribute system_writes_vendor_properties_violators; 241*e4a36f41SAndroid Build Coastguard Workerexpandattribute system_writes_vendor_properties_violators false; 242*e4a36f41SAndroid Build Coastguard Worker 243*e4a36f41SAndroid Build Coastguard Worker# All system domains which violate the requirement of not writing to 244*e4a36f41SAndroid Build Coastguard Worker# /mnt/vendor/*. Must not be used on devices launched with P or later. 245*e4a36f41SAndroid Build Coastguard Workerattribute system_writes_mnt_vendor_violators; 246*e4a36f41SAndroid Build Coastguard Workerexpandattribute system_writes_mnt_vendor_violators false; 247*e4a36f41SAndroid Build Coastguard Worker 248*e4a36f41SAndroid Build Coastguard Worker# hwservices that are accessible from untrusted applications 249*e4a36f41SAndroid Build Coastguard Worker# WARNING: Use of this attribute should be avoided unless 250*e4a36f41SAndroid Build Coastguard Worker# absolutely necessary. It is a temporary allowance to aid the 251*e4a36f41SAndroid Build Coastguard Worker# transition to treble and will be removed in a future platform 252*e4a36f41SAndroid Build Coastguard Worker# version, requiring all hwservices that are labeled with this 253*e4a36f41SAndroid Build Coastguard Worker# attribute to be submitted to AOSP in order to maintain their 254*e4a36f41SAndroid Build Coastguard Worker# app-visibility. 255*e4a36f41SAndroid Build Coastguard Workerattribute untrusted_app_visible_hwservice_violators; 256*e4a36f41SAndroid Build Coastguard Workerexpandattribute untrusted_app_visible_hwservice_violators false; 257*e4a36f41SAndroid Build Coastguard Worker 258*e4a36f41SAndroid Build Coastguard Worker# halserver domains that are accessible to untrusted applications. These 259*e4a36f41SAndroid Build Coastguard Worker# domains are typically those hosting hwservices attributed by the 260*e4a36f41SAndroid Build Coastguard Worker# untrusted_app_visible_hwservice_violators. 261*e4a36f41SAndroid Build Coastguard Worker# WARNING: Use of this attribute should be avoided unless absolutely necessary. 262*e4a36f41SAndroid Build Coastguard Worker# It is a temporary allowance to aid the transition to treble and will be 263*e4a36f41SAndroid Build Coastguard Worker# removed in the future platform version, requiring all halserver domains that 264*e4a36f41SAndroid Build Coastguard Worker# are labeled with this attribute to be submitted to AOSP in order to maintain 265*e4a36f41SAndroid Build Coastguard Worker# their app-visibility. 266*e4a36f41SAndroid Build Coastguard Workerattribute untrusted_app_visible_halserver_violators; 267*e4a36f41SAndroid Build Coastguard Workerexpandattribute untrusted_app_visible_halserver_violators false; 268*e4a36f41SAndroid Build Coastguard Worker 269*e4a36f41SAndroid Build Coastguard Worker# PDX services 270*e4a36f41SAndroid Build Coastguard Workerattribute pdx_endpoint_dir_type; 271*e4a36f41SAndroid Build Coastguard Workerattribute pdx_endpoint_socket_type; 272*e4a36f41SAndroid Build Coastguard Workerexpandattribute pdx_endpoint_socket_type false; 273*e4a36f41SAndroid Build Coastguard Workerattribute pdx_channel_socket_type; 274*e4a36f41SAndroid Build Coastguard Workerexpandattribute pdx_channel_socket_type false; 275*e4a36f41SAndroid Build Coastguard Worker 276*e4a36f41SAndroid Build Coastguard Workerpdx_service_attributes(display_client) 277*e4a36f41SAndroid Build Coastguard Workerpdx_service_attributes(display_manager) 278*e4a36f41SAndroid Build Coastguard Workerpdx_service_attributes(display_screenshot) 279*e4a36f41SAndroid Build Coastguard Workerpdx_service_attributes(display_vsync) 280*e4a36f41SAndroid Build Coastguard Workerpdx_service_attributes(performance_client) 281*e4a36f41SAndroid Build Coastguard Workerpdx_service_attributes(bufferhub_client) 282*e4a36f41SAndroid Build Coastguard Worker 283*e4a36f41SAndroid Build Coastguard Worker# All HAL servers 284*e4a36f41SAndroid Build Coastguard Workerattribute halserverdomain; 285*e4a36f41SAndroid Build Coastguard Worker# All HAL clients 286*e4a36f41SAndroid Build Coastguard Workerattribute halclientdomain; 287*e4a36f41SAndroid Build Coastguard Workerexpandattribute halclientdomain true; 288*e4a36f41SAndroid Build Coastguard Worker 289*e4a36f41SAndroid Build Coastguard Worker# Exempt for halserverdomain to access sockets. Only builds for automotive 290*e4a36f41SAndroid Build Coastguard Worker# device types are allowed to use this attribute (enforced by CTS). 291*e4a36f41SAndroid Build Coastguard Worker# Unlike phone, in a car many modules are external from Android perspective and 292*e4a36f41SAndroid Build Coastguard Worker# HALs should be able to communicate with those devices through sockets. 293*e4a36f41SAndroid Build Coastguard Workerattribute hal_automotive_socket_exemption; 294*e4a36f41SAndroid Build Coastguard Worker 295*e4a36f41SAndroid Build Coastguard Worker# HALs 296*e4a36f41SAndroid Build Coastguard Workerhal_attribute(allocator); 297*e4a36f41SAndroid Build Coastguard Workerhal_attribute(atrace); 298*e4a36f41SAndroid Build Coastguard Workerhal_attribute(audio); 299*e4a36f41SAndroid Build Coastguard Workerhal_attribute(audiocontrol); 300*e4a36f41SAndroid Build Coastguard Workerhal_attribute(authsecret); 301*e4a36f41SAndroid Build Coastguard Workerhal_attribute(bluetooth); 302*e4a36f41SAndroid Build Coastguard Workerhal_attribute(bootctl); 303*e4a36f41SAndroid Build Coastguard Workerhal_attribute(bufferhub); 304*e4a36f41SAndroid Build Coastguard Workerhal_attribute(broadcastradio); 305*e4a36f41SAndroid Build Coastguard Workerhal_attribute(camera); 306*e4a36f41SAndroid Build Coastguard Workerhal_attribute(can_bus); 307*e4a36f41SAndroid Build Coastguard Workerhal_attribute(can_controller); 308*e4a36f41SAndroid Build Coastguard Workerhal_attribute(cas); 309*e4a36f41SAndroid Build Coastguard Workerhal_attribute(codec2); 310*e4a36f41SAndroid Build Coastguard Workerhal_attribute(configstore); 311*e4a36f41SAndroid Build Coastguard Workerhal_attribute(confirmationui); 312*e4a36f41SAndroid Build Coastguard Workerhal_attribute(contexthub); 313*e4a36f41SAndroid Build Coastguard Workerhal_attribute(drm); 314*e4a36f41SAndroid Build Coastguard Workerhal_attribute(dumpstate); 315*e4a36f41SAndroid Build Coastguard Workerhal_attribute(evs); 316*e4a36f41SAndroid Build Coastguard Workerhal_attribute(face); 317*e4a36f41SAndroid Build Coastguard Workerhal_attribute(fingerprint); 318*e4a36f41SAndroid Build Coastguard Workerhal_attribute(gatekeeper); 319*e4a36f41SAndroid Build Coastguard Workerhal_attribute(gnss); 320*e4a36f41SAndroid Build Coastguard Workerhal_attribute(graphics_allocator); 321*e4a36f41SAndroid Build Coastguard Workerhal_attribute(graphics_composer); 322*e4a36f41SAndroid Build Coastguard Workerhal_attribute(health); 323*e4a36f41SAndroid Build Coastguard Workerhal_attribute(health_storage); 324*e4a36f41SAndroid Build Coastguard Workerhal_attribute(identity); 325*e4a36f41SAndroid Build Coastguard Workerhal_attribute(input_classifier); 326*e4a36f41SAndroid Build Coastguard Workerhal_attribute(ir); 327*e4a36f41SAndroid Build Coastguard Workerhal_attribute(keymaster); 328*e4a36f41SAndroid Build Coastguard Workerhal_attribute(light); 329*e4a36f41SAndroid Build Coastguard Workerhal_attribute(lowpan); 330*e4a36f41SAndroid Build Coastguard Workerhal_attribute(memtrack); 331*e4a36f41SAndroid Build Coastguard Workerhal_attribute(neuralnetworks); 332*e4a36f41SAndroid Build Coastguard Workerhal_attribute(nfc); 333*e4a36f41SAndroid Build Coastguard Workerhal_attribute(oemlock); 334*e4a36f41SAndroid Build Coastguard Workerhal_attribute(omx); 335*e4a36f41SAndroid Build Coastguard Workerhal_attribute(power); 336*e4a36f41SAndroid Build Coastguard Workerhal_attribute(power_stats); 337*e4a36f41SAndroid Build Coastguard Workerhal_attribute(rebootescrow); 338*e4a36f41SAndroid Build Coastguard Workerhal_attribute(secure_element); 339*e4a36f41SAndroid Build Coastguard Workerhal_attribute(sensors); 340*e4a36f41SAndroid Build Coastguard Workerhal_attribute(telephony); 341*e4a36f41SAndroid Build Coastguard Workerhal_attribute(tetheroffload); 342*e4a36f41SAndroid Build Coastguard Workerhal_attribute(thermal); 343*e4a36f41SAndroid Build Coastguard Workerhal_attribute(tv_cec); 344*e4a36f41SAndroid Build Coastguard Workerhal_attribute(tv_input); 345*e4a36f41SAndroid Build Coastguard Workerhal_attribute(tv_tuner); 346*e4a36f41SAndroid Build Coastguard Workerhal_attribute(usb); 347*e4a36f41SAndroid Build Coastguard Workerhal_attribute(usb_gadget); 348*e4a36f41SAndroid Build Coastguard Workerhal_attribute(vehicle); 349*e4a36f41SAndroid Build Coastguard Workerhal_attribute(vibrator); 350*e4a36f41SAndroid Build Coastguard Workerhal_attribute(vr); 351*e4a36f41SAndroid Build Coastguard Workerhal_attribute(weaver); 352*e4a36f41SAndroid Build Coastguard Workerhal_attribute(wifi); 353*e4a36f41SAndroid Build Coastguard Workerhal_attribute(wifi_hostapd); 354*e4a36f41SAndroid Build Coastguard Workerhal_attribute(wifi_supplicant); 355*e4a36f41SAndroid Build Coastguard Worker 356*e4a36f41SAndroid Build Coastguard Worker# HwBinder services offered across the core-vendor boundary 357*e4a36f41SAndroid Build Coastguard Worker# 358*e4a36f41SAndroid Build Coastguard Worker# We annotate server domains with x_server to loosen the coupling between 359*e4a36f41SAndroid Build Coastguard Worker# system and vendor images. For example, it should be possible to move a service 360*e4a36f41SAndroid Build Coastguard Worker# from one core domain to another, without having to update the vendor image 361*e4a36f41SAndroid Build Coastguard Worker# which contains clients of this service. 362*e4a36f41SAndroid Build Coastguard Worker 363*e4a36f41SAndroid Build Coastguard Workerattribute automotive_display_service_server; 364*e4a36f41SAndroid Build Coastguard Workerattribute camera_service_server; 365*e4a36f41SAndroid Build Coastguard Workerattribute display_service_server; 366*e4a36f41SAndroid Build Coastguard Workerattribute scheduler_service_server; 367*e4a36f41SAndroid Build Coastguard Workerattribute sensor_service_server; 368*e4a36f41SAndroid Build Coastguard Workerattribute stats_service_server; 369*e4a36f41SAndroid Build Coastguard Workerattribute system_suspend_server; 370*e4a36f41SAndroid Build Coastguard Workerattribute wifi_keystore_service_server; 371*e4a36f41SAndroid Build Coastguard Worker 372*e4a36f41SAndroid Build Coastguard Worker# All types used for super partition block devices. 373*e4a36f41SAndroid Build Coastguard Workerattribute super_block_device_type; 374