/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserRestrictionsUtils.java | 201 @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()
|
D | UserManagerService.java | 1179 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 …]
|
D | PackageManagerService.java | 15309 Bundle restrictions = sUserManager.getUserRestrictions(userId); in isUserRestricted() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerTest.java | 135 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
|
D | UserRestrictionsUtilsTest.java | 213 SparseArray<Bundle> restrictions = new SparseArray<>(); in testMergeAll() local
|
/frameworks/base/core/java/android/content/ |
D | RestrictionsManager.java | 561 ArrayList<RestrictionEntry> restrictions = new ArrayList<>(); in loadManifestRestrictions() local 719 RestrictionEntry[] restrictions = entry.getRestrictions(); in addRestrictionToBundle() local
|
D | RestrictionEntry.java | 370 public void setRestrictions(RestrictionEntry[] restrictions) { in setRestrictions()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestUtils.java | 60 public static Bundle newRestrictions(String... restrictions) { in newRestrictions()
|
/frameworks/base/core/java/android/os/ |
D | UserManagerInternal.java | 52 public abstract void setDevicePolicyUserRestrictions(int userId, @Nullable Bundle restrictions, in setDevicePolicyUserRestrictions()
|
D | IUserManager.aidl | 71 void setApplicationRestrictions(in String packageName, in Bundle restrictions, in setApplicationRestrictions() 75 void setDefaultGuestRestrictions(in Bundle restrictions); in setDefaultGuestRestrictions()
|
D | UserManager.java | 1341 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/ |
D | IAppOpsService.aidl | 48 void setUserRestrictions(in Bundle restrictions, IBinder token, int userHandle); in setUserRestrictions()
|
/frameworks/base/core/java/android/accounts/ |
D | ChooseTypeAndAccountActivity.java | 154 Bundle restrictions = UserManager.get(this) in onCreate() local
|
/frameworks/base/services/core/java/com/android/server/ |
D | AppOpsService.java | 2216 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/ |
D | DevicePolicyManagerService.java | 6567 final Set<String> restrictions = in setDeviceOwner() local 8370 final Bundle restrictions = activeAdmin.ensureUserRestrictions(); in setUserRestriction() local
|