1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4** Copyright 2018, 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>
21    <!-- Defines the attributes and values used in res/xml/car_volume_groups.xml -->
22    <declare-styleable name="volumeGroups">
23        <attr name="isDeprecated" format="boolean"/>
24    </declare-styleable>
25    <declare-styleable name="volumeGroups_group"/>
26    <declare-styleable name="volumeGroups_context">
27        <!-- Align with CarAudioContext -->
28        <attr name="context">
29            <enum name="music" value="1"/>
30            <enum name="navigation" value="2"/>
31            <enum name="voice_command" value="3"/>
32            <enum name="call_ring" value="4"/>
33            <enum name="call" value="5"/>
34            <enum name="alarm" value="6"/>
35            <enum name="notification" value="7"/>
36            <enum name="system_sound" value="8"/>
37            <enum name="emergency" value="9"/>
38            <enum name="safety" value="10"/>
39            <enum name="vehicle_status" value="11"/>
40            <enum name="announcement" value="12"/>
41        </attr>
42    </declare-styleable>
43
44    <!--
45      Defines the attributes and values used in car_audio_configuration.xml
46      This is a superset of car_volume_groups.xml
47    -->
48    <declare-styleable name="carAudioConfiguration">
49        <attr name="version" format="integer"/>
50        <attr name="isPrimary" format="boolean"/>
51        <attr name="name" format="string"/>
52        <attr name="address" format="string"/>
53        <attr name="display" format="string"/>
54    </declare-styleable>
55</resources>
56