Searched refs:prevRestrictions (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/services/core/java/com/android/server/oemlock/ |
D | OemLockService.java | 94 Bundle prevRestrictions) { 96 if (UserRestrictionsUtils.restrictionsChanged(prevRestrictions, newRestrictions,
|
/frameworks/base/core/java/android/os/ |
D | UserManagerInternal.java | 39 void onUserRestrictionsChanged(int userId, Bundle newRestrictions, Bundle prevRestrictions); in onUserRestrictionsChanged() argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserRestrictionsUtils.java | 490 Bundle newRestrictions, Bundle prevRestrictions) { in applyUserRestrictions() argument 493 final boolean prevValue = prevRestrictions.getBoolean(key); in applyUserRestrictions()
|
D | UserManagerService.java | 1738 Bundle newRestrictions, Bundle prevRestrictions) { in propagateUserRestrictionsLR() argument 1743 if (UserRestrictionsUtils.areEqual(newRestrictions, prevRestrictions)) { in propagateUserRestrictionsLR() 1748 final Bundle prevRestrictionsFinal = new Bundle(prevRestrictions); in propagateUserRestrictionsLR()
|
/frameworks/base/services/core/java/com/android/server/infra/ |
D | AbstractMasterSystemService.java | 236 umi.addUserRestrictionsListener((userId, newRestrictions, prevRestrictions) -> { in AbstractMasterSystemService() argument
|
/frameworks/base/services/core/java/com/android/server/ |
D | BluetoothManagerService.java | 235 Bundle prevRestrictions) { 237 if (UserRestrictionsUtils.restrictionsChanged(prevRestrictions, newRestrictions, 245 && UserRestrictionsUtils.restrictionsChanged(prevRestrictions,
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 964 Bundle prevRestrictions) -> { in startWatchingUserRestrictionChanges() argument 965 Set<String> changedRestrictions = getRestrictionDiff(prevRestrictions, newRestrictions); in startWatchingUserRestrictionChanges() 1053 private static Set<String> getRestrictionDiff(Bundle prevRestrictions, Bundle newRestrictions) { in getRestrictionDiff() argument 1055 restrictionNames.addAll(prevRestrictions.keySet()); in getRestrictionDiff() 1059 if (prevRestrictions.getBoolean(restrictionName) != newRestrictions.getBoolean( in getRestrictionDiff()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Tethering.java | 795 Bundle prevRestrictions) { in onUserRestrictionsChanged() argument 799 prevRestrictions.getBoolean(UserManager.DISALLOW_CONFIG_TETHERING); in onUserRestrictionsChanged()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 5730 Bundle prevRestrictions) { in onUserRestrictionsChanged() argument 5734 prevRestrictions.getBoolean(UserManager.DISALLOW_UNMUTE_MICROPHONE); in onUserRestrictionsChanged() 5745 prevRestrictions.getBoolean(UserManager.DISALLOW_ADJUST_VOLUME) in onUserRestrictionsChanged() 5746 || prevRestrictions.getBoolean(UserManager.DISALLOW_UNMUTE_DEVICE); in onUserRestrictionsChanged()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 872 Bundle prevRestrictions) { in onUserRestrictionsChanged() argument 876 prevRestrictions.getBoolean(UserManager.DISALLOW_SHARE_INTO_MANAGED_PROFILE); in onUserRestrictionsChanged()
|