Home
last modified time | relevance | path

Searched defs:restrictions (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java201 @Nullable Bundle restrictions, @NonNull String tag) throws IOException { in writeRestrictions()
222 public static void readRestrictions(XmlPullParser parser, Bundle restrictions) { in readRestrictions()
285 public static Bundle mergeAll(SparseArray<Bundle> restrictions) { in mergeAll()
527 public static void dumpRestrictions(PrintWriter pw, String prefix, Bundle restrictions) { in dumpRestrictions()
576 String... restrictions) { in restrictionsChanged()
DUserManagerService.java1179 public void setDefaultGuestRestrictions(Bundle restrictions) { in setDefaultGuestRestrictions()
1193 private void setDevicePolicyUserRestrictionsInner(int userId, @Nullable Bundle restrictions, in setDevicePolicyUserRestrictionsInner()
1251 private boolean updateRestrictionsIfNeededLR(int userId, @Nullable Bundle restrictions, in updateRestrictionsIfNeededLR()
1293 Bundle restrictions = mCachedEffectiveUserRestrictions.get(userId); in getEffectiveUserRestrictions() local
1308 Bundle restrictions = getEffectiveUserRestrictions(userId); in hasUserRestriction() local
1950 Bundle restrictions = new Bundle(); in fallbackToSingleUserLP() local
2514 Bundle restrictions = new Bundle(); in createUserInternalUnchecked() local
2864 public void setApplicationRestrictions(String packageName, Bundle restrictions, in setApplicationRestrictions()
2909 final Bundle restrictions = new Bundle(); in readApplicationRestrictionsLAr() local
2937 private static void readEntry(Bundle restrictions, ArrayList<String> values, in readEntry()
[all …]
DPackageManagerService.java15309 Bundle restrictions = sUserManager.getUserRestrictions(userId); in isUserRestricted() local
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java135 Bundle restrictions = mUserManager.getUserRestrictions(user.getUserHandle()); in testAddUser() local
315 Bundle restrictions = mUserManager.getUserRestrictions(UserHandle.of(userInfo.id)); in testAddRestrictedProfile() local
456 Bundle restrictions = new Bundle(); in testSetDefaultGuestRestrictions() local
DUserRestrictionsUtilsTest.java213 SparseArray<Bundle> restrictions = new SparseArray<>(); in testMergeAll() local
/frameworks/base/core/java/android/content/
DRestrictionsManager.java561 ArrayList<RestrictionEntry> restrictions = new ArrayList<>(); in loadManifestRestrictions() local
719 RestrictionEntry[] restrictions = entry.getRestrictions(); in addRestrictionToBundle() local
DRestrictionEntry.java370 public void setRestrictions(RestrictionEntry[] restrictions) { in setRestrictions()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestUtils.java60 public static Bundle newRestrictions(String... restrictions) { in newRestrictions()
/frameworks/base/core/java/android/os/
DUserManagerInternal.java52 public abstract void setDevicePolicyUserRestrictions(int userId, @Nullable Bundle restrictions, in setDevicePolicyUserRestrictions()
DIUserManager.aidl71 void setApplicationRestrictions(in String packageName, in Bundle restrictions, in setApplicationRestrictions()
75 void setDefaultGuestRestrictions(in Bundle restrictions); in setDefaultGuestRestrictions()
DUserManager.java1341 public void setUserRestrictions(Bundle restrictions) { in setUserRestrictions()
1351 public void setUserRestrictions(Bundle restrictions, UserHandle userHandle) { in setUserRestrictions()
2365 public void setApplicationRestrictions(String packageName, Bundle restrictions, in setApplicationRestrictions()
2391 public void setDefaultGuestRestrictions(Bundle restrictions) { in setDefaultGuestRestrictions()
/frameworks/base/core/java/com/android/internal/app/
DIAppOpsService.aidl48 void setUserRestrictions(in Bundle restrictions, IBinder token, int userHandle); in setUserRestrictions()
/frameworks/base/core/java/android/accounts/
DChooseTypeAndAccountActivity.java154 Bundle restrictions = UserManager.get(this) in onCreate() local
/frameworks/base/services/core/java/com/android/server/
DAppOpsService.java2216 final SparseArray<Restriction> restrictions = mAudioRestrictions.valueAt(o); in dump() local
2344 public void setUserRestrictions(Bundle restrictions, IBinder token, int userHandle) { in setUserRestrictions()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java6567 final Set<String> restrictions = in setDeviceOwner() local
8370 final Bundle restrictions = activeAdmin.ensureUserRestrictions(); in setUserRestriction() local