Searched refs:EXTRA_SWITCH_SET_CHECKED_ERROR (Results 1 – 4 of 4) sorted by relevance
53 public static final String EXTRA_SWITCH_SET_CHECKED_ERROR = "set_checked_error"; field in SwitchesProvider154 bundle.putBoolean(EXTRA_SWITCH_SET_CHECKED_ERROR, !success); in onCheckedChanged()
20 import static com.android.settingslib.drawer.SwitchesProvider.EXTRA_SWITCH_SET_CHECKED_ERROR;295 assertThat(result.getBoolean(EXTRA_SWITCH_SET_CHECKED_ERROR)).isFalse(); in onCheckedChangedSuccess_shouldReturnNoError()311 assertThat(result.getBoolean(EXTRA_SWITCH_SET_CHECKED_ERROR)).isTrue(); in onCheckedChangedFailed_shouldReturnErrorMessage()
22 import static com.android.settingslib.drawer.SwitchesProvider.EXTRA_SWITCH_SET_CHECKED_ERROR;337 final boolean error = result.getBoolean(EXTRA_SWITCH_SET_CHECKED_ERROR);
21 import static com.android.settingslib.drawer.SwitchesProvider.EXTRA_SWITCH_SET_CHECKED_ERROR;338 bundle.putBoolean(EXTRA_SWITCH_SET_CHECKED_ERROR, false); in bindPreference_onCheckedChanged_shouldPutStateToContentProvider()359 bundle.putBoolean(EXTRA_SWITCH_SET_CHECKED_ERROR, true); in bindPreference_onCheckedChangedError_shouldRevertCheckedState()