1<!-- 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 17<!-- 18Each attribute must start with an attribute tag and AudioAttribute usage is set using the usage 19attribute. If one or more of the priority list/interactions is missing it will use the default 20implementation. 21--> 22<oemAudioVolumeConfiguration> 23 <!--- 24 Volume is used to determine the interactions between different active audio attributes. It is 25 set from highest priority to the lowest. 26 27 <volumePriorities> 28 <attribute usage = "AUDIO_USAGE..."/> 29 <attribute usage = "AUDIO_USAGE..."/> 30 ... 31 </volumePriorities> 32 --> 33 <volumePriorities> 34 <attribute usage = "AUDIO_USAGE_EMERGENCY"/> 35 <attribute usage = "AUDIO_USAGE_SAFETY"/> 36 <attribute usage = "AUDIO_USAGE_ASSISTANCE_ACCESSIBILITY"/> 37 <attribute usage = "AUDIO_USAGE_ASSISTANT"/> 38 <attribute usage = "AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE"/> 39 <attribute usage = "AUDIO_USAGE_VOICE_COMMUNICATION"/> 40 <attribute usage = "AUDIO_USAGE_VOICE_COMMUNICATION_SIGNALLING"/> 41 <attribute usage = "AUDIO_USAGE_CALL_ASSISTANT"/> 42 <attribute usage = "AUDIO_USAGE_VEHICLE_STATUS"/> 43 <attribute usage = "AUDIO_USAGE_NOTIFICATION_TELEPHONY_RINGTONE"/> 44 <attribute usage = "AUDIO_USAGE_ASSISTANCE_SONIFICATION"/> 45 <attribute usage = "AUDIO_USAGE_NOTIFICATION"/> 46 <attribute usage = "AUDIO_USAGE_NOTIFICATION_EVENT"/> 47 <attribute usage = "AUDIO_USAGE_ANNOUNCEMENT"/> 48 <attribute usage = "AUDIO_USAGE_ALARM"/> 49 <attribute usage = "AUDIO_USAGE_UNKNOWN"/> 50 <attribute usage = "AUDIO_USAGE_GAME"/> 51 <attribute usage = "AUDIO_USAGE_MEDIA"/> 52 </volumePriorities> 53</oemAudioVolumeConfiguration>