1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* 4** Copyright 2021, 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 20<!-- Resources to configure car service based on each OEM's preference. --> 21<resources> 22 <!-- 23 Specifies configuration of displays in system telling its usage / type and assigned 24 occupant. 25 26 Some examples are: 27 <item>displayPort=0,displayType=MAIN,occupantZoneId=0</item> 28 <item>displayPort=1,displayType=INSTRUMENT_CLUSTER,occupantZoneId=0</item> 29 <item>displayPort=2,displayType=MAIN,occupantZoneId=1</item> 30 <item>displayPort=3,displayType=MAIN,occupantZoneId=2</item> 31 <item>displayPort=4,displayType=MAIN,occupantZoneId=3</item> 32 33 displayPort: Unique port id for the display. 34 displayType: Display type for the display. Use * part from 35 CarOccupantZoneManager.DISPLAY_TYPE_* like MAIN, INSTRUMENT_CLUSTER and 36 etc. 37 occupantZoneId: occupantZoneId specified from config_occupant_zones. 38 39 --> 40 <string-array translatable="false" name="config_occupant_display_mapping"> 41 <item>displayPort=0,displayType=MAIN,occupantZoneId=0</item> 42 <item>displayUniqueId=virtual:com.android.car.cluster.osdouble:ClusterDisplay,displayType=INSTRUMENT_CLUSTER,occupantZoneId=0</item> 43 </string-array> 44 45 <!-- 46 Specifies optional features that can be enabled by this image. Note that vhal can disable 47 them depending on product variation. 48 Feature name can be either service name defined in Car.*_SERVICE for Car*Manager or any 49 optional feature defined under @OptionalFeature annotation. 50 Note that '/' is used to have subfeature under main feature like "MAIN_FEATURE/SUB_FEATURE". 51 52 Some examples are: 53 <item>storage_monitoring</item> 54 <item>com.android.car.user.CarUserNoticeService</item> 55 <item>com.example.Feature/SubFeature</item> 56 57 The default list defined below will enable all optional features defined. 58 --> 59 <!-- Override cluster_service with cluster_home_service. --> 60 <string-array translatable="false" name="config_allowed_optional_car_features"> 61 <item>car_navigation_service</item> 62 <item>cluster_home_service</item> 63 <item>com.android.car.user.CarUserNoticeService</item> 64 <item>diagnostic</item> 65 <item>storage_monitoring</item> 66 <item>vehicle_map_service</item> 67 <item>car_evs_service</item> 68 <item>car_telemetry_service</item> 69 </string-array> 70</resources> 71