commit | 9a3361e4c6bb01db24c135921b0891e917f71419 | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Tue Oct 01 09:38:30 2019 -0700 |
committer | jiabin <jiabin@google.com> | Fri Oct 11 17:33:15 2019 -0700 |
tree | 3ee2499fd3e267607c9ae56f120687c4bbb5d67b | |
parent | 1865ec9e8a38506e2c7062793f39113f98da0543 [diff] |
Clear up bit mask usage in audio policy. This change includes: 1. Use DeviceTypeSet to represent a combination of audio device types. 2. Add helper functions for DeviceTypeSet 3. Stop using audio device type as a bit mask in DeviceVector Test: atest AudioTrackTest AudioRecordTest AudioPlaybackCaptureTest Test: atest AudioHostTest AudioServiceHostTest audiopolicy_tests Test: audio smoke test Change-Id: If80513b689848bcab6094f70a572f053856afa82