| /frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
| D | RestrictionsSetTest.java | 48 Bundle restrictions = newRestrictions(UserManager.ENSURE_VERIFY_APPS); in testUpdateRestrictions_addRestrictions() local 57 Bundle restrictions = newRestrictions(UserManager.ENSURE_VERIFY_APPS); in testUpdateRestrictions_removeRestrictions() local 67 Bundle restrictions = newRestrictions(UserManager.ENSURE_VERIFY_APPS); in testUpdateRestrictions_noChange() local
|
| D | UserManagerServiceUserTypeTest.java | 74 final Bundle restrictions = makeRestrictionsBundle("r1", "r2"); in testUserTypeBuilder_createUserType() local 250 final Bundle restrictions = makeRestrictionsBundle("no_config_vpn", "no_config_tethering"); in testUserTypeFactoryCustomize_profile() local 314 final Bundle restrictions = makeRestrictionsBundle("no_config_vpn", "no_config_tethering"); in testUserTypeFactoryCustomize_full() local 447 public static Bundle makeRestrictionsBundle(String ... restrictions) { in makeRestrictionsBundle()
|
| D | UserManagerTest.java | 670 Bundle restrictions = mUserManager.getUserRestrictions(UserHandle.of(userInfo.id)); in testAddRestrictedProfile() local 849 Bundle restrictions = new Bundle(); in testSetDefaultGuestRestrictions() local
|
| /frameworks/base/services/core/java/com/android/server/pm/ |
| D | UserRestrictionsUtils.java | 335 @Nullable Bundle restrictions, @NonNull String tag) throws IOException { in writeRestrictions() 336 writeRestrictions(XmlUtils.makeTyped(serializer), restrictions, tag); in writeRestrictions() local 340 @Nullable Bundle restrictions, @NonNull String tag) throws IOException { in writeRestrictions() 361 public static void readRestrictions(XmlPullParser parser, Bundle restrictions) { in readRestrictions() 362 readRestrictions(XmlUtils.makeTyped(parser), restrictions); in readRestrictions() local 365 public static void readRestrictions(TypedXmlPullParser parser, Bundle restrictions) { in readRestrictions() 806 public static void dumpRestrictions(PrintWriter pw, String prefix, Bundle restrictions) { in dumpRestrictions() 843 String... restrictions) { in restrictionsChanged()
|
| D | UserTypeFactory.java | 163 final Bundle restrictions = new Bundle(); in getDefaultTypeProfileTest() local 263 final Bundle restrictions = new Bundle(); in getDefaultSecondaryUserRestrictions() local 271 final Bundle restrictions = getDefaultSecondaryUserRestrictions(); in getDefaultGuestUserRestrictions() local 279 final Bundle restrictions = new Bundle(); in getDefaultManagedProfileRestrictions() local 384 final Bundle restrictions = UserRestrictionsUtils in customizeBuilders() local
|
| D | RestrictionsSet.java | 63 public RestrictionsSet(@UserIdInt int userId, @NonNull Bundle restrictions) { in RestrictionsSet() 76 public boolean updateRestrictions(@UserIdInt int userId, @Nullable Bundle restrictions) { in updateRestrictions() 217 Bundle restrictions = UserRestrictionsUtils.readRestrictions(parser); in readRestrictions() local
|
| D | UserTypeDetails.java | 352 final Bundle restrictions = new Bundle(); in dump() local 471 public Builder setDefaultRestrictions(@Nullable Bundle restrictions) { in setDefaultRestrictions()
|
| D | UserManagerService.java | 1878 public void setDefaultGuestRestrictions(Bundle restrictions) { in setDefaultGuestRestrictions() 1990 Bundle restrictions = local.getRestrictions(targetUserId); in updateLocalRestrictionsForTargetUsersLR() local 2046 Bundle restrictions = mCachedEffectiveUserRestrictions.getRestrictions(userId); in getEffectiveUserRestrictions() local 2071 Bundle restrictions = getEffectiveUserRestrictions(userId); in hasUserRestrictionOnAnyUser() local 3010 Bundle restrictions = new Bundle(); in fallbackToSingleUserLP() local 3708 Bundle restrictions = new Bundle(); in createUserInternalUncheckedNoTracing() local 4467 public void setApplicationRestrictions(String packageName, Bundle restrictions, in setApplicationRestrictions() 4520 final Bundle restrictions = new Bundle(); in readApplicationRestrictionsLAr() local 4547 private static void readEntry(Bundle restrictions, ArrayList<String> values, in readEntry() 4602 Bundle restrictions, @UserIdInt int userId) { in writeApplicationRestrictionsLAr() [all …]
|
| D | PackageManagerService.java | 16287 Bundle restrictions = mUserManager.getUserRestrictions(userId); in isUserRestricted() local
|
| /frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
| D | DpmTestUtils.java | 62 public static RestrictionsSet newRestrictions(int userId, String... restrictions) { in newRestrictions() 69 public static Bundle newRestrictions(String... restrictions) { in newRestrictions()
|
| /frameworks/base/cmds/incidentd/src/ |
| D | PrivacyFilter.cpp | 172 FieldStripper::FieldStripper(const Privacy* restrictions, const sp<ProtoReader>& data, in FieldStripper() 252 PrivacyFilter::PrivacyFilter(int sectionId, const Privacy* restrictions) in PrivacyFilter()
|
| /frameworks/base/core/java/android/content/ |
| D | RestrictionsManager.java | 564 ArrayList<RestrictionEntry> restrictions = new ArrayList<>(); in loadManifestRestrictions() local 722 RestrictionEntry[] restrictions = entry.getRestrictions(); in addRestrictionToBundle() local
|
| D | RestrictionEntry.java | 371 public void setRestrictions(RestrictionEntry[] restrictions) { in setRestrictions()
|
| /frameworks/base/services/core/java/com/android/server/appop/ |
| D | AudioRestrictionManager.java | 155 final SparseArray<Restriction> restrictions = mZenModeAudioRestrictions.valueAt(o); in dump() local
|
| /frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
| D | ActiveAdmin.java | 942 Bundle addSyntheticRestrictions(Bundle restrictions) { in addSyntheticRestrictions() 952 static Bundle removeDeprecatedRestrictions(Bundle restrictions) { in removeDeprecatedRestrictions() 959 static Bundle filterRestrictions(Bundle restrictions, Predicate<String> filter) { in filterRestrictions()
|
| /frameworks/base/core/java/android/os/ |
| D | IUserManager.aidl | 85 void setApplicationRestrictions(in String packageName, in Bundle restrictions, int userId); in setApplicationRestrictions() 88 void setDefaultGuestRestrictions(in Bundle restrictions); in setDefaultGuestRestrictions()
|
| D | UserManager.java | 2707 public void setUserRestrictions(Bundle restrictions) { in setUserRestrictions() 2717 public void setUserRestrictions(Bundle restrictions, UserHandle userHandle) { in setUserRestrictions() 4570 public void setApplicationRestrictions(String packageName, Bundle restrictions, in setApplicationRestrictions() 4597 public void setDefaultGuestRestrictions(Bundle restrictions) { in setDefaultGuestRestrictions()
|
| /frameworks/base/core/java/android/accounts/ |
| D | ChooseTypeAndAccountActivity.java | 149 Bundle restrictions = UserManager.get(this) in onCreate() local
|
| /frameworks/base/core/java/com/android/internal/app/ |
| D | IAppOpsService.aidl | 98 void setUserRestrictions(in Bundle restrictions, IBinder token, int userHandle); in setUserRestrictions()
|
| /frameworks/base/core/proto/android/server/ |
| D | jobscheduler.proto | 77 repeated JobRestriction restrictions = 12; field
|