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

Commit 61fcff0d authored by Jeremy Wu's avatar Jeremy Wu
Browse files

APM: use routing checks with ioprofile

This commit replaces all occurrences in APM
 - s/supports/routesTo/
 - s/supportedDevice/routableDevice/
 - s/SupportedDevices/RoutableDevices/

As all direct invocation, in APM, to the matching functions,
are in a context where the routing should/can be taken into account.

Note that there are still cases where we want to use the weaker
`supports` rather than `routesTo` and invoked indirectly
such as via `getModuleForDeviceType` -> `supportsDeviceTypes`.

Bug: 367117623
Test: atest audiopolicy_tests
Flag: com.android.media.audioserver.enable_strict_port_routing_checks
Change-Id: I8a0b2f5f5d892e15cccaf50957e9c95da09edcff
parent b6800cbf
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