• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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</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>displayPort=1,displayType=INSTRUMENT_CLUSTER,occupantZoneId=0</item>
43    </string-array>
44</resources>
45