In order to reduce the complexity, LE audio offload couldn't be enabled as a2dp offload disabled. Remove the combination from the developer option 1. As a2dp offload disabled, LE audio offload couldn't be switched. 2. As the user disable a2dp offload, LE audio offload would be disabled as well Bug: 238268927 Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothLeAudioHwOffloadPreferenceControllerTest Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothA2dpHwOffloadPreferenceControllerTest Change-Id: I9ebe26c6a8058798ea654523ad1405a8447268b8
Running Settings Robolectric tests
The full suite
$ croot
$ make RunSettingsRoboTests
Running a single test class
$ croot
$ make RunSettingsRoboTests ROBOTEST_FILTER=<ClassName>
For example:
make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest
You can also use partial class name in ROBOTEST_FILTER. If the partial class name matches multiple file names, all of them will be executed.