Searched refs:restriction (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/core/java/android/content/
H A DRestrictionsManager.java72 * <restriction
82 * <restriction ... />
84 * </restriction>
85 * <restriction ... />
90 * The attributes for each restriction depend on the restriction type.
101 * <li><code>description</code> is meant to describe the restriction in more detail to the
106 * restriction elements.
400 private static final String TAG_RESTRICTION = "restriction";
560 RestrictionEntry restriction;
[all...]
H A DRestrictionEntry.java29 * applied to the restricted user. Each RestrictionsEntry is one configurable restriction.
39 * Hidden restriction type. Use this type for information that needs to be transferred
59 * Internal restriction type. Use this for storing a string value, typically presented as
105 /** The type of restriction. */
108 /** The unique key that identifies the restriction. */
111 /** The user-visible title of the restriction. */
114 /** The user-visible secondary description of the restriction. */
126 /* The chosen value, whose content depends on the type of the restriction. */
141 * @param type the restriction type.
142 * @param key the unique key for this restriction
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DUserRestrictionsUtils.java110 * Set of user restriction which we don't want to persist.
154 * Throws {@link IllegalArgumentException} if the given restriction name is invalid.
156 public static boolean isValidRestriction(@NonNull String restriction) { argument
157 if (!USER_RESTRICTIONS.contains(restriction)) {
158 Slog.e(TAG, "Unknown restriction: " + restriction);
181 Log.w(TAG, "Unknown user restriction detected: " + key);
232 * @return true if a restriction is settable by device owner.
234 public static boolean canDeviceOwnerChange(String restriction) { argument
235 return !IMMUTABLE_BY_OWNERS.contains(restriction);
242 canProfileOwnerChange(String restriction, int userId) argument
[all...]
H A DPackageManagerService.java3889 * @param checkShell whether to prevent shell from access if there's a debugging restriction
3917 void enforceShellRestriction(String restriction, int callingUid, int userHandle) { argument
3920 && sUserManager.hasUserRestriction(restriction, userHandle)) {
8546 // with it. Better to just have the restriction here, be
14250 // retain upgrade restriction
15963 // Regardless of writeSettings we need to ensure that this restriction
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDpmTestUtils.java62 for (String restriction : restrictions) {
63 ret.putBoolean(restriction, true);
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java643 // first followed by checking the user restriction before performing an operation.
1148 * restriction.
1157 String restriction;
1164 restriction = UserManager.DISALLOW_SHARE_LOCATION;
1169 // a provider, which should be allowed even if the user restriction is set.
1171 restriction = UserManager.DISALLOW_SHARE_LOCATION;
1176 restriction = UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES;
1181 restriction = UserManager.DISALLOW_DEBUGGING_FEATURES;
1187 restriction = UserManager.ENSURE_VERIFY_APPS;
1191 restriction
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DAppOpsService.java1317 // package is exempt from the restriction.
2182 String restriction = AppOpsManager.opToRestriction(i);
2183 if (restriction != null) {
2184 setUserRestrictionNoCheck(i, restrictions.getBoolean(restriction, false), token,
2361 public boolean hasRestriction(int restriction, String packageName, int userId) { argument
2369 if (!restrictions[restriction]) {
/frameworks/base/cmds/pm/src/com/android/commands/pm/
H A DPm.java257 if ("set-user-restriction".equals(op)) {
1073 String restriction = nextArg();
1085 mUm.setUserRestriction(restriction, value, userId);
/frameworks/base/services/core/java/com/android/server/am/
H A DUserController.java1027 // For now, only check for user restriction. Additional checks can be added here
1441 boolean hasUserRestriction(String restriction, int userId) { argument
1442 return getUserManager().hasUserRestriction(restriction, userId);
H A DActivityManagerService.java3361 // Don't allow the client index restriction to push it down farther in the
3964 void enforceShellRestriction(String restriction, int userHandle) { argument
3966 if (userHandle < 0 || mUserController.hasUserRestriction(restriction, userHandle)) {
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 1801 milliseconds