/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserRestrictionsUtils.java | 220 public static boolean isValidRestriction(@NonNull String restriction) { in isValidRestriction() argument 221 if (!USER_RESTRICTIONS.contains(restriction)) { in isValidRestriction() 222 Slog.e(TAG, "Unknown restriction: " + restriction); in isValidRestriction() 281 public static boolean contains(@Nullable Bundle in, String restriction) { in contains() argument 282 return in != null && in.getBoolean(restriction); in contains() 328 public static boolean canDeviceOwnerChange(String restriction) { in canDeviceOwnerChange() argument 329 return !IMMUTABLE_BY_OWNERS.contains(restriction); in canDeviceOwnerChange() 336 public static boolean canProfileOwnerChange(String restriction, int userId) { in canProfileOwnerChange() argument 337 return !IMMUTABLE_BY_OWNERS.contains(restriction) in canProfileOwnerChange() 338 && !DEVICE_OWNER_ONLY_RESTRICTIONS.contains(restriction) in canProfileOwnerChange() [all …]
|
D | PackageManagerServiceUtils.java | 367 public static void enforceShellRestriction(String restriction, int callingUid, int userHandle) { in enforceShellRestriction() argument 371 restriction, userHandle)) { in enforceShellRestriction()
|
/frameworks/base/core/java/android/content/ |
D | RestrictionsManager.java | 562 RestrictionEntry restriction; in loadManifestRestrictions() local 568 restriction = loadRestrictionElement(appContext, xml); in loadManifestRestrictions() 569 if (restriction != null) { in loadManifestRestrictions() 570 restrictions.add(restriction); in loadManifestRestrictions() 619 RestrictionEntry restriction = new RestrictionEntry(restrictionType, key); in loadRestriction() local 620 restriction.setTitle(title); in loadRestriction() 621 restriction.setDescription(description); in loadRestriction() 623 restriction.setChoiceEntries(appContext, entries); in loadRestriction() 626 restriction.setChoiceValues(appContext, entryValues); in loadRestriction() 633 restriction.setSelectedString( in loadRestriction() [all …]
|
D | RestrictionEntry.java | 209 for (RestrictionEntry restriction : restrictionEntries) { in RestrictionEntry() 210 if (restriction.getType() != TYPE_BUNDLE) { in RestrictionEntry()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | UserManagerHelper.java | 246 public boolean foregroundUserHasUserRestriction(String restriction) { in foregroundUserHasUserRestriction() argument 247 … return mUserManager.hasUserRestriction(restriction, getForegroundUserInfo().getUserHandle()); in foregroundUserHasUserRestriction() 288 public boolean currentProcessHasUserRestriction(String restriction) { in currentProcessHasUserRestriction() argument 289 return mUserManager.hasUserRestriction(restriction); in currentProcessHasUserRestriction()
|
/frameworks/base/core/java/android/app/admin/ |
D | SecurityLogTags.logtags | 34 210027 security_user_restriction_added (package|3),(admin_user|1),(restriction|3) 35 210028 security_user_restriction_removed (package|3),(admin_user|1),(restriction|3)
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestUtils.java | 63 for (String restriction : restrictions) { in newRestrictions() 64 ret.putBoolean(restriction, true); in newRestrictions()
|
D | DevicePolicyManagerTest.java | 1618 for (String restriction : defaultRestrictions) { in testSetUserRestriction_asDo() 1619 dpm.clearUserRestriction(admin1, restriction); in testSetUserRestriction_asDo() 1876 for (String restriction : defaultRestrictions) { in testDefaultEnabledUserRestrictions() 1877 dpm.clearUserRestriction(admin1, restriction); in testDefaultEnabledUserRestrictions() 4690 Bundle restriction = new Bundle(); in testDisallowSharingIntoProfileSetRestriction() local 4691 restriction.putBoolean(UserManager.DISALLOW_SHARE_INTO_MANAGED_PROFILE, true); in testDisallowSharingIntoProfileSetRestriction() 4695 listener.onUserRestrictionsChanged(DpmMockContext.CALLER_USER_HANDLE, restriction, in testDisallowSharingIntoProfileSetRestriction() 4703 Bundle restriction = new Bundle(); in testDisallowSharingIntoProfileClearRestriction() local 4704 restriction.putBoolean(UserManager.DISALLOW_SHARE_INTO_MANAGED_PROFILE, true); in testDisallowSharingIntoProfileClearRestriction() 4709 restriction); in testDisallowSharingIntoProfileClearRestriction()
|
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/ |
D | UpdateParameter.java | 117 public void setRestriction(String restriction) { in setRestriction() argument 118 mRestriction = restriction; in setRestriction()
|
/frameworks/native/opengl/include/EGL/ |
D | NOTICE | 5 "Materials"), to deal in the Materials without restriction, including
|
/frameworks/wilhelm/include/OMXAL/ |
D | NOTICE | 5 "Materials "), to deal in the Materials without restriction, including
|
/frameworks/wilhelm/include/SLES/ |
D | NOTICE | 5 deal in the Materials without restriction, including without limitation the
|
/frameworks/native/opengl/include/KHR/ |
D | NOTICE | 5 "Materials"), to deal in the Materials without restriction, including
|
/frameworks/native/vulkan/api/ |
D | platform.api | 5 // "Materials"), to deal in the Materials without restriction, including
|
/frameworks/native/opengl/include/GLES/ |
D | NOTICE | 19 "Materials"), to deal in the Materials without restriction, including
|
/frameworks/native/opengl/include/GLES2/ |
D | NOTICE | 19 "Materials"), to deal in the Materials without restriction, including
|
/frameworks/native/opengl/include/GLES3/ |
D | NOTICE | 22 "Materials"), to deal in the Materials without restriction, including
|
/frameworks/compile/mclinker/ |
D | LICENSE.TXT | 18 the Software without restriction, including without limitation the rights to
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
D | ClipboardService.java | 375 private boolean hasRestriction(String restriction, int userId) { in hasRestriction() argument 377 return mUm.hasUserRestriction(restriction, userId); in hasRestriction()
|
/frameworks/support/core/ktx/src/androidTest/ |
D | font_licenses.txt | 65 Copyright Holder. This restriction only applies to the primary font name as
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 2326 for (final String restriction : restrictionsToSet) { in maybeSetDefaultRestrictionsForAdminLocked() 2327 admin.ensureUserRestrictions().putBoolean(restriction, true); in maybeSetDefaultRestrictionsForAdminLocked() 5983 final String restriction; in wipeDataNoLock() local 5985 restriction = UserManager.DISALLOW_FACTORY_RESET; in wipeDataNoLock() 5987 restriction = UserManager.DISALLOW_REMOVE_MANAGED_PROFILE; in wipeDataNoLock() 5989 restriction = UserManager.DISALLOW_REMOVE_USER; in wipeDataNoLock() 5991 if (isAdminAffectedByRestriction(admin, restriction, userId)) { in wipeDataNoLock() 5992 throw new SecurityException("Cannot wipe data. " + restriction in wipeDataNoLock() 7217 for (String restriction : restrictions) { in setDeviceOwner() 7218 activeAdmin.ensureUserRestrictions().putBoolean(restriction, true); in setDeviceOwner() [all …]
|
/frameworks/base/core/proto/android/telecomm/ |
D | enums.proto | 159 * Disconnected because of a restriction on placing the call, such as dialing in airplane
|
/frameworks/native/vulkan/api/templates/ |
D | vulkan_h.tmpl | 24 ** "Materials"), to deal in the Materials without restriction, including
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 1779 void enforceShellRestriction(String restriction, int userHandle) { 1781 if (userHandle < 0 || hasUserRestriction(restriction, userHandle)) { 1788 boolean hasUserRestriction(String restriction, int userId) { 1789 return mInjector.getUserManager().hasUserRestriction(restriction, userId);
|
/frameworks/compile/slang/ |
D | NOTICE | 220 the Software without restriction, including without limitation the rights to 290 the Software without restriction, including without limitation the rights to
|