1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4** Copyright 2022, 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<!--
21  Overlay resources to configure car service based on each OEM's preference.
22  See also packages/services/Car/service/res/values/config.xml
23-->
24<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
25    <!-- Assign occupant zones to seats/passengers. -->
26    <string-array translatable="false" name="config_occupant_zones">
27        <item>occupantZoneId=0,occupantType=DRIVER,seatRow=1,seatSide=driver</item>
28        <item>occupantZoneId=1,occupantType=FRONT_PASSENGER,seatRow=1,seatSide=oppositeDriver</item>
29        <item>occupantZoneId=2,occupantType=REAR_PASSENGER,seatRow=2,seatSide=left</item>
30        <item>occupantZoneId=3,occupantType=REAR_PASSENGER,seatRow=2,seatSide=right</item>
31        <item>occupantZoneId=4,occupantType=REAR_PASSENGER,seatRow=3,seatSide=left</item>
32    </string-array>
33
34    <!-- Assign displays to occupant zones.  -->
35    <string-array translatable="false" name="config_occupant_display_mapping">
36        <item>displayPort=0,displayType=MAIN,occupantZoneId=0,inputTypes=TOUCH_SCREEN|DPAD_KEYS|NAVIGATE_KEYS|ROTARY_NAVIGATION</item>
37        <item>displayUniqueId=virtual:com.android.car.cluster.osdouble:ClusterDisplay,displayType=INSTRUMENT_CLUSTER,occupantZoneId=0,inputTypes=DPAD_KEYS</item>
38        <item>displayUniqueId=virtual:com.android.emulator.multidisplay:1234563,displayType=MAIN,occupantZoneId=1,inputTypes=TOUCH_SCREEN</item>
39        <item>displayUniqueId=virtual:com.android.emulator.multidisplay:1234564,displayType=MAIN,occupantZoneId=2,inputTypes=TOUCH_SCREEN</item>
40        <item>displayUniqueId=virtual:com.android.emulator.multidisplay:1234565,displayType=MAIN,occupantZoneId=3,inputTypes=TOUCH_SCREEN</item>
41        <item>displayUniqueId=virtual:com.android.emulator.multidisplay:1234566,displayType=MAIN,occupantZoneId=4,inputTypes=TOUCH_SCREEN</item>
42        <item>displayUniqueId=virtual:com.android.systemui:DisplayCompatDisplay,displayType=DISPLAY_COMPATIBILITY,occupantZoneId=0,inputTypes=TOUCH_SCREEN</item>
43    </string-array>
44
45    <!-- Enable profile user assignment per each CarOccupantZone for per display android user
46         assignments. This feature is still experimental. -->
47    <bool name="enableProfileUserAssignmentForMultiDisplay" translatable="false">true</bool>
48
49    <string-array translatable="false" name="config_allowed_optional_car_features">
50        <item>car_navigation_service</item>
51        <item>cluster_home_service</item>
52        <item>com.android.car.user.CarUserNoticeService</item>
53        <item>diagnostic</item>
54        <item>storage_monitoring</item>
55        <item>vehicle_map_service</item>
56        <item>car_telemetry_service</item>
57        <item>car_display_compat_service</item>
58    </string-array>
59
60    <bool name="audioUseDynamicRouting">true</bool>
61    <bool name="audioUseCarVolumeGroupMuting">true</bool>
62    <bool name="audioUseMinMaxActivationVolume">true</bool>
63    <bool name="audioUseFadeManagerConfiguration">true</bool>
64</resources>
65