Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DRestrictionsSetTest.java48 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
DUserManagerServiceUserTypeTest.java72 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()
DUserManagerTest.java536 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/
DUserTypeFactory.java200 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
DRestrictionsSet.java61 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
DUserRestrictionsUtils.java324 @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()
DUserTypeDetails.java288 final Bundle restrictions = new Bundle(); in dump() local
402 public Builder setDefaultRestrictions(@Nullable Bundle restrictions) { in setDefaultRestrictions()
DUserManagerService.java1761 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 …]
DPackageManagerService.java13365 Bundle restrictions = mUserManager.getUserRestrictions(userId); in isUserRestricted() local
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestUtils.java62 public static RestrictionsSet newRestrictions(int userId, String... restrictions) { in newRestrictions()
69 public static Bundle newRestrictions(String... restrictions) { in newRestrictions()
/frameworks/base/cmds/incidentd/src/
DPrivacyFilter.cpp172 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/
DRestrictionsManager.java564 ArrayList<RestrictionEntry> restrictions = new ArrayList<>(); in loadManifestRestrictions() local
722 RestrictionEntry[] restrictions = entry.getRestrictions(); in addRestrictionToBundle() local
DRestrictionEntry.java370 public void setRestrictions(RestrictionEntry[] restrictions) { in setRestrictions()
/frameworks/base/services/core/java/com/android/server/appop/
DAudioRestrictionManager.java155 final SparseArray<Restriction> restrictions = mZenModeAudioRestrictions.valueAt(o); in dump() local
DAppOpsService.java5723 public void setUserRestrictions(Bundle restrictions, IBinder token, int userHandle) { in setUserRestrictions()
/frameworks/base/core/java/android/os/
DIUserManager.aidl84 void setApplicationRestrictions(in String packageName, in Bundle restrictions, int userId); in setApplicationRestrictions()
87 void setDefaultGuestRestrictions(in Bundle restrictions); in setDefaultGuestRestrictions()
DUserManager.java2500 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/
DChooseTypeAndAccountActivity.java156 Bundle restrictions = UserManager.get(this) in onCreate() local
/frameworks/base/core/java/com/android/internal/app/
DIAppOpsService.aidl89 void setUserRestrictions(in Bundle restrictions, IBinder token, int userHandle); in setUserRestrictions()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1876 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/
DTethering.java1103 final Bundle restrictions = mUserMgr.getUserRestrictions(); in onUserRestrictionsChanged() local
/frameworks/base/core/proto/android/server/
Djobscheduler.proto77 repeated JobRestriction restrictions = 12; field