Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java289 @Nullable Bundle restrictions, @NonNull String tag) throws IOException { in writeRestrictions()
310 public static void readRestrictions(XmlPullParser parser, Bundle restrictions) { in readRestrictions()
373 public static Bundle mergeAll(SparseArray<Bundle> restrictions) { in mergeAll()
829 public static void dumpRestrictions(PrintWriter pw, String prefix, Bundle restrictions) { in dumpRestrictions()
878 String... restrictions) { in restrictionsChanged()
DUserManagerService.java1484 public void setDefaultGuestRestrictions(Bundle restrictions) { in setDefaultGuestRestrictions()
1498 private void setDevicePolicyUserRestrictionsInner(int userId, @Nullable Bundle restrictions, in setDevicePolicyUserRestrictionsInner()
1556 private boolean updateRestrictionsIfNeededLR(int userId, @Nullable Bundle restrictions, in updateRestrictionsIfNeededLR()
1598 Bundle restrictions = mCachedEffectiveUserRestrictions.get(userId); in getEffectiveUserRestrictions() local
1613 Bundle restrictions = getEffectiveUserRestrictions(userId); in hasUserRestriction() local
1626 Bundle restrictions = getEffectiveUserRestrictions(userId); in hasUserRestrictionOnAnyUser() local
2289 Bundle restrictions = new Bundle(); in fallbackToSingleUserLP() local
2946 Bundle restrictions = new Bundle(); in createUserInternalUncheckedNoTracing() local
3393 public void setApplicationRestrictions(String packageName, Bundle restrictions, in setApplicationRestrictions()
3438 final Bundle restrictions = new Bundle(); in readApplicationRestrictionsLAr() local
[all …]
/frameworks/base/cmds/incidentd/src/
DPrivacyFilter.cpp172 FieldStripper::FieldStripper(const Privacy* restrictions, const sp<ProtoReader>& data, in FieldStripper()
246 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/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java135 Bundle restrictions = mUserManager.getUserRestrictions(user.getUserHandle()); in testAddUser() local
377 Bundle restrictions = mUserManager.getUserRestrictions(UserHandle.of(userInfo.id)); in testAddRestrictedProfile() local
521 Bundle restrictions = new Bundle(); in testSetDefaultGuestRestrictions() local
DUserRestrictionsUtilsTest.java218 SparseArray<Bundle> restrictions = new SparseArray<>(); in testMergeAll() local
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestUtils.java61 public static Bundle newRestrictions(String... restrictions) { in newRestrictions()
/frameworks/base/core/java/android/os/
DIUserManager.aidl79 void setApplicationRestrictions(in String packageName, in Bundle restrictions, in setApplicationRestrictions()
83 void setDefaultGuestRestrictions(in Bundle restrictions); in setDefaultGuestRestrictions()
DUserManagerInternal.java53 public abstract void setDevicePolicyUserRestrictions(int userId, @Nullable Bundle restrictions, in setDevicePolicyUserRestrictions()
DUserManager.java1901 public void setUserRestrictions(Bundle restrictions) { in setUserRestrictions()
1911 public void setUserRestrictions(Bundle restrictions, UserHandle userHandle) { in setUserRestrictions()
3131 public void setApplicationRestrictions(String packageName, Bundle restrictions, in setApplicationRestrictions()
3157 public void setDefaultGuestRestrictions(Bundle restrictions) { in setDefaultGuestRestrictions()
/frameworks/base/core/java/android/accounts/
DChooseTypeAndAccountActivity.java155 Bundle restrictions = UserManager.get(this) in onCreate() local
/frameworks/base/core/java/com/android/internal/app/
DIAppOpsService.aidl72 void setUserRestrictions(in Bundle restrictions, IBinder token, int userHandle); in setUserRestrictions()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java1103 final Bundle restrictions = mUserMgr.getUserRestrictions(); in onUserRestrictionsChanged() local
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java4083 final SparseArray<Restriction> restrictions = mAudioRestrictions.valueAt(o); in dump() local
4360 public void setUserRestrictions(Bundle restrictions, IBinder token, int userHandle) { in setUserRestrictions()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java7849 final Set<String> restrictions = in setDeviceOwner() local
10072 final Bundle restrictions = activeAdmin.ensureUserRestrictions(); in setUserRestriction() local