Searched refs:TetheringHardwareAccelPreferenceController (Results 1 – 5 of 5) sorted by relevance
47 private TetheringHardwareAccelPreferenceController mController;53 mController = new TetheringHardwareAccelPreferenceController(mContext); in setup()66 assertThat(mode).isEqualTo(TetheringHardwareAccelPreferenceController.SETTING_VALUE_ON); in onPreferenceChanged_settingEnabled_turnOnTetheringAccel()76 assertThat(mode).isEqualTo(TetheringHardwareAccelPreferenceController.SETTING_VALUE_OFF); in onPreferenceChanged_settingDisabled_turnOffTetheringAccel()83 TetheringHardwareAccelPreferenceController.SETTING_VALUE_ON); in updateState_settingEnabled_preferenceShouldBeChecked()93 TetheringHardwareAccelPreferenceController.SETTING_VALUE_OFF); in updateState_settingDisabled_preferenceShouldNotBeChecked()105 assertThat(mode).isEqualTo(TetheringHardwareAccelPreferenceController.SETTING_VALUE_OFF); in onDeveloperOptionsSwitchDisabled_shouldDisablePreference()
29 public class TetheringHardwareAccelPreferenceController extends DeveloperOptionsPreferenceController class41 public TetheringHardwareAccelPreferenceController(Context context) { in TetheringHardwareAccelPreferenceController() method in TetheringHardwareAccelPreferenceController
434 controllers.add(new TetheringHardwareAccelPreferenceController(context)); in buildPreferenceControllers()
438 controllers.add(new TetheringHardwareAccelPreferenceController(context)); in buildPreferenceControllers()