commit | 0c9dfd9798c5a4edf8e21e82a5c881d21d621a20 | [log] [tgz] |
---|---|---|
author | Oscar Azucena <oscarazu@google.com> | Thu Jul 08 00:04:03 2021 -0700 |
committer | Oscar Azucena <oscarazu@google.com> | Thu Jul 08 12:58:27 2021 -0700 |
tree | 62a55a44efac47d5ca40d36207d2c73095d019b4 | |
parent | 4a31067e470503ea7723d7d6546c8b28f4406ea1 [diff] |
Added unit test for audio zone helpers input devices Added unit tests to audio zone helpers for configuration with microphone input devices. The tests make sure that primary audio zone is correctly set up with microphone input devices. Added unit test to car audio utils method for determining if device is a microphone. Bug: 192698244 Bug: 191370865 Test: atest CarAudioUtilsTest Test: atest CarAudioZonesHelperTest Test: atest CarAudioZonesHelperLegacyTest Change-Id: I48f6b6f1e5697df82ccfae63a60b44abbf40a46b
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.