commit | fe458969447a9f313b6ec7414f4e070908c2c7d1 | [log] [tgz] |
---|---|---|
author | Oscar Azucena <oscarazu@google.com> | Mon Jan 13 17:57:09 2020 -0800 |
committer | Oscar Azucena <oscarazu@google.com> | Wed Jan 22 15:25:12 2020 -0800 |
tree | d86e75484ecc34937ac9fb320906b991bcfe564f | |
parent | 9f621cb4357692bfcaf9b3eb7f026ea148745038 [diff] |
Added occupant zone id to car audio configuration. Added car occupant zone id and audio zone id to car_audio_configuration.xml. Also updated carAudioConfiguration version to 2. Rules for car_audio_configuration.xml Version 2 -Primary zone must have a zone if of PRIMARY_ZONE_ID(0) -Primary zone can have missing primary zone id attribute -Each audio zones must have unique zone id -Non primary audio zone id must be positve integers -Each zone may have a unique occupant zone id -Each occupant zone id must be a positive integer -Version 1 old rules New rules for car_audio_configuration.xml Version 1 -Audio zone id can not be present -Occupant zone id can not be preset Test: atest CarAudioZonesHelperTest Test: atest CarAudioZoneTest Test: atest CarAudioZonesHelperLegacyTest Test: atest AtsAudioDeviceTest Bug: 139365417 Change-Id: I259d379fd7012a7fa9e4866f97359135e8b014d5
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.