Home
last modified time | relevance | path

Searched refs:setUxRestricted (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DPreferenceControllerTest.java94 verify((UxRestrictablePreference) mPreference).setUxRestricted(true); in onUxRestrictionsChanged_restricted_preferenceRestricted()
106 verify((UxRestrictablePreference) mPreference).setUxRestricted(false); in onUxRestrictionsChanged_restricted_viewOnly_preferenceUnrestricted()
126 verify((UxRestrictablePreference) preference1).setUxRestricted(true); in onUxRestrictionsChanged_restricted_preferenceGroup_preferencesRestricted()
127 verify((UxRestrictablePreference) preference2).setUxRestricted(true); in onUxRestrictionsChanged_restricted_preferenceGroup_preferencesRestricted()
136 verify((UxRestrictablePreference) mPreference).setUxRestricted(false); in onCreate_unrestricted_disabled_preferenceUnrestricted()
DExtraSettingsPreferenceControllerTest.java132 verify((UxRestrictablePreference) mPreference).setUxRestricted(true); in onUxRestrictionsChanged_restricted_preferenceRestricted()
148 verify((UxRestrictablePreference) mPreference).setUxRestricted(false); in onUxRestrictionsChanged_unrestricted_preferenceUnrestricted()
165 verify((UxRestrictablePreference) mPreference).setUxRestricted(false); in onUxRestrictionsChanged_restricted_viewOnly_preferenceUnrestricted()
181 verify((UxRestrictablePreference) mPreference).setUxRestricted(false); in onUxRestrictionsChanged_distractionOptimized_preferenceUnrestricted()
DActionButtonsPreferenceTest.java279 mPref.setUxRestricted(true); in onButtonClicked_makesToastIfPreferenceRestricted()
296 mPref.setUxRestricted(true); in onButtonClicked_disabled_uxRestricted_shouldDoNothing()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/preference/
DPreferenceTest.java355 preference.setUxRestricted(true); in testSwitchPreference_uxRestricted()
433 preference.setUxRestricted(true); in testRadioPreference_uxRestricted()
519 preference.setUxRestricted(true); in testDropDownPreference_uxRestricted()
571 preference.setUxRestricted(true); in testTwoActionPreference_uxRestricted()
631 preference.setUxRestricted(true); in testTwoActionIconPreference_uxRestricted()
710 preference.setUxRestricted(true); in testTwoActionTextPreference_uxRestricted()
768 preference.setUxRestricted(true); in testTwoActionSwitchPreference_uxRestricted()
828 preference.setUxRestricted(true); in testEditTextPreference_uxRestricted()
971 preference.setUxRestricted(true); in testSeekBarPreference_uxRestricted()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/preference/
DUxRestrictablePreference.java33 void setUxRestricted(boolean restricted); in setUxRestricted() method
DCarUiDropDownPreference.java103 public void setUxRestricted(boolean restricted) { in setUxRestricted() method in CarUiDropDownPreference
DCarUiSwitchPreference.java90 public void setUxRestricted(boolean restricted) { in setUxRestricted() method in CarUiSwitchPreference
DCarUiRadioButtonPreference.java91 public void setUxRestricted(boolean restricted) { in setUxRestricted() method in CarUiRadioButtonPreference
DCarUiMultiSelectListPreference.java116 public void setUxRestricted(boolean restricted) { in setUxRestricted() method in CarUiMultiSelectListPreference
DCarUiListPreference.java106 public void setUxRestricted(boolean restricted) { in setUxRestricted() method in CarUiListPreference
DCarUiPreference.java142 public void setUxRestricted(boolean restricted) { in setUxRestricted() method in CarUiPreference
DCarUiEditTextPreference.java131 public void setUxRestricted(boolean restricted) { in setUxRestricted() method in CarUiEditTextPreference
DCarUiSeekBarDialogPreference.java297 public void setUxRestricted(boolean restricted) { in setUxRestricted() method in CarUiSeekBarDialogPreference
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/preferences/
DPreferenceDemoFragment.java59 ((UxRestrictablePreference) preference).setUxRestricted(restrict); in restrictPreference()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPreferenceController.java478 restrictablePreference.setUxRestricted(restrict); in restrictPreference()