Before this CL, the USB default settings will set default usb functions to RNDIS when tethering is started. Because in some devices, the NCM is used instead of RNDIS to start tethering. If RNDIS is set in the device that uses NCM to start tethering, it will cause start tethering failed. This CL will use the current functions to set default usb functions to fix this issue. Bug: 195068679 Test: make -j42 RunSettingsRoboTests Change-Id: Ic9353c5ac76c0cd517318a4304fa214d6b2201d2
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.