Searched refs:mSwitchController (Results 1 – 5 of 5) sorted by relevance
76 mSwitchController = switchController; in BluetoothEnabler()77 mSwitchController.setListener(this); in BluetoothEnabler()86 mSwitchController.setEnabled(false); in BluetoothEnabler()93 mSwitchController.setupView(); in setupSwitchController()97 mSwitchController.teardownView(); in teardownSwitchController()108 mSwitchController.setEnabled(false); in resume()117 mSwitchController.startListening(); in resume()127 mSwitchController.stopListening(); in pause()181 mSwitchController.setChecked(false); in onSwitchToggled()200 mSwitchController.setEnabled(false); in onSwitchToggled()[all …]
82 private SwitchWidgetController mSwitchController; field in BluetoothEnablerTest95 mSwitchController, in setUp()134 verify(mSwitchController).setDisabledByAdmin(null); in maybeEnforceRestrictions_noRestrictions()155 verify(mSwitchController).setChecked(false); in maybeEnforceRestrictions_disallowBluetoothRestrictionSet()174 verify(mSwitchController).setChecked(false); in maybeEnforceRestrictions_disallowConfigBluetoothRestrictionSet()187 verify(mSwitchController, never()).setEnabled(true); in maybeEnforceRestrictions_disallowBluetoothNotOverriden()195 verify(mSwitchController, never()).setChecked(true); in startWithBluetoothOff_switchIsOff()204 verify(mSwitchController).setChecked(true); in startWithBluetoothOn_switchIsOn()216 verify(mSwitchController).setChecked(true); in bluetoothTurnsOff_switchTurnsOff()228 verify(mSwitchController).setChecked(false); in bluetoothTurnsOff_switchTurnsOff()[all …]
50 private SwitchWidgetController mSwitchController; field in BluetoothSwitchPreferenceControllerTest67 mSwitchController, mFooterPreference); in setUp()
48 private GenericSwitchController mSwitchController; field in AutomaticStorageManagementSwitchPreferenceController84 mSwitchController = new GenericSwitchController(mSwitch); in onResume()85 mSwitchController.setListener(this); in onResume()86 mSwitchController.startListening(); in onResume()
53 private AutomaticStorageManagerSwitchBarController mSwitchController; field in AutomaticStorageManagerSettings89 mSwitchController = in initializeSwitchBar()124 mSwitchController.tearDown(); in onDestroyView()