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
Loading
Please register or sign in to comment