Searched refs:restrictions (Results 1 – 7 of 7) sorted by relevance
135 private ArrayList<RestrictionEntry> restrictions; field in AppRestrictionsFragment.AppRestrictionsPreference150 void setRestrictions(ArrayList<RestrictionEntry> restrictions) { in setRestrictions() argument151 this.restrictions = restrictions; in setRestrictions()163 return restrictions; in getRestrictions()454 ArrayList<RestrictionEntry> restrictions = RestrictionUtils.getRestrictions( in addLocationAppRestrictionsPreference() local456 RestrictionEntry locationRestriction = restrictions.get(0); in addLocationAppRestrictionsPreference()458 p.setRestrictions(restrictions); in addLocationAppRestrictionsPreference()502 pref.restrictions.get(0).setSelectedState(pref.isChecked()); in onClick()503 RestrictionUtils.setRestrictions(getActivity(), pref.restrictions, mUser); in onClick()508 && pref.restrictions == null) { in onClick()[all …]
146 void setRestrictions(ArrayList<RestrictionEntry> restrictions) { in setRestrictions() argument147 this.mRestrictions = restrictions; in setRestrictions()482 ArrayList<RestrictionEntry> restrictions = RestrictionUtils.getRestrictions( in addLocationAppRestrictionsPreference() local484 RestrictionEntry locationRestriction = restrictions.get(0); in addLocationAppRestrictionsPreference()486 p.setRestrictions(restrictions); in addLocationAppRestrictionsPreference()593 ArrayList<RestrictionEntry> restrictions = appPref.getRestrictions(); in onPreferenceChange() local594 if (restrictions != null) { in onPreferenceChange()595 for (RestrictionEntry entry : restrictions) { in onPreferenceChange()619 RestrictionsManager.convertRestrictionsToBundle(restrictions), in onPreferenceChange()662 final ArrayList<RestrictionEntry> restrictions = results.getParcelableArrayList( in onReceive() local[all …]
43 Bundle restrictions = userManager.getUserRestrictions(); in supportsDrop() local44 if (restrictions.getBoolean(UserManager.DISALLOW_APPS_CONTROL, false) in supportsDrop()45 || restrictions.getBoolean(UserManager.DISALLOW_UNINSTALL_APPS, false)) { in supportsDrop()
235 Bundle restrictions = um.getUserRestrictions(); in areClingsEnabled() local236 if (restrictions.getBoolean(UserManager.DISALLOW_MODIFY_ACCOUNTS, false)) { in areClingsEnabled()
3954 Bundle restrictions = um.getUserRestrictions(); in isClingsEnabled() local3955 if (restrictions.getBoolean(UserManager.DISALLOW_MODIFY_ACCOUNTS, false)) { in isClingsEnabled()
39435 01-13 23:17:22.272 1265 1265 I SystemServiceManager: Starting com.android.server.restrictions.Res…74652 restrictions