Searched refs:writeHardwareOverlaysSetting (Results 1 – 2 of 2) sorted by relevance
69 doNothing().when(mController).writeHardwareOverlaysSetting(anyBoolean()); in setUp()78 verify(mController).writeHardwareOverlaysSetting(true); in onPreferenceChange_settingToggledOn_shouldWriteTrueToHardwareOverlaysSetting()85 verify(mController).writeHardwareOverlaysSetting(false); in onPreferenceChange_settingToggledOff_shouldWriteFalseToHardwareOverlaysSetting()115 verify(mController).writeHardwareOverlaysSetting(false); in onDeveloperOptionsSwitchDisabled_preferenceChecked_shouldTurnOffPreference()125 verify(mController, never()).writeHardwareOverlaysSetting(anyBoolean()); in onDeveloperOptionsSwitchDisabled_preferenceUnchecked_shouldNotTurnOffPreference()
62 writeHardwareOverlaysSetting(isEnabled); in onPreferenceChange()78 writeHardwareOverlaysSetting(false); in onDeveloperOptionsSwitchDisabled()108 void writeHardwareOverlaysSetting(boolean isEnabled) { in writeHardwareOverlaysSetting() method in HardwareOverlaysPreferenceController