Home
last modified time | relevance | path

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

123456

/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/util/
DRestrictedPreferenceController.java26 import com.android.tv.settings.library.settingslib.RestrictedLockUtilsInternal;
42 if (RestrictedLockUtilsInternal.hasBaseUserRestriction(mContext, mAttrUserRestriction, in RestrictedPreferenceController()
56 if (RestrictedLockUtilsInternal.hasBaseUserRestriction(mContext, mAttrUserRestriction, in RestrictedPreferenceController()
73 admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(mContext, in checkRestrictionAndSetDisabled()
/packages/apps/Settings/src/com/android/settings/network/
DNetworkResetRestrictionChecker.java25 import com.android.settingslib.RestrictedLockUtilsInternal;
39 return RestrictedLockUtilsInternal.hasBaseUserRestriction(mContext, in hasUserBaseRestriction()
45 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in isRestrictionEnforcedByAdmin()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DUninstallPreference.java31 import com.android.settingslib.RestrictedLockUtilsInternal;
74 final RestrictedLockUtils.EnforcedAdmin admin = RestrictedLockUtilsInternal in refresh()
102 RestrictedLockUtilsInternal.hasBaseUserRestriction( in isUninstallRestricted()
105 RestrictedLockUtilsInternal.checkIfUninstallBlocked(mAppContext, packageName, in isUninstallRestricted()
/packages/apps/Settings/src/com/android/settings/location/
DLocationEnabler.java16 import static com.android.settingslib.RestrictedLockUtilsInternal.checkIfRestrictionEnforced;
33 import com.android.settingslib.RestrictedLockUtilsInternal;
158 admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in getShareLocationEnforcedAdmin()
168 return RestrictedLockUtilsInternal.hasBaseUserRestriction( in hasShareLocationRestriction()
/packages/apps/Settings/src/com/android/settings/display/
DScreenTimeoutPreferenceController.java37 import com.android.settingslib.RestrictedLockUtilsInternal;
89 if (RestrictedLockUtilsInternal.checkIfMaximumTimeToLockIsSet(mContext) != null) { in getMaxScreenTimeout()
108 admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in getPreferenceDisablingAdmin()
112 admin = RestrictedLockUtilsInternal.checkIfMaximumTimeToLockIsSet(mContext); in getPreferenceDisablingAdmin()
/packages/apps/Settings/src/com/android/settings/users/
DMultiUserSwitchBarController.java28 import com.android.settingslib.RestrictedLockUtilsInternal;
57 mSwitchBar.setDisabledByAdmin(RestrictedLockUtilsInternal in MultiUserSwitchBarController()
62 mSwitchBar.setDisabledByAdmin(RestrictedLockUtilsInternal in MultiUserSwitchBarController()
DUserCapabilities.java29 import com.android.settingslib.RestrictedLockUtilsInternal;
79 mEnforcedAdmin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(context, in updateAddUserCapabilities()
81 final boolean hasBaseUserRestriction = RestrictedLockUtilsInternal.hasBaseUserRestriction( in updateAddUserCapabilities()
/packages/apps/Settings/src/com/android/settings/deviceinfo/firmwareversion/
DFirmwareVersionDetailPreferenceController.java34 import com.android.settingslib.RestrictedLockUtilsInternal;
122 mFunDisallowedAdmin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in initializeAdminPermissions()
124 mFunDisallowedBySystem = RestrictedLockUtilsInternal.hasBaseUserRestriction( in initializeAdminPermissions()
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DEnterpriseUtils.java42 import com.android.settingslib.RestrictedLockUtilsInternal;
306 admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in getEnforcedAdmin()
314 admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in getEnforcedAdmin()
323 admin = RestrictedLockUtilsInternal.checkIfInputMethodDisallowed( in getEnforcedAdmin()
326 admin = RestrictedLockUtilsInternal.checkIfUninstallBlocked( in getEnforcedAdmin()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/privacy/
DLocationModePC.java28 import com.android.tv.settings.library.settingslib.RestrictedLockUtilsInternal;
73 final RestrictedLockUtils.EnforcedAdmin admin = RestrictedLockUtilsInternal in checkIfUserRestrictionEnforcedByAdmin()
81 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced(mContext, in checkIfUserRestrictionEnforcedByAdmin()
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DAppForceStopButton.kt33 import com.android.settingslib.RestrictedLockUtilsInternal in <lambda>()
74 RestrictedLockUtilsInternal.getDeviceOwner(context) ?: EnforcedAdmin() in <lambda>()
77 else -> RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in <lambda>()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DRestrictionUtils.java23 import com.android.settingslib.RestrictedLockUtilsInternal;
39 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in checkIfRestrictionEnforced()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceSettingsPreferenceController.java24 import com.android.settingslib.RestrictedLockUtilsInternal;
46 return RestrictedLockUtilsInternal.checkIfKeyguardFeaturesDisabled( in getRestrictingAdmin()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintSettingsPreferenceController.java24 import com.android.settingslib.RestrictedLockUtilsInternal;
46 return RestrictedLockUtilsInternal.checkIfKeyguardFeaturesDisabled( in getRestrictingAdmin()
/packages/apps/Settings/src/com/android/settings/accounts/
DProviderPreference.java24 import com.android.settingslib.RestrictedLockUtilsInternal;
50 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfAccountManagementDisabled( in checkAccountManagementAndSetDisabled()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DExternalSources.java32 import com.android.settingslib.RestrictedLockUtilsInternal;
101 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(getContext(), in checkIfRestrictionEnforcedByAdmin()
108 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced(getContext(), in checkIfRestrictionEnforcedByAdmin()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowRestrictedLockUtilsInternal.java22 import com.android.settingslib.RestrictedLockUtilsInternal;
28 @Implements(RestrictedLockUtilsInternal.class)
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DNetworkRequestDialogActivity.java28 import com.android.settingslib.RestrictedLockUtilsInternal;
43 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(this, in onCreate()
/packages/apps/Settings/src/com/android/settings/security/
DMemtagPagePreferenceController.java27 import com.android.settingslib.RestrictedLockUtilsInternal;
46 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfMteIsDisabled(mContext); in displayPreference()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DResetAppPrefFragmentTest.java52 import com.android.settingslib.RestrictedLockUtilsInternal;
100 .mockStatic(RestrictedLockUtilsInternal.class, withSettings().lenient()) in setUp()
179 ExtendedMockito.when(RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in resetClicked_adminDisallowResetsApplicationPreferences()
183 ExtendedMockito.when(RestrictedLockUtilsInternal.hasBaseUserRestriction(mActivity, in resetClicked_adminDisallowResetsApplicationPreferences()
/packages/apps/Settings/src/com/android/settings/
DRestrictedCheckBox.java27 import com.android.settingslib.RestrictedLockUtilsInternal;
61 RestrictedLockUtilsInternal.setTextViewAsDisabledByAdmin(mContext, this, in setDisabledByAdmin()
/packages/apps/Settings/src/com/android/settings/biometrics/combination/
DBiometricFingerprintStatusPreferenceController.java27 import com.android.settingslib.RestrictedLockUtilsInternal;
51 RestrictedLockUtilsInternal.checkIfKeyguardFeaturesDisabled( in updateState()
DBiometricFaceStatusPreferenceController.java27 import com.android.settingslib.RestrictedLockUtilsInternal;
50 RestrictedLockUtilsInternal.checkIfKeyguardFeaturesDisabled( in updateState()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DResetAppPrefFragment.java43 import com.android.settingslib.RestrictedLockUtilsInternal;
87 RestrictedLockUtilsInternal.hasBaseUserRestriction(getActivity(), in resetAppPreferencesIfAllowed()
90 RestrictedLockUtilsInternal.checkIfRestrictionEnforced(getActivity(), in resetAppPreferencesIfAllowed()
/packages/apps/Settings/src/com/android/settings/widget/
DRestrictedButton.java26 import com.android.settingslib.RestrictedLockUtilsInternal;
78 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in getEnforcedAdmin()

123456