Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DIUserRestrictionsListener.aidl25 … void onUserRestrictionsChanged(int userId, in Bundle newRestrictions, in Bundle prevRestrictions); in onUserRestrictionsChanged() argument
/frameworks/base/services/core/java/com/android/server/oemlock/
DOemLockService.java94 Bundle prevRestrictions) {
96 if (UserRestrictionsUtils.restrictionsChanged(prevRestrictions, newRestrictions,
/frameworks/base/services/core/java/android/os/
DUserManagerInternal.java56 void onUserRestrictionsChanged(int userId, Bundle newRestrictions, Bundle prevRestrictions); in onUserRestrictionsChanged() argument
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java493 Bundle newRestrictions, Bundle prevRestrictions) { in applyUserRestrictions() argument
496 final boolean prevValue = prevRestrictions.getBoolean(key); in applyUserRestrictions()
DUserManagerService.java2137 Bundle newRestrictions, Bundle prevRestrictions) { in propagateUserRestrictionsLR() argument
2142 if (UserRestrictionsUtils.areEqual(newRestrictions, prevRestrictions)) { in propagateUserRestrictionsLR()
2147 final Bundle prevRestrictionsFinal = new Bundle(prevRestrictions); in propagateUserRestrictionsLR()
/frameworks/base/services/core/java/com/android/server/infra/
DAbstractMasterSystemService.java273 umi.addUserRestrictionsListener((userId, newRestrictions, prevRestrictions) -> { in AbstractMasterSystemService() argument
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java256 Bundle prevRestrictions) {
258 if (UserRestrictionsUtils.restrictionsChanged(prevRestrictions, newRestrictions,
266 && UserRestrictionsUtils.restrictionsChanged(prevRestrictions,
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java955 Bundle newRestrictions, Bundle prevRestrictions) { in startWatchingUserRestrictionChanges()
957 getRestrictionDiff(prevRestrictions, newRestrictions); in startWatchingUserRestrictionChanges()
1048 private static Set<String> getRestrictionDiff(Bundle prevRestrictions, Bundle newRestrictions) { in getRestrictionDiff() argument
1050 restrictionNames.addAll(prevRestrictions.keySet()); in getRestrictionDiff()
1054 if (prevRestrictions.getBoolean(restrictionName) != newRestrictions.getBoolean( in getRestrictionDiff()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java6671 Bundle prevRestrictions) { in onUserRestrictionsChanged() argument
6675 prevRestrictions.getBoolean(UserManager.DISALLOW_UNMUTE_MICROPHONE); in onUserRestrictionsChanged()
6687 prevRestrictions.getBoolean(UserManager.DISALLOW_ADJUST_VOLUME) in onUserRestrictionsChanged()
6688 || prevRestrictions.getBoolean(UserManager.DISALLOW_UNMUTE_DEVICE); in onUserRestrictionsChanged()