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.java48 private RestrictionUtils mRestrictionUtils; field in BluetoothSwitchPreferenceControllerTest
66 new BluetoothSwitchPreferenceController(mContext, mRestrictionUtils, in setUp()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothEnabler.java48 private final RestrictionUtils mRestrictionUtils; field in BluetoothEnabler
89 mRestrictionUtils = restrictionUtils; in BluetoothEnabler()
221 EnforcedAdmin admin = getEnforcedAdmin(mRestrictionUtils, mContext); in maybeEnforceRestrictions()
230 public static EnforcedAdmin getEnforcedAdmin(RestrictionUtils mRestrictionUtils, in getEnforcedAdmin() argument
232 EnforcedAdmin admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin()
235 admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin()
DBluetoothSwitchPreferenceController.java44 private RestrictionUtils mRestrictionUtils; field in BluetoothSwitchPreferenceController
61 mRestrictionUtils = restrictionUtils; in BluetoothSwitchPreferenceController()
73 mRestrictionUtils); in BluetoothSwitchPreferenceController()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DAdaptiveSleepPreferenceControllerTest.java69 private RestrictionUtils mRestrictionUtils; field in AdaptiveSleepPreferenceControllerTest
83 when(mRestrictionUtils.checkIfRestrictionEnforced(any(), in setUp()
86 mController = spy(new AdaptiveSleepPreferenceController(mContext, mRestrictionUtils)); in setUp()
162 when(mRestrictionUtils.checkIfRestrictionEnforced(any(), in addToScreen_enforcedAdmin_disablePreference()
/packages/apps/Settings/src/com/android/settings/display/
DAdaptiveSleepPreferenceController.java53 private final RestrictionUtils mRestrictionUtils; field in AdaptiveSleepPreferenceController
64 mRestrictionUtils = restrictionUtils; in AdaptiveSleepPreferenceController()
88 final EnforcedAdmin enforcedAdmin = mRestrictionUtils.checkIfRestrictionEnforced(mContext, in updatePreference()