<?xml version="1.0" encoding="utf-8"?> <!-- /* ** Copyright 2015, 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. */ --> <!-- Resources to configure car service based on each OEM's preference. --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <!-- Audio routing policy for all H/W variants. Each item represents policy for one variant. Each item is defined in this format: physicalStreamNumber:(streamType,)*StreamType#physicalStreamNumber:... Stream type is logical stream type to route to the physical stream. Currently defined types are: call, media, nav_guidance, voice_command, alarm, notification, system, safety, and unknown unknown is for stream not tagged with specific contents. physicalStreamNumber should be [0, maxNumberOfPhysicalStream - 1]. There is no "radio" as radio routing is outside android (for external module) or same as music (for android internal module) OEM can put multiple policies as item and VEHICLE_PROPERTY_AUDIO_HW_VARIANT in vehicle HAL can decide which policy to use for the given H/W. This allows OEMs to support multuple audio policy from single android S/W by detecting system's audio capability in vehicle HAL.--> <string-array translatable="false" name="audioRoutingPolicy"> <!-- alll logical streams into single physical stream 0. --> <item>"0:call,media,nav_guidance,voice_command,alarm,notification,system,safety,unknown"</item> <!-- call and media to physical stream 0 while all others go to physical stream 1 --> <item>"0:call,media,unknown#1:nav_guidance,voice_command,alarm,notification,system,safety"</item> </string-array> <!-- This is kernel device node to allow input event injection for key inputs coming from vehicle hal --> <string name="inputInjectionDeviceNode">/dev/input/event2</string> <string name="instrumentClusterRendererPackage">android.car.cluster.demorenderer</string> <string name="instrumentClusterRendererFactoryClass">android.car.cluster.demorenderer.InstrumentClusterRendererFactory</string> </resources>