Home
last modified time | relevance | path

Searched refs:checkIfRestrictionEnforced (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/utils/
DUserRestrictionChecker.kt10 fun checkIfRestrictionEnforced( in checkIfRestrictionEnforced() method
15 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in checkIfRestrictionEnforced()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/brightness/data/repository/
DBrightnessPolicyRepositoryImplTest.kt61 whenever(checkIfRestrictionEnforced(any(), anyString(), anyInt())).thenReturn(null) in <lambda>()
97 mockUserRestrictionChecker.checkIfRestrictionEnforced( in restrictDefaultUser()
123 mockUserRestrictionChecker.checkIfRestrictionEnforced( in restrictMainUser()
169 mockUserRestrictionChecker.checkIfRestrictionEnforced( in bothRestrictions_returnsSetEnforcedAdminFromCheck()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DTetherUtil.java28 .checkIfRestrictionEnforced(context, DISALLOW_CONFIG_TETHERING, in isTetherAvailable()
DRestrictedPreferenceHelper.java190 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(mContext, in checkRestrictionAndSetDisabled()
216 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced(mContext, in checkRestrictionEnforced()
DRestrictedLockUtilsInternal.java169 public static EnforcedAdmin checkIfRestrictionEnforced(Context context, in checkIfRestrictionEnforced() method in RestrictedLockUtilsInternal
299 EnforcedAdmin allAppsControlDisallowedAdmin = checkIfRestrictionEnforced(context, in checkIfUninstallBlocked()
304 EnforcedAdmin allAppsUninstallDisallowedAdmin = checkIfRestrictionEnforced(context, in checkIfUninstallBlocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/brightness/data/repository/
DBrightnessPolicyRepository.kt65 .checkIfRestrictionEnforced( in user()
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/enterprise/
DRestrictionsProvider.kt86 .checkIfRestrictionEnforced(context, key, restrictions.userId) in restrictedModeState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/interactor/
DDisabledByPolicyInteractor.kt120 RestrictedLockUtilsInternal.checkIfRestrictionEnforced(
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/legacyhelper/data/
DLegacyUserDataHelper.kt111 userRestrictionChecker.checkIfRestrictionEnforced( in getEnforcedAdmin()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java105 .checkIfRestrictionEnforced(mContext, userRestriction, mUserId); in checkIfRestrictionEnforced_deviceOwner()
129 .checkIfRestrictionEnforced(mContext, userRestriction, mUserId); in checkIfRestrictionEnforced_profileOwner()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DEditUserInfoController.java229 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in getChangePhotoAdminRestriction()
DCreateUserDialogController.java383 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in getChangePhotoAdminRestriction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessController.java377 RestrictedLockUtilsInternal.checkIfRestrictionEnforced(mContext, in checkRestrictionAndSetEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileImpl.java524 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(mContext, in checkIfRestrictionEnforcedByAdminOnly()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputController.java890 if (RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in hasAdjustVolumeUserRestriction()