replaced with @SystemApi setPreferredNetworkTypeBitmask Bug: 147405973 Test: make RunSettingsRoboTests ROBOTEST_FILTER=EnabledNetworkModePreferenceControllerTest make RunSettingsRoboTests ROBOTEST_FILTER=PreferredNetworkModePreferenceControllerTest Merged-In: I8ae86595b104dcd16daacbf52cc8eaa5e7a3d08b Change-Id: Ia66cfc8fe109cfc038a8b53969bcd562727dbbc2
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.