/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/services/core/java/com/android/server/pm/ |
D | UserRestrictionsUtils.java | 193 public static boolean isValidRestriction(@NonNull String restriction) { in isValidRestriction() argument 194 if (!USER_RESTRICTIONS.contains(restriction)) { in isValidRestriction() 195 Slog.e(TAG, "Unknown restriction: " + restriction); in isValidRestriction() 254 public static boolean contains(@Nullable Bundle in, String restriction) { in contains() argument 255 return in != null && in.getBoolean(restriction); in contains() 301 public static boolean canDeviceOwnerChange(String restriction) { in canDeviceOwnerChange() argument 302 return !IMMUTABLE_BY_OWNERS.contains(restriction); in canDeviceOwnerChange() 309 public static boolean canProfileOwnerChange(String restriction, int userId) { in canProfileOwnerChange() argument 310 return !IMMUTABLE_BY_OWNERS.contains(restriction) in canProfileOwnerChange() 312 && PRIMARY_USER_ONLY_RESTRICTIONS.contains(restriction)); in canProfileOwnerChange() [all …]
|
D | UserManagerService.java | 2372 String restriction = ((flags & UserInfo.FLAG_MANAGED_PROFILE) != 0) in createUserInternal() local 2375 if (hasUserRestriction(restriction, UserHandle.getCallingUserId())) { in createUserInternal() 2376 Log.w(LOG_TAG, "Cannot add user. " + restriction + " is enabled."); in createUserInternal() 2653 String restriction = isManagedProfile in removeUser() local 2655 if (getUserRestrictions(UserHandle.getCallingUserId()).getBoolean(restriction, false)) { in removeUser() 2656 Log.w(LOG_TAG, "Cannot remove user. " + restriction + " is enabled."); in removeUser()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestUtils.java | 62 for (String restriction : restrictions) { in newRestrictions() 63 ret.putBoolean(restriction, true); in newRestrictions()
|
D | DevicePolicyManagerTest.java | 1538 for (String restriction : defaultRestrictions) { in testSetUserRestriction_asDo() 1539 dpm.clearUserRestriction(admin1, restriction); in testSetUserRestriction_asDo() 1796 for (String restriction : defaultRestrictions) { in testDefaultEnabledUserRestrictions() 1797 dpm.clearUserRestriction(admin1, restriction); in testDefaultEnabledUserRestrictions()
|
/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/KHR/ |
D | NOTICE | 5 "Materials"), to deal in the Materials without restriction, including
|
/frameworks/native/opengl/include/EGL/ |
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/wilhelm/include/OMXAL/ |
D | NOTICE | 5 "Materials "), to deal in the Materials without restriction, including
|
/frameworks/native/opengl/include/GLES2/ |
D | NOTICE | 5 "Materials"), to deal in the Materials without restriction, including
|
/frameworks/native/opengl/include/GLES3/ |
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/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 1515 String restriction; 1522 restriction = UserManager.DISALLOW_SHARE_LOCATION; 1529 restriction = UserManager.DISALLOW_SHARE_LOCATION; 1534 restriction = UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES; 1539 restriction = UserManager.DISALLOW_DEBUGGING_FEATURES; 1545 restriction = UserManager.ENSURE_VERIFY_APPS; 1549 restriction = UserManager.DISALLOW_CONFIG_MOBILE_NETWORKS; 1559 restriction = UserManager.DISALLOW_CONFIG_VPN; 1564 restriction = UserManager.DISALLOW_SAFE_BOOT; 1570 restriction = UserManager.DISALLOW_DATA_ROAMING; [all …]
|
/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/am/ |
D | UserController.java | 1552 boolean hasUserRestriction(String restriction, int userId) { 1553 return mInjector.getUserManager().hasUserRestriction(restriction, userId); 1765 void enforceShellRestriction(String restriction, int userId) { 1766 mService.enforceShellRestriction(restriction, userId);
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 2006 for (final String restriction : restrictionsToSet) { in maybeSetDefaultRestrictionsForAdminLocked() 2007 admin.ensureUserRestrictions().putBoolean(restriction, true); in maybeSetDefaultRestrictionsForAdminLocked() 5337 final String restriction; in wipeDataNoLock() local 5339 restriction = UserManager.DISALLOW_FACTORY_RESET; in wipeDataNoLock() 5341 restriction = UserManager.DISALLOW_REMOVE_MANAGED_PROFILE; in wipeDataNoLock() 5343 restriction = UserManager.DISALLOW_REMOVE_USER; in wipeDataNoLock() 5345 if (isAdminAffectedByRestriction(admin, restriction, userId)) { in wipeDataNoLock() 5346 throw new SecurityException("Cannot wipe data. " + restriction in wipeDataNoLock() 6527 for (String restriction : restrictions) { in setDeviceOwner() 6528 activeAdmin.ensureUserRestrictions().putBoolean(restriction, true); in setDeviceOwner() [all …]
|
/frameworks/native/vulkan/api/templates/ |
D | vulkan_h.tmpl | 24 ** "Materials"), to deal in the Materials without restriction, including
|
D | vk_xml.tmpl | 19 "Materials"), to deal in the Materials without restriction, including
|
/frameworks/base/services/core/java/com/android/server/ |
D | AppOpsService.java | 2346 String restriction = AppOpsManager.opToRestriction(i); in setUserRestrictions() local 2347 if (restriction != null) { in setUserRestrictions() 2348 setUserRestrictionNoCheck(i, restrictions.getBoolean(restriction, false), token, in setUserRestrictions() 2545 public boolean hasRestriction(int restriction, String packageName, int userId) { in hasRestriction() argument 2553 if (!restrictions[restriction]) { in hasRestriction()
|
/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
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
D | Pm.java | 1158 String restriction = nextArg(); in runSetUserRestriction() local 1170 mUm.setUserRestriction(restriction, value, userId); in runSetUserRestriction()
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 209 Intent createAdminSupportIntent(in String restriction); in createAdminSupportIntent() argument
|
/frameworks/compile/libbcc/ |
D | NOTICE | 220 the Software without restriction, including without limitation the rights to
|