Home
last modified time | relevance | path

Searched defs:userRestriction (Results 1 – 11 of 11) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DRestrictedAppPreference.java40 private String userRestriction; field in RestrictedAppPreference
47 public RestrictedAppPreference(Context context, String userRestriction) { in RestrictedAppPreference()
52 public RestrictedAppPreference(Context context, AttributeSet attrs, String userRestriction) { in RestrictedAppPreference()
57 private void initialize(AttributeSet attrs, String userRestriction) { in initialize()
115 public void checkRestrictionAndSetDisabled(String userRestriction) { in checkRestrictionAndSetDisabled()
119 public void checkRestrictionAndSetDisabled(String userRestriction, int userId) { in checkRestrictionAndSetDisabled()
/packages/apps/Settings/src/com/android/settings/widget/
DRestrictedAppPreference.java40 private String userRestriction; field in RestrictedAppPreference
47 public RestrictedAppPreference(Context context, String userRestriction) { in RestrictedAppPreference()
52 public RestrictedAppPreference(Context context, AttributeSet attrs, String userRestriction) { in RestrictedAppPreference()
57 private void initialize(AttributeSet attrs, String userRestriction) { in initialize()
115 public void checkRestrictionAndSetDisabled(String userRestriction) { in checkRestrictionAndSetDisabled()
119 public void checkRestrictionAndSetDisabled(String userRestriction, int userId) { in checkRestrictionAndSetDisabled()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountRestrictionHelper.java51 String userRestriction, @UserIdInt int userId) { in enforceRestrictionOnPreference()
67 public boolean hasBaseUserRestriction(String userRestriction, @UserIdInt int userId) { in hasBaseUserRestriction()
81 private EnforcedAdmin getEnforcedAdmin(String userRestriction, int userId) { in getEnforcedAdmin()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DAccountRestrictionHelper.java42 String userRestriction, @UserIdInt int userId) { in enforceRestrictionOnPreference()
53 public boolean hasBaseUserRestriction(String userRestriction, @UserIdInt int userId) { in hasBaseUserRestriction()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowRestrictedLockUtilsInternal.java55 String userRestriction, int userId) { in checkIfRestrictionEnforced()
61 String userRestriction, int userId) { in hasBaseUserRestriction()
/packages/apps/Settings/tests/unit/src/com/android/settings/core/
DUserRestrictionTest.java130 final String userRestriction = getDataUserRestrictions(mContext, attrs); in verifyUserRestriction() local
141 boolean isValidRestriction(String userRestriction) { in isValidRestriction()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/
DRestrictedEncryptionPreferenceController.java34 public RestrictedEncryptionPreferenceController(Context context, String userRestriction) { in RestrictedEncryptionPreferenceController()
/packages/apps/Settings/src/com/android/settings/security/
DRestrictedEncryptionPreferenceController.java34 public RestrictedEncryptionPreferenceController(Context context, String userRestriction) { in RestrictedEncryptionPreferenceController()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowRestrictedLockUtilsInternal.java89 String userRestriction, int userId) { in hasBaseUserRestriction()
95 String userRestriction, int userId) { in checkIfRestrictionEnforced()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DVerifyAppsOverUsbPreferenceController.java59 Context context, String userRestriction, int userId) { in checkIfRestrictionEnforced()
/packages/apps/Settings/src/com/android/settings/development/
DVerifyAppsOverUsbPreferenceController.java59 Context context, String userRestriction, int userId) { in checkIfRestrictionEnforced()