diff options
Diffstat (limited to 'emulator/cluster/overlay/packages/services/Car/service/res/values/config.xml')
-rw-r--r-- | emulator/cluster/overlay/packages/services/Car/service/res/values/config.xml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/emulator/cluster/overlay/packages/services/Car/service/res/values/config.xml b/emulator/cluster/overlay/packages/services/Car/service/res/values/config.xml new file mode 100644 index 0000000..4d45871 --- /dev/null +++ b/emulator/cluster/overlay/packages/services/Car/service/res/values/config.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2020, The Android Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> + +<!-- Resources to configure car service based on each OEM's preference. --> +<resources> + <!-- + Specifies configuration of displays in system telling its usage / type and assigned + occupant. + + Some examples are: + <item>displayPort=0,displayType=MAIN,occupantZoneId=0</item> + <item>displayPort=1,displayType=INSTRUMENT_CLUSTER,occupantZoneId=0</item> + <item>displayPort=2,displayType=MAIN,occupantZoneId=1</item> + <item>displayPort=3,displayType=MAIN,occupantZoneId=2</item> + <item>displayPort=4,displayType=MAIN,occupantZoneId=3</item> + + displayPort: Unique port id for the display. + displayType: Display type for the display. Use * part from + CarOccupantZoneManager.DISPLAY_TYPE_* like MAIN, INSTRUMENT_CLUSTER and + etc. + occupantZoneId: occupantZoneId specified from config_occupant_zones. + + --> + <string-array translatable="false" name="config_occupant_display_mapping"> + <item>displayPort=0,displayType=MAIN,occupantZoneId=0</item> + <item>displayPort=1,displayType=INSTRUMENT_CLUSTER,occupantZoneId=0</item> + </string-array> +</resources> |