Searched defs:newRestrictions (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDpmTestUtils.java60 public static Bundle newRestrictions(String... restrictions) { method in class:DpmTestUtils
149 final Bundle a = newRestrictions();
150 final Bundle b = newRestrictions("a");
151 final Bundle c = newRestrictions("a");
152 final Bundle d = newRestrictions("b", "c");
153 final Bundle e = newRestrictions("b", "c");
/frameworks/base/core/java/android/os/
H A DUserManagerInternal.java32 * @param newRestrictions new user restrictions
35 void onUserRestrictionsChanged(int userId, Bundle newRestrictions, Bundle prevRestrictions); argument
/frameworks/base/services/core/java/com/android/server/pm/
H A DUserRestrictionsUtils.java305 Bundle newRestrictions, Bundle prevRestrictions) {
307 final boolean newValue = newRestrictions.getBoolean(key);
304 applyUserRestrictions(Context context, int userId, Bundle newRestrictions, Bundle prevRestrictions) argument
H A DUserManagerService.java1278 final Bundle newRestrictions = UserRestrictionsUtils.clone(
1280 newRestrictions.putBoolean(key, value);
1282 updateUserRestrictionsInternalLR(newRestrictions, userId);
1290 * @param newRestrictions User restrictions to set.
1296 @Nullable Bundle newRestrictions, int userId) {
1302 if (newRestrictions != null) {
1303 // If newRestrictions == the current one, it's probably a bug.
1306 Preconditions.checkState(prevBaseRestrictions != newRestrictions);
1308 != newRestrictions);
1310 if (!UserRestrictionsUtils.areEqual(prevBaseRestrictions, newRestrictions)) {
1295 updateUserRestrictionsInternalLR( @ullable Bundle newRestrictions, int userId) argument
1344 propagateUserRestrictionsLR(final int userId, Bundle newRestrictions, Bundle prevRestrictions) argument
[all...]
/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java5370 public void onUserRestrictionsChanged(int userId, Bundle newRestrictions, argument
5377 newRestrictions.getBoolean(UserManager.DISALLOW_UNMUTE_MICROPHONE);
5389 newRestrictions.getBoolean(UserManager.DISALLOW_ADJUST_VOLUME)
5390 || newRestrictions.getBoolean(UserManager.DISALLLOW_UNMUTE_DEVICE);

Completed in 276 milliseconds