Home
last modified time | relevance | path

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

1234

/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothEnablerTest.java139 when(mRestrictionUtils.checkIfRestrictionEnforced(any(Context.class), any(String.class))) in maybeEnforceRestrictions_noRestrictions()
155 when(mRestrictionUtils.checkIfRestrictionEnforced( in maybeEnforceRestrictions_disallowBluetoothRestrictionSet()
157 when(mRestrictionUtils.checkIfRestrictionEnforced( in maybeEnforceRestrictions_disallowBluetoothRestrictionSet()
174 when(mRestrictionUtils.checkIfRestrictionEnforced( in maybeEnforceRestrictions_disallowConfigBluetoothRestrictionSet()
176 when(mRestrictionUtils.checkIfRestrictionEnforced( in maybeEnforceRestrictions_disallowConfigBluetoothRestrictionSet()
193 when(mRestrictionUtils.checkIfRestrictionEnforced( in maybeEnforceRestrictions_disallowBluetoothNotOverriden()
195 when(mRestrictionUtils.checkIfRestrictionEnforced( in maybeEnforceRestrictions_disallowBluetoothNotOverriden()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DRestrictionUtils.java38 public EnforcedAdmin checkIfRestrictionEnforced(Context context, String restriction) { in checkIfRestrictionEnforced() method in RestrictionUtils
39 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in checkIfRestrictionEnforced()
DBluetoothEnabler.java263 EnforcedAdmin admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin()
266 admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin()
/packages/apps/Settings/src/com/android/settings/development/
DVerifyAppsOverUsbPreferenceController.java58 public EnforcedAdmin checkIfRestrictionEnforced( in checkIfRestrictionEnforced() method in VerifyAppsOverUsbPreferenceController.RestrictedLockUtilsDelegate
60 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced(context, userRestriction, in checkIfRestrictionEnforced()
109 final EnforcedAdmin enforcingAdmin = mRestrictedLockUtils.checkIfRestrictionEnforced( in updateState()
/packages/apps/Settings/src/com/android/settings/location/
DLocationEnabler.java16 import static com.android.settingslib.RestrictedLockUtilsInternal.checkIfRestrictionEnforced;
154 RestrictedLockUtils.EnforcedAdmin admin = checkIfRestrictionEnforced( in getShareLocationEnforcedAdmin()
158 admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in getShareLocationEnforcedAdmin()
/packages/apps/Settings/src/com/android/settings/users/
DMultiUserSwitchBarController.java58 .checkIfRestrictionEnforced(mContext, UserManager.DISALLOW_USER_SWITCH, in MultiUserSwitchBarController()
63 .checkIfRestrictionEnforced(mContext, UserManager.DISALLOW_ADD_USER, in MultiUserSwitchBarController()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/privacy/
DLocationModePC.java74 .checkIfRestrictionEnforced(mContext, in checkIfUserRestrictionEnforcedByAdmin()
81 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced(mContext, in checkIfUserRestrictionEnforcedByAdmin()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DExternalSources.java101 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(getContext(), in checkIfRestrictionEnforcedByAdmin()
108 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced(getContext(), in checkIfRestrictionEnforcedByAdmin()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DAdaptiveSleepPreferenceControllerTest.java83 when(mRestrictionUtils.checkIfRestrictionEnforced(any(), in setUp()
162 when(mRestrictionUtils.checkIfRestrictionEnforced(any(), in addToScreen_enforcedAdmin_disablePreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowRestrictionUtils.java16 protected EnforcedAdmin checkIfRestrictionEnforced(Context context, String restriction) { in checkIfRestrictionEnforced() method in ShadowRestrictionUtils
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/about/
DAboutState.java196 && RestrictedLockUtilsInternal.checkIfRestrictionEnforced(context, in onCreate()
305 .checkIfRestrictionEnforced(context, UserManager.DISALLOW_FUN, in onPreferenceTreeClick()
335 .checkIfRestrictionEnforced(context, in onPreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/network/
DNetworkResetRestrictionChecker.java45 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in isRestrictionEnforcedByAdmin()
DResetNetworkRestrictionViewBuilder.java104 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in getEnforceAdminByRestriction()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowRestrictedLockUtilsInternal.java54 protected static RestrictedLockUtils.EnforcedAdmin checkIfRestrictionEnforced(Context context, in checkIfRestrictionEnforced() method in ShadowRestrictedLockUtilsInternal
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DNetworkRequestDialogActivity.java43 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(this, in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
DAboutFragment.java232 && RestrictedLockUtilsInternal.checkIfRestrictionEnforced(getContext(), in onCreatePreferences()
325 .checkIfRestrictionEnforced(getContext(), UserManager.DISALLOW_FUN, in onPreferenceTreeClick()
355 .checkIfRestrictionEnforced(getContext(), in onPreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/widget/
DRestrictedButton.java78 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in getEnforcedAdmin()
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DEnterpriseUtils.java306 admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in getEnforcedAdmin()
314 admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in getEnforcedAdmin()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothAccessoryActivity.java40 RestrictedLockUtilsInternal.checkIfRestrictionEnforced(this, in createSettingsFragment()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/oemlink/
DFactoryResetActivity.java55 RestrictedLockUtilsInternal.checkIfRestrictionEnforced(this, in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountsUtil.java98 RestrictedLockUtilsInternal.checkIfRestrictionEnforced(context, in isAdminRestricted()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/
DRestrictedLockUtilsInternal.java80 public static EnforcedAdmin checkIfRestrictionEnforced(Context context, in checkIfRestrictionEnforced() method in RestrictedLockUtilsInternal
205 EnforcedAdmin allAppsControlDisallowedAdmin = checkIfRestrictionEnforced(context, in checkIfUninstallBlocked()
210 EnforcedAdmin allAppsUninstallDisallowedAdmin = checkIfRestrictionEnforced(context, in checkIfUninstallBlocked()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DLocationFragment.java203 .checkIfRestrictionEnforced(getContext(), in checkIfUserRestrictionEnforcedByAdmin()
210 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced(getContext(), in checkIfUserRestrictionEnforcedByAdmin()
/packages/apps/Settings/src/com/android/settings/deviceinfo/firmwareversion/
DFirmwareVersionDetailPreferenceController.java122 mFunDisallowedAdmin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in initializeAdminPermissions()
/packages/apps/Settings/src/com/android/settings/privacy/
DSensorToggleController.java105 .checkIfRestrictionEnforced(mContext, getRestriction(), mContext.getUserId())); in displayPreference()

1234