Create Utils class to store common methods used by Preference controllers Android Settings Feature Request: b/380287172 Bug: 378130789 Test: atest DoubleTapPowerSettingsUtilsTest FLAG: android.service.quickaccesswallet.launch_wallet_option_on_power_double_tap Change-Id: I0bd47579bd3c8163e2e48ac572577c72f2aab785
Running Settings Robolectric tests
The full suite
$ croot
$ atest SettingsRoboTests
Running a single test class
With a filter
$ croot
$ atest SettingsRoboTests:com.android.settings.display.AdaptiveSleepPreferenceControllerTest
You can also run any single test class with atest (it will try to find the correct path)
$ atest AdaptiveSleepPreferenceControllerTest