Home
last modified time | relevance | path

Searched refs:prevRestrictions (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/core/java/com/android/server/oemlock/
DOemLockService.java94 Bundle prevRestrictions) {
96 if (UserRestrictionsUtils.restrictionsChanged(prevRestrictions, newRestrictions,
/frameworks/base/core/java/android/os/
DUserManagerInternal.java39 void onUserRestrictionsChanged(int userId, Bundle newRestrictions, Bundle prevRestrictions); in onUserRestrictionsChanged() argument
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java490 Bundle newRestrictions, Bundle prevRestrictions) { in applyUserRestrictions() argument
493 final boolean prevValue = prevRestrictions.getBoolean(key); in applyUserRestrictions()
DUserManagerService.java1738 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/
DAbstractMasterSystemService.java236 umi.addUserRestrictionsListener((userId, newRestrictions, prevRestrictions) -> { in AbstractMasterSystemService() argument
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java235 Bundle prevRestrictions) {
237 if (UserRestrictionsUtils.restrictionsChanged(prevRestrictions, newRestrictions,
245 && UserRestrictionsUtils.restrictionsChanged(prevRestrictions,
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java964 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/
DTethering.java795 Bundle prevRestrictions) { in onUserRestrictionsChanged() argument
799 prevRestrictions.getBoolean(UserManager.DISALLOW_CONFIG_TETHERING); in onUserRestrictionsChanged()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java5730 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/
DDevicePolicyManagerService.java872 Bundle prevRestrictions) { in onUserRestrictionsChanged() argument
876 prevRestrictions.getBoolean(UserManager.DISALLOW_SHARE_INTO_MANAGED_PROFILE); in onUserRestrictionsChanged()