/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/ |
BaseUserRestrictionsTest.java | 91 protected void assertLayeredRestriction(String restriction, boolean expected) { 92 assertEquals("Restriction " + restriction + ": expected=" + expected, 93 expected, mUserManager.hasUserRestriction(restriction)); 96 protected void assertOwnerRestriction(String restriction, boolean expected) { 97 assertEquals("Restriction " + restriction + ": expected=" + expected, 99 .getBoolean(restriction)); 109 * Test that the given restriction can be set and cleared, then leave it set again. 111 protected void assertSetClearUserRestriction(String restriction) { [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
UserRestrictions.java | 140 public static String getRestrictionLabel(Context context, String restriction) { 141 final UserRestrictionItem item = findRestrictionItem(restriction); 145 public static String getUserAction(Context context, String restriction) { 146 final UserRestrictionItem item = findRestrictionItem(restriction); 150 private static UserRestrictionItem findRestrictionItem(String restriction) { 151 final UserRestrictionItem item = USER_RESTRICTION_ITEMS.get(restriction); 153 throw new IllegalArgumentException("Unknown restriction: " + restriction); 158 public static boolean isValidForPO(String restriction) { 159 return ALSO_VALID_FOR_PO.contains(restriction); [all...] |
PolicyTransparencyTestListActivity.java | 122 for (String restriction : UserRestrictions.getUserRestrictions()) { 123 final Intent intent = UserRestrictions.getUserRestrictionTestIntent(this, restriction); 124 if (!mIsDeviceOwner && !UserRestrictions.isValidForPO(restriction)) { 127 final String title = UserRestrictions.getRestrictionLabel(this, restriction);
|
ByodHelperActivity.java | 94 // Primary -> managed intent: set unknown sources restriction and install package 124 // Primary -> managed intent: set a user restriction 128 // Primary -> managed intent: reset a user restriction 314 final String restriction = intent.getStringExtra(EXTRA_PARAMETER_1); local 315 if (restriction != null) { 317 DeviceAdminTestReceiver.getReceiverComponentName(), restriction); local 320 final String restriction = intent.getStringExtra(EXTRA_PARAMETER_1); local 321 if (restriction != null) { 323 DeviceAdminTestReceiver.getReceiverComponentName(), restriction); local
|
/frameworks/base/core/java/android/content/ |
RestrictionsManager.java | 72 * <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; local 617 RestrictionEntry restriction = new RestrictionEntry(restrictionType, key); local [all...] |
/external/guava/guava/src/com/google/common/collect/ |
TreeRangeSet.java | 629 * restriction is the subRangeSet view; ranges are truncated to their intersection with 630 * restriction. 632 private final Range<C> restriction; 637 private SubRangeSetRangesByLowerBound(Range<Cut<C>> lowerBoundWindow, Range<C> restriction, 640 this.restriction = checkNotNull(restriction); 650 lowerBoundWindow.intersection(window), restriction, rangesByLowerBound); 688 if (!lowerBoundWindow.contains(cut) || cut.compareTo(restriction.lowerBound) < 0 689 || cut.compareTo(restriction.upperBound) >= 0) { 691 } else if (cut.equals(restriction.lowerBound)) [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
UserRestrictionsUtils.java | 110 * 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) { 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) { 235 return !IMMUTABLE_BY_OWNERS.contains(restriction); [all...] |
/developers/build/prebuilts/gradle/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/ |
AppRestrictionEnforcerFragment.java | 68 * Key for the boolean restriction in AppRestrictionSchema. 73 * Key for the string restriction in AppRestrictionSchema. 78 * Key for the integer restriction in AppRestrictionSchema. 83 * Key for the choice restriction in AppRestrictionSchema. 88 * Key for the multi-select restriction in AppRestrictionSchema. 93 * Key for the bundle restriction in AppRestrictionSchema. 100 * Key for the bundle array restriction in AppRestrictionSchema. 275 for (RestrictionEntry restriction : restrictions) { 276 String key = restriction.getKey(); 279 restriction.getSelectedState())) [all...] |
/developers/samples/android/admin/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/ |
AppRestrictionEnforcerFragment.java | 68 * Key for the boolean restriction in AppRestrictionSchema. 73 * Key for the string restriction in AppRestrictionSchema. 78 * Key for the integer restriction in AppRestrictionSchema. 83 * Key for the choice restriction in AppRestrictionSchema. 88 * Key for the multi-select restriction in AppRestrictionSchema. 93 * Key for the bundle restriction in AppRestrictionSchema. 100 * Key for the bundle array restriction in AppRestrictionSchema. 275 for (RestrictionEntry restriction : restrictions) { 276 String key = restriction.getKey(); 279 restriction.getSelectedState())) [all...] |
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/ |
AppRestrictionEnforcerFragment.java | 68 * Key for the boolean restriction in AppRestrictionSchema. 73 * Key for the string restriction in AppRestrictionSchema. 78 * Key for the integer restriction in AppRestrictionSchema. 83 * Key for the choice restriction in AppRestrictionSchema. 88 * Key for the multi-select restriction in AppRestrictionSchema. 93 * Key for the bundle restriction in AppRestrictionSchema. 100 * Key for the bundle array restriction in AppRestrictionSchema. 275 for (RestrictionEntry restriction : restrictions) { 276 String key = restriction.getKey(); 279 restriction.getSelectedState())) [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
DpmTestUtils.java | 62 for (String restriction : restrictions) { 63 ret.putBoolean(restriction, true);
|
/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/ |
DeviceOwnerPasswordTest.java | 361 private void assertPasswordFails(String password, String restriction) { 364 assertFalse("Password '" + password + "' should have failed on " + restriction, 371 private void assertPasswordSucceeds(String password, String restriction) { 373 assertTrue("Password '" + password + "' failed on " + restriction, passwordResetResult);
|
/libcore/ojluni/src/main/java/sun/security/util/ |
DisabledAlgorithmConstraints.java | 315 for (String restriction : restrictions) { 316 if (restriction == null || restriction.isEmpty()) { 320 Matcher matcher = pattern.matcher(restriction);
|
/packages/apps/Settings/src/com/android/settings/ |
UserCredentialsSettings.java | 134 final String restriction = UserManager.DISALLOW_CONFIG_CREDENTIALS; local 136 if (!RestrictedLockUtils.hasBaseUserRestriction(getContext(), restriction, myUserId)) { 140 getContext(), restriction, myUserId);
|
/hardware/bsp/intel/peripheral/libmraa/examples/javascript/ |
spi.js | 9 * "Software"), to deal in the Software without restriction, including
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
CustomizationRestrictionsTest.java | 48 // Class sets/resets restriction in try-with-resources statement. 51 RestrictionApplicator(String restriction) { 52 mRestriction = restriction; 113 // DISALLOW_SET_WALLPAPER restriction is set. But we can't use 124 // Set restriction and subscribe for the broadcast. 164 // Apply restriction.
|
/external/mesa3d/ |
Android.common.mk | 8 # to deal in the Software without restriction, including without limitation
|
/external/mesa3d/src/egl/drivers/dri2/ |
Android.mk | 8 # to deal in the Software without restriction, including without limitation
|
/external/mesa3d/src/gallium/auxiliary/ |
Android.mk | 8 # to deal in the Software without restriction, including without limitation
|
/external/mesa3d/src/gallium/drivers/i915/ |
Android.mk | 8 # to deal in the Software without restriction, including without limitation
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
Android.mk | 8 # to deal in the Software without restriction, including without limitation
|
/external/mesa3d/src/gallium/drivers/nv30/ |
Android.mk | 8 # to deal in the Software without restriction, including without limitation
|
/external/mesa3d/src/gallium/drivers/nv50/ |
Android.mk | 8 # to deal in the Software without restriction, including without limitation
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
Android.mk | 8 # to deal in the Software without restriction, including without limitation
|
/external/mesa3d/src/gallium/drivers/r300/ |
Android.mk | 8 # to deal in the Software without restriction, including without limitation
|