unplugged-system/packages/services/Car/tests/OemCarServiceTestApp/assets/oem_volume_config.xml

53 lines
2.3 KiB
XML

<!--
~ Copyright (C) 2023 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.
-->
<!--
Each attribute must start with an attribute tag and AudioAttribute usage is set using the usage
attribute. If one or more of the priority list/interactions is missing it will use the default
implementation.
-->
<oemAudioVolumeConfiguration>
<!---
Volume is used to determine the interactions between different active audio attributes. It is
set from highest priority to the lowest.
<volumePriorities>
<attribute usage = "AUDIO_USAGE..."/>
<attribute usage = "AUDIO_USAGE..."/>
...
</volumePriorities>
-->
<volumePriorities>
<attribute usage = "AUDIO_USAGE_EMERGENCY"/>
<attribute usage = "AUDIO_USAGE_SAFETY"/>
<attribute usage = "AUDIO_USAGE_ASSISTANCE_ACCESSIBILITY"/>
<attribute usage = "AUDIO_USAGE_ASSISTANT"/>
<attribute usage = "AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE"/>
<attribute usage = "AUDIO_USAGE_VOICE_COMMUNICATION"/>
<attribute usage = "AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING"/>
<attribute usage = "AUDIO_USAGE_CALL_ASSISTANT"/>
<attribute usage = "AUDIO_USAGE_VEHICLE_STATUS"/>
<attribute usage = "AUDIO_USAGE_NOTIFICATION_TELEPHONY_RINGTONE"/>
<attribute usage = "AUDIO_USAGE_ASSISTANCE_SONIFICATION"/>
<attribute usage = "AUDIO_USAGE_NOTIFICATION"/>
<attribute usage = "AUDIO_USAGE_NOTIFICATION_EVENT"/>
<attribute usage = "AUDIO_USAGE_ANNOUNCEMENT"/>
<attribute usage = "AUDIO_USAGE_ALARM"/>
<attribute usage = "AUDIO_USAGE_UNKNOWN"/>
<attribute usage = "AUDIO_USAGE_GAME"/>
<attribute usage = "AUDIO_USAGE_MEDIA"/>
</volumePriorities>
</oemAudioVolumeConfiguration>