Home
last modified time | relevance | path

Searched refs:prevRestrictions (Results 1 – 12 of 12) 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.java100 Bundle prevRestrictions) {
102 if (UserRestrictionsUtils.restrictionsChanged(prevRestrictions, newRestrictions,
/frameworks/base/services/core/java/com/android/server/timedetector/
DServiceConfigAccessorImpl.java164 int userId, Bundle newRestrictions, Bundle prevRestrictions) { in ServiceConfigAccessorImpl()
169 userId, newRestrictions, prevRestrictions)); in ServiceConfigAccessorImpl()
197 int userId, Bundle newRestrictions, Bundle prevRestrictions) { in handleUserRestrictionsChangeOnMainThread() argument
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DServiceConfigAccessorImpl.java211 int userId, Bundle newRestrictions, Bundle prevRestrictions) { in ServiceConfigAccessorImpl()
216 userId, newRestrictions, prevRestrictions)); in ServiceConfigAccessorImpl()
244 int userId, Bundle newRestrictions, Bundle prevRestrictions) { in handleUserRestrictionsChangeOnMainThread() argument
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerInternal.java114 void onUserRestrictionsChanged(int userId, Bundle newRestrictions, Bundle prevRestrictions); in onUserRestrictionsChanged() argument
DUserRestrictionsUtils.java619 Bundle newRestrictions, Bundle prevRestrictions) { in applyUserRestrictions() argument
622 final boolean prevValue = prevRestrictions.getBoolean(key); in applyUserRestrictions()
DUserManagerService.java3534 Bundle newRestrictions, Bundle prevRestrictions) { in propagateUserRestrictionsLR() argument
3539 if (UserRestrictionsUtils.areEqual(newRestrictions, prevRestrictions)) { in propagateUserRestrictionsLR()
3544 final Bundle prevRestrictionsFinal = new Bundle(prevRestrictions); in propagateUserRestrictionsLR()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DSensorPrivacyService.java379 Bundle prevRestrictions) { in onUserRestrictionsChanged() argument
381 if (!prevRestrictions.getBoolean(UserManager.DISALLOW_CAMERA_TOGGLE) in onUserRestrictionsChanged()
385 if (!prevRestrictions.getBoolean(UserManager.DISALLOW_MICROPHONE_TOGGLE) in onUserRestrictionsChanged()
/frameworks/base/services/core/java/com/android/server/infra/
DAbstractMasterSystemService.java273 umi.addUserRestrictionsListener((userId, newRestrictions, prevRestrictions) -> { in AbstractMasterSystemService() argument
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java1059 Bundle newRestrictions, Bundle prevRestrictions) { in startWatchingUserRestrictionChanges()
1061 getRestrictionDiff(prevRestrictions, newRestrictions); in startWatchingUserRestrictionChanges()
1147 private static Set<String> getRestrictionDiff(Bundle prevRestrictions, Bundle newRestrictions) { in getRestrictionDiff() argument
1149 restrictionNames.addAll(prevRestrictions.keySet()); in getRestrictionDiff()
1153 if (prevRestrictions.getBoolean(restrictionName) != newRestrictions.getBoolean( in getRestrictionDiff()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1301 Bundle prevRestrictions) { in onUserRestrictionsChanged() argument
1302 resetCrossProfileIntentFiltersIfNeeded(userId, newRestrictions, prevRestrictions); in onUserRestrictionsChanged()
1303 resetUserVpnIfNeeded(userId, newRestrictions, prevRestrictions); in onUserRestrictionsChanged()
1305 removePrivateSpaceIfRestrictionIsSet(userId, newRestrictions, prevRestrictions); in onUserRestrictionsChanged()
1310 int userId, Bundle newRestrictions, Bundle prevRestrictions) { in resetUserVpnIfNeeded() argument
1312 !prevRestrictions.getBoolean(UserManager.DISALLOW_CONFIG_VPN) in resetUserVpnIfNeeded()
1320 int userId, Bundle newRestrictions, Bundle prevRestrictions) { in resetCrossProfileIntentFiltersIfNeeded() argument
1321 if (UserRestrictionsUtils.restrictionsChanged(prevRestrictions, newRestrictions, in resetCrossProfileIntentFiltersIfNeeded()
1339 int userId, Bundle newRestrictions, Bundle prevRestrictions) { in removePrivateSpaceIfRestrictionIsSet() argument
1341 !prevRestrictions.getBoolean(UserManager.DISALLOW_ADD_PRIVATE_PROFILE) in removePrivateSpaceIfRestrictionIsSet()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java10129 Bundle prevRestrictions) { in onUserRestrictionsChanged() argument
10133 prevRestrictions.getBoolean(UserManager.DISALLOW_UNMUTE_MICROPHONE); in onUserRestrictionsChanged()
10145 prevRestrictions.getBoolean(UserManager.DISALLOW_ADJUST_VOLUME) in onUserRestrictionsChanged()
10146 || prevRestrictions.getBoolean(UserManager.DISALLOW_UNMUTE_DEVICE); in onUserRestrictionsChanged()