HomeSort by relevance Sort by last modified time
    Searched defs:restrictions (Results 1 - 9 of 9) sorted by null

  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
UserManagerTest.java 68 Bundle restrictions = mUserManager.getUserRestrictions(user.getUserHandle()); local
70 restrictions.getBoolean(UserManager.DISALLOW_CONFIG_WIFI));
149 Bundle restrictions = new Bundle(); local
150 restrictions.putBoolean(UserManager.DISALLOW_INSTALL_APPS, true);
151 restrictions.putBoolean(UserManager.DISALLOW_CONFIG_WIFI, false);
152 mUserManager.setUserRestrictions(restrictions, new UserHandle(users.get(1).id));
  /frameworks/base/services/java/com/android/server/pm/
UserManagerService.java 87 private static final String TAG_RESTRICTIONS = "restrictions";
374 Bundle restrictions = mUserRestrictions.get(userId); local
375 return restrictions != null ? restrictions : Bundle.EMPTY;
380 public void setUserRestrictions(Bundle restrictions, int userId) {
384 mUserRestrictions.get(userId).putAll(restrictions);
571 Bundle restrictions = new Bundle(); local
572 mUserRestrictions.append(UserHandle.USER_OWNER, restrictions);
618 Bundle restrictions = mUserRestrictions.get(userInfo.id); local
619 if (restrictions != null)
694 Bundle restrictions = new Bundle(); local
840 Bundle restrictions = new Bundle(); local
1016 final Bundle restrictions = new Bundle(); local
    [all...]
PackageManagerService.java 518 // Stores a list of users whose package restrictions file needs to be updated
6174 Bundle restrictions = sUserManager.getUserRestrictions(userId); local
    [all...]
  /frameworks/base/core/java/android/accounts/
ChooseTypeAndAccountActivity.java 147 Bundle restrictions = UserManager.get(this) local
150 restrictions.getBoolean(UserManager.DISALLOW_MODIFY_ACCOUNTS, false);
  /packages/apps/Settings/src/com/android/settings/users/
AppRestrictionsFragment.java 179 private ArrayList<RestrictionEntry> restrictions; field in class:AppRestrictionsFragment.AppRestrictionsPreference
212 void setRestrictions(ArrayList<RestrictionEntry> restrictions) {
213 this.restrictions = restrictions;
229 if (restrictions == null) return null;
230 for (RestrictionEntry entry : restrictions) {
239 return restrictions;
359 Log.e(TAG, "Cannot apply application restrictions on a regular user!");
619 // If the app is required and has no restrictions, skip showing it
713 && pref.restrictions == null)
732 ArrayList<RestrictionEntry> restrictions = appPref.getRestrictions(); local
760 RestrictionUtils.setRestrictions(getActivity(), restrictions, mUser); local
785 ArrayList<RestrictionEntry> restrictions = RestrictionUtils.getRestrictions( local
824 final ArrayList<RestrictionEntry> restrictions = results.getParcelableArrayList( local
    [all...]
  /external/chromium/chrome/browser/ui/
browser.cc 3756 int restrictions = 0; local
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.pde.api.tools_1.0.202.v20100820_r361.jar 
org.eclipse.pde.core_3.6.1.v20100902_r361.jar 
  /packages/apps/Launcher2/src/com/android/launcher2/
Launcher.java 3871 Bundle restrictions = um.getUserRestrictions(); local
    [all...]

Completed in 267 milliseconds