summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author jiabin <jiabin@google.com> 2023-04-25 17:39:04 +0000
committer Jiabin Huang <jiabin@google.com> 2023-05-30 20:50:56 +0000
commite8e0134c04822f8f08a6dfad1a0cb9441c95c361 (patch)
tree1d7443066277a64cca7f6b07a974bf94a97c69cd /libs/androidfw/FileStream.cpp
parent6fe1704881523ed86a339d7977553c62aba380f7 (diff)
USB: update logic for reporting playback and capture capability of USB devices.
Report USB devices support audio capture when there is a terminal whose subtype is ACI_OUTPUT_TERMINAL and terminal type is USB streaming and there is another terminal whose subtype is ACI_INPUT_TERMINAL and terminal type is not USB streaming. Report USB devices support audio playback when there is a terminal whose subtype is ACI_INPUT_TERMINAL and terminal type is USB streaming and there is another terminal whose subtype is ACI_OUTPUT_TERMINAL and terminal type is not USB streaming. Bug: 279151646 Bug: 278603582 Test: connect usb headset, dumpsys audio policy Change-Id: If1c14cc0a4e3fbdfbed2c105d37ece9a866f18ed Merged-In: If1c14cc0a4e3fbdfbed2c105d37ece9a866f18ed (cherry picked from commit 9a5cab13b4b31ba9bf66e90ef07312959aa391d3)
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions