/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothEnablerTest.java | 139 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/ |
D | RestrictionUtils.java | 38 public EnforcedAdmin checkIfRestrictionEnforced(Context context, String restriction) { in checkIfRestrictionEnforced() method in RestrictionUtils 39 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in checkIfRestrictionEnforced()
|
D | BluetoothEnabler.java | 263 EnforcedAdmin admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin() 266 admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | VerifyAppsOverUsbPreferenceController.java | 58 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/ |
D | LocationEnabler.java | 16 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/ |
D | MultiUserSwitchBarController.java | 58 .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/ |
D | LocationModePC.java | 74 .checkIfRestrictionEnforced(mContext, in checkIfUserRestrictionEnforcedByAdmin() 81 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced(mContext, in checkIfUserRestrictionEnforcedByAdmin()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/ |
D | ExternalSources.java | 101 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(getContext(), in checkIfRestrictionEnforcedByAdmin() 108 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced(getContext(), in checkIfRestrictionEnforcedByAdmin()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | AdaptiveSleepPreferenceControllerTest.java | 83 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/ |
D | ShadowRestrictionUtils.java | 16 protected EnforcedAdmin checkIfRestrictionEnforced(Context context, String restriction) { in checkIfRestrictionEnforced() method in ShadowRestrictionUtils
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/about/ |
D | AboutState.java | 196 && 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/ |
D | NetworkResetRestrictionChecker.java | 45 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in isRestrictionEnforcedByAdmin()
|
D | ResetNetworkRestrictionViewBuilder.java | 104 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in getEnforceAdminByRestriction()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowRestrictedLockUtilsInternal.java | 54 protected static RestrictedLockUtils.EnforcedAdmin checkIfRestrictionEnforced(Context context, in checkIfRestrictionEnforced() method in ShadowRestrictedLockUtilsInternal
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | NetworkRequestDialogActivity.java | 43 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(this, in onCreate()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/ |
D | AboutFragment.java | 232 && 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/ |
D | RestrictedButton.java | 78 EnforcedAdmin admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in getEnforcedAdmin()
|
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/ |
D | EnterpriseUtils.java | 306 admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in getEnforcedAdmin() 314 admin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in getEnforcedAdmin()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothAccessoryActivity.java | 40 RestrictedLockUtilsInternal.checkIfRestrictionEnforced(this, in createSettingsFragment()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/oemlink/ |
D | FactoryResetActivity.java | 55 RestrictedLockUtilsInternal.checkIfRestrictionEnforced(this, in onCreate()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
D | AccountsUtil.java | 98 RestrictedLockUtilsInternal.checkIfRestrictionEnforced(context, in isAdminRestricted()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/ |
D | RestrictedLockUtilsInternal.java | 80 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/ |
D | LocationFragment.java | 203 .checkIfRestrictionEnforced(getContext(), in checkIfUserRestrictionEnforcedByAdmin() 210 return RestrictedLockUtilsInternal.checkIfRestrictionEnforced(getContext(), in checkIfUserRestrictionEnforcedByAdmin()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/firmwareversion/ |
D | FirmwareVersionDetailPreferenceController.java | 122 mFunDisallowedAdmin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced( in initializeAdminPermissions()
|
/packages/apps/Settings/src/com/android/settings/privacy/ |
D | SensorToggleController.java | 105 .checkIfRestrictionEnforced(mContext, getRestriction(), mContext.getUserId())); in displayPreference()
|