Home
last modified time | relevance | path

Searched refs:mRestrictionUtils (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothEnablerTest.java77 private RestrictionUtils mRestrictionUtils; field in BluetoothEnablerTest
98 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()
DBluetoothSwitchPreferenceControllerTest.java47 private RestrictionUtils mRestrictionUtils; field in BluetoothSwitchPreferenceControllerTest
63 new BluetoothSwitchPreferenceController(mContext, mRestrictionUtils, in setUp()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothEnabler.java48 private final RestrictionUtils mRestrictionUtils; field in BluetoothEnabler
87 mRestrictionUtils = restrictionUtils; in BluetoothEnabler()
220 EnforcedAdmin admin = getEnforcedAdmin(mRestrictionUtils, mContext); in maybeEnforceRestrictions()
229 public static EnforcedAdmin getEnforcedAdmin(RestrictionUtils mRestrictionUtils, in getEnforcedAdmin() argument
231 EnforcedAdmin admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin()
234 admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin()
DBluetoothSwitchPreferenceController.java44 private RestrictionUtils mRestrictionUtils; field in BluetoothSwitchPreferenceController
58 mRestrictionUtils = restrictionUtils; in BluetoothSwitchPreferenceController()
70 mRestrictionUtils); in BluetoothSwitchPreferenceController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothEnabler.java48 private final RestrictionUtils mRestrictionUtils; field in BluetoothEnabler
87 mRestrictionUtils = restrictionUtils; in BluetoothEnabler()
220 EnforcedAdmin admin = getEnforcedAdmin(mRestrictionUtils, mContext); in maybeEnforceRestrictions()
229 public static EnforcedAdmin getEnforcedAdmin(RestrictionUtils mRestrictionUtils, in getEnforcedAdmin() argument
231 EnforcedAdmin admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin()
234 admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin()
DBluetoothSwitchPreferenceController.java44 private RestrictionUtils mRestrictionUtils; field in BluetoothSwitchPreferenceController
58 mRestrictionUtils = restrictionUtils; in BluetoothSwitchPreferenceController()
70 mRestrictionUtils); in BluetoothSwitchPreferenceController()