Home
last modified time | relevance | path

Searched refs:addBaseUserRestriction (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DFactoryResetEntryPreferenceControllerTest.java134 addBaseUserRestriction(DISALLOW_FACTORY_RESET); in getAvailabilityStatus_adminUser_baseRestricted_notDpmRestricted_disabledForUser()
144 addBaseUserRestriction(DISALLOW_FACTORY_RESET); in getAvailabilityStatus_adminUser_baseRestricted_dpmRestricted_available()
175 addBaseUserRestriction(DISALLOW_FACTORY_RESET); in getAvailabilityStatus_demoMode_demoUser_baseRestricted_disabledForUser()
220 addBaseUserRestriction(DISALLOW_FACTORY_RESET); in performClick_showsBlockedToast_adminUser_baseRestricted_notDpmRestricted()
232 addBaseUserRestriction(DISALLOW_FACTORY_RESET); in performClick_showsBlockedToast_adminUser_baseRestricted_dpmRestricted()
268 addBaseUserRestriction(DISALLOW_FACTORY_RESET); in performClick_showsBlockedToast_demoUser_baseRestricted()
295 private void addBaseUserRestriction(String restriction) { in addBaseUserRestriction() method in FactoryResetEntryPreferenceControllerTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DRestrictedEncryptionPreferenceControllerTest.java83 mUserManager.addBaseUserRestriction(UserManager.DISALLOW_CONFIG_CREDENTIALS); in isAvailable_hasRestriction_shouldReturnFalse()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowUserManager.java93 public void addBaseUserRestriction(String restriction) { in addBaseUserRestriction() method in ShadowUserManager
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserDetailsSettingsTest.java390 mUserManager.addBaseUserRestriction(UserManager.DISALLOW_REMOVE_USER); in initialize_disallowRemoveUserRestriction_shouldNotShowRemovePreference()