diff options
| author | 2023-04-25 17:39:04 +0000 | |
|---|---|---|
| committer | 2023-04-25 19:45:59 +0000 | |
| commit | 9a5cab13b4b31ba9bf66e90ef07312959aa391d3 (patch) | |
| tree | 2ad6daf35c59b193c6d92db972eb97342ead5d69 /libs/androidfw/FileStream.cpp | |
| parent | 0c919fc12a4f9abc230f5b9c2edd0388d4946dd2 (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
Test: connect usb headset, dumpsys audio policy
Change-Id: If1c14cc0a4e3fbdfbed2c105d37ece9a866f18ed
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions