commit | b4fed19dd0c7ccbcd476e74ff123165ec315d8dd | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Tue Sep 22 14:45:40 2020 -0700 |
committer | jiabin <jiabin@google.com> | Wed Nov 18 08:43:29 2020 -0800 |
tree | bd9c475e7ab5b6a7d562bf5b98407af0002ccafd | |
parent | b1c141b95ac1d2fb14d371e6dae530a841a13cb4 [diff] |
Call getAudioPort to get supported attributes for audio devices. GetAudioPort API will return the supported attributes for the devices. Call getAudioPort to get the supported attributes for the audio devices so that it is no needed to get supported attributes via getParameters API. Bug: 160352965 Test: make Test: atest audiopolicy_tests AudioPlaybackCaptureTest Change-Id: Icdfe76e15066bbff10308d6dfd1cf742da33fec9