Searched refs:restrictions (Results 1 - 4 of 4) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
H A DUninstallDropTarget.java43 Bundle restrictions = userManager.getUserRestrictions();
44 if (restrictions.getBoolean(UserManager.DISALLOW_APPS_CONTROL, false)
45 || restrictions.getBoolean(UserManager.DISALLOW_UNINSTALL_APPS, false)) {
H A DLauncherClings.java239 Bundle restrictions = um.getUserRestrictions();
240 if (restrictions.getBoolean(UserManager.DISALLOW_MODIFY_ACCOUNTS, false)) {
/packages/apps/Settings/src/com/android/settings/users/
H A DAppRestrictionsFragment.java155 private ArrayList<RestrictionEntry> restrictions; field in class:AppRestrictionsFragment.AppRestrictionsPreference
170 void setRestrictions(ArrayList<RestrictionEntry> restrictions) { argument
171 this.restrictions = restrictions;
183 return restrictions;
327 Log.e(TAG, "Cannot apply application restrictions on another user!");
675 // If the app is required and has no restrictions, skip showing it
679 // Only do this for restricted profiles, not single-user restrictions
732 ArrayList<RestrictionEntry> restrictions = RestrictionUtils.getRestrictions(
734 RestrictionEntry locationRestriction = restrictions
953 onRestrictionsReceived(AppRestrictionsPreference preference, String packageName, ArrayList<RestrictionEntry> restrictions) argument
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncher.java3954 Bundle restrictions = um.getUserRestrictions();
3955 if (restrictions.getBoolean(UserManager.DISALLOW_MODIFY_ACCOUNTS, false)) {

Completed in 127 milliseconds