Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6800cbf authored by Jeremy Wu's avatar Jeremy Wu
Browse files

ioprofile: implement |isRoutableToDevice|

I/O profiles are 1:1 to mix ports, and are identifiable by port ID.

This takes advantage of |getAudioMixPort| that will give an invalid
response code on attempts to associating non-routable ports.

Bug: 367117623
Test: atest audiopolicy_tests
Flag: com.android.media.audioserver.enable_strict_port_routing_checks
Change-Id: Ifbdc6040c4e1ef8c1dcb4cad1012033b05265437
parent b4b260a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment