Home
last modified time | relevance | path

Searched defs:restriction (Results 1 – 25 of 62) sorted by relevance

123

/aosp12/packages/apps/Settings/src/com/android/settings/enterprise/
H A DActionDisabledByAdminDialogHelper.java62 public ActionDisabledByAdminDialogHelper(Activity activity, String restriction) { in ActionDisabledByAdminDialogHelper()
80 public AlertDialog.Builder prepareDialogBuilder(String restriction, in prepareDialogBuilder()
92 void prepareDialogBuilder(AlertDialog.Builder builder, String restriction, in prepareDialogBuilder()
104 public void updateDialog(String restriction, EnforcedAdmin admin) { in updateDialog()
115 String restriction) { in initializeDialogViews()
155 void setAdminSupportTitle(View root, String restriction) { in setAdminSupportTitle()
H A DActionDisabledByAdminDialog.java39 final String restriction = getRestrictionFromIntent(getIntent()); in onCreate() local
50 final String restriction = getRestrictionFromIntent(intent); in onNewIntent() local
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
H A DEnterpriseUtils.java111 public static boolean hasUserRestrictionByDpm(Context context, String restriction) { in hasUserRestrictionByDpm()
122 public static boolean hasUserRestrictionByUm(Context context, String restriction) { in hasUserRestrictionByUm()
164 Context context, String restriction) { in getActionDisabledByAdminDialog()
173 Context context, String restriction) { in getInputMethodDisabledByAdminDialog()
182 Context context, String restriction, @Nullable String restrictedPackage) { in getActionDisabledByAdminDialog()
236 String restriction, String restrictedPackage) { in getEnforcedAdmin()
H A DActionDisabledByAdminDialogFragment.java77 public static ActionDisabledByAdminDialogFragment newInstance(String restriction, in newInstance()
85 public static ActionDisabledByAdminDialogFragment newInstance(String restriction, in newInstance()
215 String restriction) { in setAdminSupportTitle()
H A DActionDisabledByAdminActivity.java45 String restriction = getRestrictionFromIntent(getIntent()); in onCreate() local
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
H A DActionDisabledByAdminDialogHelper.java71 public AlertDialog.Builder prepareDialogBuilder(String restriction, in prepareDialogBuilder()
98 public void updateDialog(String restriction, EnforcedAdmin admin) { in updateDialog()
109 String restriction) { in initializeDialogViews()
127 void setAdminSupportTitle(View root, String restriction) { in setAdminSupportTitle()
H A DActionDisabledByAdminDialog.java41 final String restriction = getRestrictionFromIntent(getIntent()); in onCreate() local
53 final String restriction = getRestrictionFromIntent(intent); in onNewIntent() local
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/
H A DEnterpriseTestUtils.java29 public static void mockUserRestrictionSetByUm(UserManager um, String restriction, in mockUserRestrictionSetByUm()
40 public static void mockUserRestrictionSetByDpm(UserManager um, String restriction, in mockUserRestrictionSetByDpm()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/
H A DActionDisabledByAdminControllerFactory.java42 String restriction, DeviceAdminStringProvider stringProvider, in createInstance()
62 String restriction) { in doesBiometricRequireParentalConsent()
H A DBiometricActionDisabledByAdminController.java51 public String getAdminSupportTitle(@Nullable String restriction) { in getAdminSupportTitle()
H A DFinancedDeviceActionDisabledByAdminController.java42 public String getAdminSupportTitle(@Nullable String restriction) { in getAdminSupportTitle()
H A DActionDisabledByAdminController.java47 String getAdminSupportTitle(@Nullable String restriction); in getAdminSupportTitle()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DUserRestrictionsUtils.java276 public static boolean isValidRestriction(@NonNull String restriction) { in isValidRestriction()
396 public static boolean contains(@Nullable Bundle in, String restriction) { in contains()
416 public static boolean canDeviceOwnerChange(String restriction) { in canDeviceOwnerChange()
424 public static boolean canProfileOwnerChange(String restriction, int userId) { in canProfileOwnerChange()
434 public static boolean canProfileOwnerOfOrganizationOwnedDeviceChange(String restriction) { in canProfileOwnerOfOrganizationOwnedDeviceChange()
681 String restriction; in isSettingRestrictedForUser() local
H A DRestrictionsSet.java93 public void moveRestriction(@NonNull RestrictionsSet destRestrictions, String restriction) { in moveRestriction()
141 public @NonNull List<UserManager.EnforcingUser> getEnforcingUsers(String restriction, in getEnforcingUsers()
/aosp12/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DRestrictionUtils.java38 public EnforcedAdmin checkIfRestrictionEnforced(Context context, String restriction) { in checkIfRestrictionEnforced()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
H A DFactoryResetEntryPreferenceControllerTest.java288 private void addBaseUserRestriction(String restriction) { in addBaseUserRestriction()
293 private void addUserRestriction(String restriction) { in addUserRestriction()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
H A DShadowRestrictionUtils.java16 protected EnforcedAdmin checkIfRestrictionEnforced(Context context, String restriction) { in checkIfRestrictionEnforced()
H A DShadowUserManager.java93 public void addBaseUserRestriction(String restriction) { in addBaseUserRestriction()
104 public void addGuestUserRestriction(String restriction) { in addGuestUserRestriction()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/
H A DApplicationActionButtonsPreferenceControllerTest.java724 private void testShowingDisabledByDeviceAdminDialogWhenUninstallClicked(String restriction) { in testShowingDisabledByDeviceAdminDialogWhenUninstallClicked()
820 private void mockDisabledByUserManagerRestriction(String restriction) { in mockDisabledByUserManagerRestriction()
825 private void mockDisabledByDevicePolicyManagerRestriction(String restriction) { in mockDisabledByDevicePolicyManagerRestriction()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
H A DActionDisabledByAdminDialogTest.java65 final String restriction = "someRestriction"; in testGetRestrictionFromIntent() local
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DWifiRestrictionsCache.java105 Boolean restriction; in getRestriction() local
/aosp12/system/core/libkeyutils/
H A Dkeyutils.cpp63 long keyctl_restrict_keyring(key_serial_t keyring, const char* type, const char* restriction) { in keyctl_restrict_keyring()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DRestrictionsSetTest.java77 String restriction = UserManager.DISALLOW_CONFIG_DATE_TIME; in testMoveRestriction_containsRestriction() local
/aosp12/packages/apps/Settings/src/com/android/settings/display/
H A DTopLevelWallpaperPreferenceController.java132 final String restriction = DISALLOW_SET_WALLPAPER; in disablePreferenceIfManaged() local
/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/profiles/
H A DPermissionsPreferenceControllerTest.java136 PreferenceGroup preferenceGroup, String restriction) { in getPreferenceForRestriction()

123