1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2023 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16<carAudioConfiguration version="3">
17    <mirroringDevices>
18        <mirroringDevice address="mirror_bus_device_1"/>
19        <mirroringDevice address="mirror_bus_device_2"/>
20    </mirroringDevices>
21    <zones>
22        <zone name="primary zone" isPrimary="true" audioZoneId="0" occupantZoneId="1">
23            <zoneConfigs>
24                <zoneConfig  name="primary zone config 1" isDefault="true">
25                    <volumeGroups>
26                        <group>
27                            <device address="bus0_media_out">
28                                <context context="music"/>
29                            </device>
30                            <device address="bus3_call_ring_out">
31                                <context context="call_ring"/>
32                            </device>
33                        </group>
34                        <group>
35                            <device address="bus1_navigation_out">
36                                <context context="navigation"/>
37                                <context context="emergency"/>
38                                <context context="safety"/>
39                                <context context="vehicle_status"/>
40                                <context context="announcement"/>
41                            </device>
42                        </group>
43                    </volumeGroups>
44                </zoneConfig>
45            </zoneConfigs>
46        </zone>
47        <zone name="rear seat zone" audioZoneId="2">
48            <zoneConfigs>
49                <zoneConfig name="rear seat zone config 1" isDefault="true">
50                    <volumeGroups>
51                        <group>
52                            <device address="bus100_rear_seat">
53                                <context context="music"/>
54                                <context context="navigation"/>
55                                <context context="voice_command"/>
56                                <context context="call_ring"/>
57                                <context context="call"/>
58                                <context context="alarm"/>
59                                <context context="system_sound"/>
60                                <context context="notification"/>
61                                <context context="emergency"/>
62                                <context context="safety"/>
63                                <context context="vehicle_status"/>
64                                <context context="announcement"/>
65                            </device>
66                        </group>
67                    </volumeGroups>
68                </zoneConfig>
69                <zoneConfig name="rear seat zone config 2">
70                    <volumeGroups>
71                        <group>
72                            <device address="bus101_rear_seat">
73                                <context context="music"/>
74                                <context context="navigation"/>
75                                <context context="voice_command"/>
76                                <context context="call_ring"/>
77                                <context context="call"/>
78                                <context context="alarm"/>
79                                <context context="system_sound"/>
80                                <context context="notification"/>
81                                <context context="emergency"/>
82                                <context context="safety"/>
83                                <context context="vehicle_status"/>
84                                <context context="announcement"/>
85                            </device>
86                        </group>
87                    </volumeGroups>
88                </zoneConfig>
89            </zoneConfigs>
90        </zone>
91    </zones>
92</carAudioConfiguration>
93