| /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 | 72 final Bundle restrictions = makeRestrictionsBundle("r1", "r2"); in testUserTypeBuilder_createUserType() local 213 final Bundle restrictions = makeRestrictionsBundle("no_config_vpn", "no_config_tethering"); in testUserTypeFactoryCustomize_profile() local 277 final Bundle restrictions = makeRestrictionsBundle("no_config_vpn", "no_config_tethering"); in testUserTypeFactoryCustomize_full() local 367 private Bundle makeRestrictionsBundle(String ... restrictions) { in makeRestrictionsBundle()
|
| D | UserManagerTest.java | 536 Bundle restrictions = mUserManager.getUserRestrictions(UserHandle.of(userInfo.id)); in testAddRestrictedProfile() local 710 Bundle restrictions = new Bundle(); in testSetDefaultGuestRestrictions() local
|
| /frameworks/base/services/core/java/com/android/server/pm/ |
| D | UserTypeFactory.java | 200 final Bundle restrictions = new Bundle(); in getDefaultSecondaryUserRestrictions() local 208 final Bundle restrictions = getDefaultSecondaryUserRestrictions(); in getDefaultGuestUserRestrictions() local 293 final Bundle restrictions = UserRestrictionsUtils.readRestrictions(parser); in customizeBuilders() local
|
| D | RestrictionsSet.java | 61 public RestrictionsSet(@UserIdInt int userId, @NonNull Bundle restrictions) { in RestrictionsSet() 74 public boolean updateRestrictions(@UserIdInt int userId, @Nullable Bundle restrictions) { in updateRestrictions() 215 Bundle restrictions = UserRestrictionsUtils.readRestrictions(parser); in readRestrictions() local
|
| D | UserRestrictionsUtils.java | 324 @Nullable Bundle restrictions, @NonNull String tag) throws IOException { in writeRestrictions() 345 public static void readRestrictions(XmlPullParser parser, Bundle restrictions) { in readRestrictions() 827 public static void dumpRestrictions(PrintWriter pw, String prefix, Bundle restrictions) { in dumpRestrictions() 864 String... restrictions) { in restrictionsChanged()
|
| D | UserTypeDetails.java | 288 final Bundle restrictions = new Bundle(); in dump() local 402 public Builder setDefaultRestrictions(@Nullable Bundle restrictions) { in setDefaultRestrictions()
|
| D | UserManagerService.java | 1761 public void setDefaultGuestRestrictions(Bundle restrictions) { in setDefaultGuestRestrictions() 1873 Bundle restrictions = local.getRestrictions(targetUserId); in updateLocalRestrictionsForTargetUsersLR() local 1929 Bundle restrictions = mCachedEffectiveUserRestrictions.getRestrictions(userId); in getEffectiveUserRestrictions() local 1954 Bundle restrictions = getEffectiveUserRestrictions(userId); in hasUserRestrictionOnAnyUser() local 2792 Bundle restrictions = new Bundle(); in fallbackToSingleUserLP() local 3540 Bundle restrictions = new Bundle(); in createUserInternalUncheckedNoTracing() local 4092 public void setApplicationRestrictions(String packageName, Bundle restrictions, in setApplicationRestrictions() 4145 final Bundle restrictions = new Bundle(); in readApplicationRestrictionsLAr() local 4173 private static void readEntry(Bundle restrictions, ArrayList<String> values, in readEntry() 4229 Bundle restrictions, @UserIdInt int userId) { in writeApplicationRestrictionsLAr() [all …]
|
| D | PackageManagerService.java | 13365 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 | 370 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
|
| D | AppOpsService.java | 5723 public void setUserRestrictions(Bundle restrictions, IBinder token, int userHandle) { in setUserRestrictions()
|
| /frameworks/base/core/java/android/os/ |
| D | IUserManager.aidl | 84 void setApplicationRestrictions(in String packageName, in Bundle restrictions, int userId); in setApplicationRestrictions() 87 void setDefaultGuestRestrictions(in Bundle restrictions); in setDefaultGuestRestrictions()
|
| D | UserManager.java | 2500 public void setUserRestrictions(Bundle restrictions) { in setUserRestrictions() 2510 public void setUserRestrictions(Bundle restrictions, UserHandle userHandle) { in setUserRestrictions() 4223 public void setApplicationRestrictions(String packageName, Bundle restrictions, in setApplicationRestrictions() 4250 public void setDefaultGuestRestrictions(Bundle restrictions) { in setDefaultGuestRestrictions()
|
| /frameworks/base/core/java/android/accounts/ |
| D | ChooseTypeAndAccountActivity.java | 156 Bundle restrictions = UserManager.get(this) in onCreate() local
|
| /frameworks/base/core/java/com/android/internal/app/ |
| D | IAppOpsService.aidl | 89 void setUserRestrictions(in Bundle restrictions, IBinder token, int userHandle); in setUserRestrictions()
|
| /frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
| D | DevicePolicyManagerService.java | 1876 Bundle addSyntheticRestrictions(Bundle restrictions) { in addSyntheticRestrictions() 1886 static Bundle removeDeprecatedRestrictions(Bundle restrictions) { in removeDeprecatedRestrictions() 1893 static Bundle filterRestrictions(Bundle restrictions, Predicate<String> filter) { in filterRestrictions()
|
| /frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
| D | Tethering.java | 1103 final Bundle restrictions = mUserMgr.getUserRestrictions(); in onUserRestrictionsChanged() local
|
| /frameworks/base/core/proto/android/server/ |
| D | jobscheduler.proto | 77 repeated JobRestriction restrictions = 12; field
|