Searched refs:prevRestrictions (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/java/android/os/ |
D | IUserRestrictionsListener.aidl | 25 … void onUserRestrictionsChanged(int userId, in Bundle newRestrictions, in Bundle prevRestrictions); in onUserRestrictionsChanged() argument
|
/frameworks/base/services/core/java/com/android/server/oemlock/ |
D | OemLockService.java | 94 Bundle prevRestrictions) { 96 if (UserRestrictionsUtils.restrictionsChanged(prevRestrictions, newRestrictions,
|
/frameworks/base/services/core/java/android/os/ |
D | UserManagerInternal.java | 56 void onUserRestrictionsChanged(int userId, Bundle newRestrictions, Bundle prevRestrictions); in onUserRestrictionsChanged() argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserRestrictionsUtils.java | 493 Bundle newRestrictions, Bundle prevRestrictions) { in applyUserRestrictions() argument 496 final boolean prevValue = prevRestrictions.getBoolean(key); in applyUserRestrictions()
|
D | UserManagerService.java | 2137 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/ |
D | AbstractMasterSystemService.java | 273 umi.addUserRestrictionsListener((userId, newRestrictions, prevRestrictions) -> { in AbstractMasterSystemService() argument
|
/frameworks/base/services/core/java/com/android/server/ |
D | BluetoothManagerService.java | 256 Bundle prevRestrictions) { 258 if (UserRestrictionsUtils.restrictionsChanged(prevRestrictions, newRestrictions, 266 && UserRestrictionsUtils.restrictionsChanged(prevRestrictions,
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 955 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/ |
D | AudioService.java | 6671 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()
|