Home
last modified time | relevance | path

Searched refs:RestrictedLockUtilsInternal (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java65 private RestrictedLockUtilsInternal.Proxy mProxy;
85 RestrictedLockUtilsInternal.sProxy = mProxy; in setUp()
104 EnforcedAdmin enforcedAdmin = RestrictedLockUtilsInternal in checkIfRestrictionEnforced_deviceOwner()
128 EnforcedAdmin enforcedAdmin = RestrictedLockUtilsInternal in checkIfRestrictionEnforced_profileOwner()
139 final EnforcedAdmin enforcedAdmin = RestrictedLockUtilsInternal in checkIfDevicePolicyServiceDisabled_noEnforceAdminForManagedProfile()
149 final EnforcedAdmin enforcedAdmin = RestrictedLockUtilsInternal in checkIfDeviceAdminFeatureDisabled_noEnforceAdminForManagedProfile()
159 final EnforcedAdmin enforcedAdmin = RestrictedLockUtilsInternal in checkIfKeyguardFeaturesDisabled_noEnforcedAdminForManagedProfile()
172 final EnforcedAdmin enforcedAdmin = RestrictedLockUtilsInternal in checkIfKeyguardFeaturesDisabled_oneEnforcedAdminForManagedProfile()
187 final EnforcedAdmin enforcedAdmin = RestrictedLockUtilsInternal in checkIfKeyguardFeaturesDisabled_multipleEnforcedAdminForManagedProfile()
205 EnforcedAdmin parent = RestrictedLockUtilsInternal.checkIfKeyguardFeaturesDisabled( in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/utils/
DUserRestrictionChecker.kt5 import com.android.settingslib.RestrictedLockUtilsInternal
15 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in checkIfRestrictionEnforced()
23 return RestrictedLockUtilsInternal.hasBaseUserRestriction(context, userRestriction, userId) in hasBaseUserRestriction()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DTetherUtil.java27 final boolean tetherConfigDisallowed = RestrictedLockUtilsInternal in isTetherAvailable()
30 final boolean hasBaseUserRestriction = RestrictedLockUtilsInternal.hasBaseUserRestriction( in isTetherAvailable()
DRestrictedPreferenceHelper.java92 if (RestrictedLockUtilsInternal.hasBaseUserRestriction(mContext, mAttrUserRestriction, in RestrictedPreferenceHelper()
166 RestrictedLockUtilsInternal.sendShowRestrictedSettingDialogIntent(mContext, in performClick()
190 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(mContext, in checkRestrictionAndSetDisabled()
204 Intent intent = RestrictedLockUtilsInternal.checkIfRequiresEnhancedConfirmation( in checkEcmRestrictionAndSetDisabled()
216 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced(mContext, in checkRestrictionEnforced()
DRestrictedLockImageSpan.java40 mRestrictedPadlock = RestrictedLockUtilsInternal.getRestrictedPadlock(mContext); in RestrictedLockImageSpan()
DRestrictedLockUtilsInternal.java68 public class RestrictedLockUtilsInternal extends RestrictedLockUtils { class
847 EnforcedAdmin admin = RestrictedLockUtilsInternal.getDeviceOwner(context); in checkIfApplicationCanBeCredentialManagerProvider()
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/enterprise/
DRestrictionsProvider.kt27 import com.android.settingslib.RestrictedLockUtilsInternal in <lambda>()
85 RestrictedLockUtilsInternal in restrictedModeState()
91 RestrictedLockUtilsInternal in restrictedModeState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/interactor/
DDisabledByPolicyInteractor.kt25 import com.android.settingslib.RestrictedLockUtilsInternal
112 RestrictedLockUtilsInternal.hasBaseUserRestriction(
120 RestrictedLockUtilsInternal.checkIfRestrictionEnforced(
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DEditUserInfoController.java40 import com.android.settingslib.RestrictedLockUtilsInternal;
223 return RestrictedLockUtilsInternal.hasBaseUserRestriction( in isChangePhotoRestrictedByBase()
229 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in getChangePhotoAdminRestriction()
DCreateUserDialogController.java42 import com.android.settingslib.RestrictedLockUtilsInternal;
377 return RestrictedLockUtilsInternal.hasBaseUserRestriction( in isChangePhotoRestrictedByBase()
383 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in getChangePhotoAdminRestriction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessController.java51 import com.android.settingslib.RestrictedLockUtilsInternal;
377 RestrictedLockUtilsInternal.checkIfRestrictionEnforced(mContext, in checkRestrictionAndSetEnabled()
381 && RestrictedLockUtilsInternal.hasBaseUserRestriction(mContext, in checkRestrictionAndSetEnabled()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/
DAbstractEnableAdbPreferenceController.java19 import static com.android.settingslib.RestrictedLockUtilsInternal.checkIfUsbDataSignalingIsDisabled;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodPreference.java46 import com.android.settingslib.RestrictedLockUtilsInternal;
224 RestrictedLockUtilsInternal.checkIfInputMethodDisallowed( in updatePreferenceViews()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DRestrictedLockUtilsInternal.java36 public class RestrictedLockUtilsInternal { class
DAccessibilitySecurityPolicy.java433 if (RestrictedLockUtilsInternal.checkIfInputMethodDisallowed( in canEnableDisableInputMethod()
DAccessibilityManagerService.java4929 RestrictedLockUtilsInternal.checkIfAccessibilityServiceDisallowed( in sendRestrictedDialogIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileImpl.java57 import com.android.settingslib.RestrictedLockUtilsInternal;
524 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(mContext, in checkIfRestrictionEnforcedByAdminOnly()
526 if (admin != null && !RestrictedLockUtilsInternal.hasBaseUserRestriction(mContext, in checkIfRestrictionEnforcedByAdminOnly()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputController.java72 import com.android.settingslib.RestrictedLockUtilsInternal;
890 if (RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in hasAdjustVolumeUserRestriction()