Home
last modified time | relevance | path

Searched defs:restriction (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java265 public static boolean isValidRestriction(@NonNull String restriction) { in isValidRestriction()
376 public static boolean contains(@Nullable Bundle in, String restriction) { in contains()
407 public static boolean canDeviceOwnerChange(String restriction) { in canDeviceOwnerChange()
415 public static boolean canProfileOwnerChange(String restriction, int userId) { in canProfileOwnerChange()
425 public static boolean canProfileOwnerOfOrganizationOwnedDeviceChange(String restriction) { in canProfileOwnerOfOrganizationOwnedDeviceChange()
681 String restriction; in isSettingRestrictedForUser() local
DRestrictionsSet.java91 public void moveRestriction(@NonNull RestrictionsSet destRestrictions, String restriction) { in moveRestriction()
139 public @NonNull List<UserManager.EnforcingUser> getEnforcingUsers(String restriction, in getEnforcingUsers()
DUserManagerService.java3316 String restriction = (UserManager.isUserTypeManagedProfile(userType)) in createUserInternal() local
3849 String restriction = isManagedProfile in removeUser() local
5267 private void enforceUserRestriction(String restriction, @UserIdInt int userId, String message) in enforceUserRestriction()
DPackageManagerShellCommand.java2717 String restriction = getNextArg(); in runSetUserRestriction() local
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DRestrictionsSetTest.java77 String restriction = UserManager.DISALLOW_CONFIG_DATE_TIME; in testMoveRestriction_containsRestriction() local
/frameworks/base/core/java/android/content/
DRestrictionsManager.java565 RestrictionEntry restriction; in loadManifestRestrictions() local
622 RestrictionEntry restriction = new RestrictionEntry(restrictionType, key); in loadRestriction() local
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/
DUpdateParameter.java119 public void setRestriction(String restriction) { in setRestriction()
/frameworks/native/libs/binder/
DProcessState.cpp219 void ProcessState::setCallRestriction(CallRestriction restriction) { in setCallRestriction()
/frameworks/base/services/core/java/android/os/
DUserManagerInternal.java270 public abstract boolean hasUserRestriction(String restriction, int userId); in hasUserRestriction()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java455 private void startAdminSupportDetailsActivity(String restriction) { in startAdminSupportDetailsActivity()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java2069 private void addAndRemoveGlobalUserRestrictionOnParentDpm(String restriction) { in addAndRemoveGlobalUserRestrictionOnParentDpm()
2085 private void addAndRemoveLocalUserRestrictionOnParentDpm(String restriction) { in addAndRemoveLocalUserRestrictionOnParentDpm()
5370 Bundle restriction = new Bundle(); in testDisallowSharingIntoProfileSetRestriction() local
5382 Bundle restriction = new Bundle(); in testDisallowSharingIntoProfileClearRestriction() local
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java495 private boolean hasRestriction(String restriction, int userId) { in hasRestriction()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java5728 String restriction = AppOpsManager.opToRestriction(i); in setUserRestrictions() local
6280 public boolean hasRestriction(int restriction, String packageName, int userId) { in hasRestriction()
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl240 Intent createAdminSupportIntent(in String restriction); in createAdminSupportIntent()
DDevicePolicyManager.java8450 public Intent createAdminSupportIntent(@NonNull String restriction) { in createAdminSupportIntent()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java914 boolean hasUserRestriction(String restriction, int userId) { in hasUserRestriction()
/frameworks/base/cmds/statsd/src/
Datoms.proto6472 optional string restriction = 1; field