Searched refs:mRestrictionUtils (Results 1 – 6 of 6) sorted by relevance
77 private RestrictionUtils mRestrictionUtils; field in BluetoothEnablerTest98 mRestrictionUtils); in setUp()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()
49 private RestrictionUtils mRestrictionUtils; field in BluetoothSwitchPreferenceControllerTest67 new BluetoothSwitchPreferenceController(mContext, mRestrictionUtils, in setUp()
61 private final RestrictionUtils mRestrictionUtils; field in BluetoothEnabler99 mRestrictionUtils = restrictionUtils; in BluetoothEnabler()253 EnforcedAdmin admin = getEnforcedAdmin(mRestrictionUtils, mContext); in maybeEnforceRestrictions()261 public static EnforcedAdmin getEnforcedAdmin(RestrictionUtils mRestrictionUtils, in getEnforcedAdmin() argument263 EnforcedAdmin admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin()266 admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin()
49 private RestrictionUtils mRestrictionUtils; field in BluetoothSwitchPreferenceController71 mRestrictionUtils = restrictionUtils; in BluetoothSwitchPreferenceController()85 mRestrictionUtils); in BluetoothSwitchPreferenceController()
69 private RestrictionUtils mRestrictionUtils; field in AdaptiveSleepPreferenceControllerTest83 when(mRestrictionUtils.checkIfRestrictionEnforced(any(), in setUp()86 mController = spy(new AdaptiveSleepPreferenceController(mContext, mRestrictionUtils)); in setUp()162 when(mRestrictionUtils.checkIfRestrictionEnforced(any(), in addToScreen_enforcedAdmin_disablePreference()
53 private final RestrictionUtils mRestrictionUtils; field in AdaptiveSleepPreferenceController64 mRestrictionUtils = restrictionUtils; in AdaptiveSleepPreferenceController()88 final EnforcedAdmin enforcedAdmin = mRestrictionUtils.checkIfRestrictionEnforced(mContext, in updatePreference()