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()
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()
DBluetoothSwitchPreferenceControllerTest.java49 private RestrictionUtils mRestrictionUtils; field in BluetoothSwitchPreferenceControllerTest
67 new BluetoothSwitchPreferenceController(mContext, mRestrictionUtils, in setUp()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothEnabler.java61 private final RestrictionUtils mRestrictionUtils; field in BluetoothEnabler
99 mRestrictionUtils = restrictionUtils; in BluetoothEnabler()
253 EnforcedAdmin admin = getEnforcedAdmin(mRestrictionUtils, mContext); in maybeEnforceRestrictions()
261 public static EnforcedAdmin getEnforcedAdmin(RestrictionUtils mRestrictionUtils, in getEnforcedAdmin() argument
263 EnforcedAdmin admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin()
266 admin = mRestrictionUtils.checkIfRestrictionEnforced( in getEnforcedAdmin()
DBluetoothSwitchPreferenceController.java49 private RestrictionUtils mRestrictionUtils; field in BluetoothSwitchPreferenceController
71 mRestrictionUtils = restrictionUtils; in BluetoothSwitchPreferenceController()
85 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()