/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/util/ |
D | RestrictedPreferenceController.java | 26 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/ |
D | NetworkResetRestrictionChecker.java | 25 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/ |
D | UninstallPreference.java | 31 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/ |
D | LocationEnabler.java | 16 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/ |
D | ScreenTimeoutPreferenceController.java | 37 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/ |
D | MultiUserSwitchBarController.java | 28 import com.android.settingslib.RestrictedLockUtilsInternal; 57 mSwitchBar.setDisabledByAdmin(RestrictedLockUtilsInternal in MultiUserSwitchBarController() 62 mSwitchBar.setDisabledByAdmin(RestrictedLockUtilsInternal in MultiUserSwitchBarController()
|
D | UserCapabilities.java | 29 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/ |
D | FirmwareVersionDetailPreferenceController.java | 34 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/ |
D | EnterpriseUtils.java | 42 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/ |
D | LocationModePC.java | 28 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/ |
D | AppForceStopButton.kt | 33 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/ |
D | RestrictionUtils.java | 23 import com.android.settingslib.RestrictedLockUtilsInternal; 39 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in checkIfRestrictionEnforced()
|
/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | FaceSettingsPreferenceController.java | 24 import com.android.settingslib.RestrictedLockUtilsInternal; 46 return RestrictedLockUtilsInternal.checkIfKeyguardFeaturesDisabled( in getRestrictingAdmin()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintSettingsPreferenceController.java | 24 import com.android.settingslib.RestrictedLockUtilsInternal; 46 return RestrictedLockUtilsInternal.checkIfKeyguardFeaturesDisabled( in getRestrictingAdmin()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | ProviderPreference.java | 24 import com.android.settingslib.RestrictedLockUtilsInternal; 50 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfAccountManagementDisabled( in checkAccountManagementAndSetDisabled()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/ |
D | ExternalSources.java | 32 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/ |
D | ShadowRestrictedLockUtilsInternal.java | 22 import com.android.settingslib.RestrictedLockUtilsInternal; 28 @Implements(RestrictedLockUtilsInternal.class)
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | NetworkRequestDialogActivity.java | 28 import com.android.settingslib.RestrictedLockUtilsInternal; 43 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(this, in onCreate()
|
/packages/apps/Settings/src/com/android/settings/security/ |
D | MemtagPagePreferenceController.java | 27 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/ |
D | ResetAppPrefFragmentTest.java | 52 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/ |
D | RestrictedCheckBox.java | 27 import com.android.settingslib.RestrictedLockUtilsInternal; 61 RestrictedLockUtilsInternal.setTextViewAsDisabledByAdmin(mContext, this, in setDisabledByAdmin()
|
/packages/apps/Settings/src/com/android/settings/biometrics/combination/ |
D | BiometricFingerprintStatusPreferenceController.java | 27 import com.android.settingslib.RestrictedLockUtilsInternal; 51 RestrictedLockUtilsInternal.checkIfKeyguardFeaturesDisabled( in updateState()
|
D | BiometricFaceStatusPreferenceController.java | 27 import com.android.settingslib.RestrictedLockUtilsInternal; 50 RestrictedLockUtilsInternal.checkIfKeyguardFeaturesDisabled( in updateState()
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | ResetAppPrefFragment.java | 43 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/ |
D | RestrictedButton.java | 26 import com.android.settingslib.RestrictedLockUtilsInternal; 78 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in getEnforcedAdmin()
|