1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/* 4** Copyright 2020, 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,inputTypes=TOUCH_SCREEN|DPAD_KEYS| 28 NAVIGATE_KEYS|ROTARY_NAVIGATION</item> 29 <item>displayPort=1,displayType=INSTRUMENT_CLUSTER,occupantZoneId=0, 30 inputTypes=DPAD_KEYS</item> 31 <item>displayPort=2,displayType=MAIN,occupantZoneId=1, 32 inputTypes=TOUCH_SCREEN</item> 33 <item>displayPort=3,displayType=MAIN,occupantZoneId=2, 34 inputTypes=TOUCH_SCREEN</item> 35 <item>displayUniqueId=virtual:com.example:MainD,displayType=MAIN,occupantZoneId=3, 36 inputTypes=TOUCH_SCREEN</item> 37 38 displayPort: Unique port id for the display. 39 displayType: Display type for the display. Use * part from 40 CarOccupantZoneManager.DISPLAY_TYPE_* like MAIN, INSTRUMENT_CLUSTER and 41 etc. 42 occupantZoneId: occupantZoneId specified from config_occupant_zones. 43 inputTypes: supported input types for the corresponding display. 44 --> 45 <string-array translatable="false" name="config_occupant_display_mapping"> 46 <item>displayPort=0,displayType=MAIN,occupantZoneId=0,inputTypes=TOUCH_SCREEN|DPAD_KEYS|NAVIGATE_KEYS|ROTARY_NAVIGATION</item> 47 <item>displayPort=1,displayType=INSTRUMENT_CLUSTER,occupantZoneId=0,inputTypes=DPAD_KEYS</item> 48 </string-array> 49 50 <!-- 51 Specifies optional features that can be enabled by this image. Note that vhal can disable 52 them depending on product variation. 53 Feature name can be either service name defined in Car.*_SERVICE for Car*Manager or any 54 optional feature defined under @OptionalFeature annotation. 55 Note that '/' is used to have subfeature under main feature like "MAIN_FEATURE/SUB_FEATURE". 56 57 Some examples are: 58 <item>storage_monitoring</item> 59 <item>com.android.car.user.CarUserNoticeService</item> 60 <item>com.example.Feature/SubFeature</item> 61 62 The default list defined below will enable all optional features defined. 63 --> 64 <string-array translatable="false" name="config_allowed_optional_car_features"> 65 <item>car_evs_service</item> 66 <item>car_navigation_service</item> 67 <item>cluster_service</item> 68 <item>com.android.car.user.CarUserNoticeService</item> 69 <item>diagnostic</item> 70 <item>storage_monitoring</item> 71 <item>vehicle_map_service</item> 72 <item>car_telemetry_service</item> 73 </string-array> 74 75 <bool name="audioUseDynamicRouting">true</bool> 76 <!-- Configuration to enable muting of individual volume groups. If this is set to 77 false, muting of individual volume groups is disabled, instead muting will toggle master 78 mute. If this is set to true, car volume group muting is enabled and each individual 79 volume group can be muted separately. --> 80 <bool name="audioUseCarVolumeGroupMuting">true</bool> 81 <bool name="audioUseMinMaxActivationVolume">true</bool> 82 <bool name="audioUseFadeManagerConfiguration">true</bool> 83 <bool name="audioUseCarVolumeGroupEvent">true</bool> 84</resources> 85