Home
last modified time | relevance | path

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

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothEnablerTest.java116 when(mRestrictionUtils.checkIfRestrictionEnforced(any(Context.class), any(String.class))) in maybeEnforceRestrictions_noRestrictions()
132 when(mRestrictionUtils.checkIfRestrictionEnforced( in maybeEnforceRestrictions_disallowBluetoothRestrictionSet()
134 when(mRestrictionUtils.checkIfRestrictionEnforced( in maybeEnforceRestrictions_disallowBluetoothRestrictionSet()
151 when(mRestrictionUtils.checkIfRestrictionEnforced( in maybeEnforceRestrictions_disallowConfigBluetoothRestrictionSet()
153 when(mRestrictionUtils.checkIfRestrictionEnforced( in maybeEnforceRestrictions_disallowConfigBluetoothRestrictionSet()
170 when(mRestrictionUtils.checkIfRestrictionEnforced( in maybeEnforceRestrictions_disallowBluetoothNotOverriden()
172 when(mRestrictionUtils.checkIfRestrictionEnforced( in maybeEnforceRestrictions_disallowBluetoothNotOverriden()
/packages/apps/Settings/src/com/android/settings/development/
DVerifyAppsOverUsbPreferenceController.java54 public EnforcedAdmin checkIfRestrictionEnforced( in checkIfRestrictionEnforced() method in VerifyAppsOverUsbPreferenceController.RestrictedLockUtilsDelegate
56 return RestrictedLockUtils.checkIfRestrictionEnforced(context, userRestriction, userId); in checkIfRestrictionEnforced()
138 final EnforcedAdmin enforcingAdmin = mRestrictedLockUtils.checkIfRestrictionEnforced( in updatePreference()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DRestrictionUtils.java38 public EnforcedAdmin checkIfRestrictionEnforced(Context context, String restriction) { in checkIfRestrictionEnforced() method in RestrictionUtils
39 return RestrictedLockUtils.checkIfRestrictionEnforced( in checkIfRestrictionEnforced()
DBluetoothEnabler.java229 EnforcedAdmin admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin()
232 admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin()
/packages/apps/Settings/src/com/android/settings/network/
DTetherPreferenceController.java19 import static com.android.settingslib.RestrictedLockUtils.checkIfRestrictionEnforced;
173 return checkIfRestrictionEnforced( in isTetherConfigDisallowed()
DNetworkResetRestrictionChecker.java44 return RestrictedLockUtils.checkIfRestrictionEnforced( in isRestrictionEnforcedByAdmin()
/packages/apps/Settings/src/com/android/settings/location/
DLocationSettings.java264 final EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(getActivity(), in changeManagedProfileLocationAccessStatus()
344 EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(getActivity(), in onModeChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowRestrictionUtils.java14 public EnforcedAdmin checkIfRestrictionEnforced(Context context, String restriction) { in checkIfRestrictionEnforced() method in ShadowRestrictionUtils
/packages/apps/Settings/src/com/android/settings/users/
DUserCapabilities.java63 mEnforcedAdmin = RestrictedLockUtils.checkIfRestrictionEnforced(context, in updateAddUserCapabilities()
DEditUserPhotoController.java421 mAdmin = RestrictedLockUtils.checkIfRestrictionEnforced(context, in RestrictedMenuItem()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DFirmwareVersionPreferenceController.java79 mFunDisallowedAdmin = RestrictedLockUtils.checkIfRestrictionEnforced( in onResume()
DUsbModeChooserActivity.java107 mEnforcedAdmin = RestrictedLockUtils.checkIfRestrictionEnforced(this, in onCreate()
DBuildNumberPreferenceController.java105 mDebuggingFeaturesDisallowedAdmin = RestrictedLockUtils.checkIfRestrictionEnforced( in onResume()
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/
DHotspotCondition.java111 final EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(context, in onActionClick()
/packages/apps/Settings/src/com/android/settings/nfc/
DAndroidBeam.java67 final EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced( in onCreateView()
/packages/apps/Settings/src/com/android/settings/
DResetNetworkConfirm.java141 final EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced( in onCreateView()
DRestrictedSettingsFragment.java217 mEnforcedAdmin = RestrictedLockUtils.checkIfRestrictionEnforced(getActivity(), in getRestrictionEnforcedAdmin()
DMasterClearConfirm.java147 final EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced( in onCreateView()
DResetNetwork.java193 final EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced( in onCreateView()
DMasterClear.java386 final EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(context, in onCreateView()
DUserCredentialsSettings.java137 final EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced( in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/dashboard/
DRestrictedDashboardFragment.java219 mEnforcedAdmin = RestrictedLockUtils.checkIfRestrictionEnforced(getActivity(), in getRestrictionEnforcedAdmin()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DVerifyAppsOverUsbPreferenceControllerTest.java98 when(mRestrictedLockUtilsDelegate.checkIfRestrictionEnforced( in setupEnforcedAdmin()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiEnabler.java168 final EnforcedAdmin admin = RestrictedLockUtils.checkIfRestrictionEnforced(mContext, in handleWifiStateChanged()
/packages/apps/Settings/src/com/android/settings/applications/
DAppInfoBase.java112 mAppsControlDisallowedAdmin = RestrictedLockUtils.checkIfRestrictionEnforced(getActivity(), in onResume()

12