Home
last modified time | relevance | path

Searched refs:onSwitchToggled (Results 1 – 25 of 25) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DAutomaticStorageManagementSwitchPreferenceControllerTest.java130 controller.onSwitchToggled(true); in togglingShouldCauseMetricsEvent()
138 mController.onSwitchToggled(true); in togglingShouldUpdateSettingsSecure()
153 mController.onSwitchToggled(true); in togglingOnShouldTriggerWarningFragment()
163 mController.onSwitchToggled(false); in togglingOffShouldTriggerWarningFragment()
176 mController.onSwitchToggled(true); in togglingOnShouldNotTriggerWarningFragmentIfEnabledByDefault()
194 mController.onSwitchToggled(true); in togglingOnShouldTriggerWarningFragmentIfEnabledByDefaultAndDisabledByPolicy()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothEnablerTest.java108 mBluetoothEnabler.onSwitchToggled(false); in onSwitchToggled_shouldLogActionWithSuppliedEvent()
117 mBluetoothEnabler.onSwitchToggled(false); in onSwitchToggled_shouldTriggerCallback()
120 verify(mCallback).onSwitchToggled(false); in onSwitchToggled_shouldTriggerCallback()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherSwitchBarControllerTest.java106 mController.onSwitchToggled(true); in onSwitchToggled_onlyStartsTetherWhenNeeded()
111 mController.onSwitchToggled(true); in onSwitchToggled_onlyStartsTetherWhenNeeded()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/gamedriver/
DGameDriverGlobalSwitchBarControllerTest.java128 mController.onSwitchToggled(true); in onSwitchToggled_checked_shouldTurnOnGameDriver()
141 mController.onSwitchToggled(false); in onSwitchToggled_unchecked_shouldTurnOffGameDriver()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothEnabler.java168 public boolean onSwitchToggled(boolean isChecked) { in onSwitchToggled() method in BluetoothEnabler
244 mCallback.onSwitchToggled(isChecked); in triggerParentPreferenceCallback()
DBluetoothSwitchPreferenceController.java88 public boolean onSwitchToggled(boolean isChecked) { in onSwitchToggled() method in BluetoothSwitchPreferenceController
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothEnabler.java168 public boolean onSwitchToggled(boolean isChecked) { in onSwitchToggled() method in BluetoothEnabler
244 mCallback.onSwitchToggled(isChecked); in triggerParentPreferenceCallback()
DBluetoothSwitchPreferenceController.java88 public boolean onSwitchToggled(boolean isChecked) { in onSwitchToggled() method in BluetoothSwitchPreferenceController
/packages/apps/Settings/src/com/android/settings/widget/
DSwitchWidgetController.java40 boolean onSwitchToggled(boolean isChecked); in onSwitchToggled() method
DMasterSwitchController.java68 return mListener.onSwitchToggled((Boolean) newValue); in onPreferenceChange()
DSwitchBarController.java78 mListener.onSwitchToggled(isChecked); in onSwitchChanged()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DSwitchWidgetController.java40 boolean onSwitchToggled(boolean isChecked); in onSwitchToggled() method
DMasterSwitchController.java68 return mListener.onSwitchToggled((Boolean) newValue); in onPreferenceChange()
DSwitchBarController.java78 mListener.onSwitchToggled(isChecked); in onSwitchChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiEnablerTest.java66 assertThat(mEnabler.onSwitchToggled(true)).isTrue(); in onSwitchToggled_avoidBadWifiConfigIsFalse_shouldReturnTrue()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DMultiUserSwitchBarController.java80 public boolean onSwitchToggled(boolean isChecked) { in onSwitchToggled() method in MultiUserSwitchBarController
/packages/apps/Settings/src/com/android/settings/users/
DMultiUserSwitchBarController.java80 public boolean onSwitchToggled(boolean isChecked) { in onSwitchToggled() method in MultiUserSwitchBarController
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DAutomaticStorageManagementSwitchPreferenceController.java87 public boolean onSwitchToggled(boolean isChecked) { in onSwitchToggled() method in AutomaticStorageManagementSwitchPreferenceController
/packages/apps/Settings/src/com/android/settings/development/gamedriver/
DGameDriverGlobalSwitchBarController.java82 public boolean onSwitchToggled(boolean isChecked) { in onSwitchToggled() method in GameDriverGlobalSwitchBarController
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/gamedriver/
DGameDriverGlobalSwitchBarController.java81 public boolean onSwitchToggled(boolean isChecked) { in onSwitchToggled() method in GameDriverGlobalSwitchBarController
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/
DAutomaticStorageManagementSwitchPreferenceController.java87 public boolean onSwitchToggled(boolean isChecked) { in onSwitchToggled() method in AutomaticStorageManagementSwitchPreferenceController
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DWifiTetherSwitchBarController.java93 public boolean onSwitchToggled(boolean isChecked) { in onSwitchToggled() method in WifiTetherSwitchBarController
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSwitchBarController.java93 public boolean onSwitchToggled(boolean isChecked) { in onSwitchToggled() method in WifiTetherSwitchBarController
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiEnabler.java198 public boolean onSwitchToggled(boolean isChecked) { in onSwitchToggled() method in WifiEnabler
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiEnabler.java198 public boolean onSwitchToggled(boolean isChecked) { in onSwitchToggled() method in WifiEnabler