Searched refs:mRestrictionUtils (Results 1 – 6 of 6) sorted by relevance
77 private RestrictionUtils mRestrictionUtils; field in BluetoothEnablerTest98 mRestrictionUtils); in setUp()126 when(mRestrictionUtils.checkIfRestrictionEnforced(any(Context.class), any(String.class))) in maybeEnforceRestrictions_noRestrictions()142 when(mRestrictionUtils.checkIfRestrictionEnforced( in maybeEnforceRestrictions_disallowBluetoothRestrictionSet()144 when(mRestrictionUtils.checkIfRestrictionEnforced( in maybeEnforceRestrictions_disallowBluetoothRestrictionSet()161 when(mRestrictionUtils.checkIfRestrictionEnforced( in maybeEnforceRestrictions_disallowConfigBluetoothRestrictionSet()163 when(mRestrictionUtils.checkIfRestrictionEnforced( in maybeEnforceRestrictions_disallowConfigBluetoothRestrictionSet()180 when(mRestrictionUtils.checkIfRestrictionEnforced( in maybeEnforceRestrictions_disallowBluetoothNotOverriden()182 when(mRestrictionUtils.checkIfRestrictionEnforced( in maybeEnforceRestrictions_disallowBluetoothNotOverriden()
48 private RestrictionUtils mRestrictionUtils; field in BluetoothSwitchPreferenceControllerTest66 new BluetoothSwitchPreferenceController(mContext, mRestrictionUtils, in setUp()
48 private final RestrictionUtils mRestrictionUtils; field in BluetoothEnabler89 mRestrictionUtils = restrictionUtils; in BluetoothEnabler()221 EnforcedAdmin admin = getEnforcedAdmin(mRestrictionUtils, mContext); in maybeEnforceRestrictions()230 public static EnforcedAdmin getEnforcedAdmin(RestrictionUtils mRestrictionUtils, in getEnforcedAdmin() argument232 EnforcedAdmin admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin()235 admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin()
44 private RestrictionUtils mRestrictionUtils; field in BluetoothSwitchPreferenceController61 mRestrictionUtils = restrictionUtils; in BluetoothSwitchPreferenceController()73 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()