Searched refs:ShadowInputDevice (Results 1 – 3 of 3) sorted by relevance
34 import com.android.settings.testutils.shadow.ShadowInputDevice;78 ShadowInputDevice.reset(); in tearDown()110 @Config(shadows = ShadowInputDevice.class)112 ShadowInputDevice.sDeviceIds = new int[0]; in updateState_noKeyboard_setPreferenceVisibleFalse()119 @Config(shadows = ShadowInputDevice.class)125 ShadowInputDevice.sDeviceIds = new int[]{0}; in updateState_hasKeyboard_setSummaryToKeyboardName()126 ShadowInputDevice.addDevice(0, device); in updateState_hasKeyboard_setSummaryToKeyboardName()
39 import com.android.settings.testutils.shadow.ShadowInputDevice;141 @Config(shadows = ShadowInputDevice.class)146 final InputDevice device = ShadowInputDevice.makeInputDevicebyId(TARGET_DEVICE_ID); in testOnDeviceRemove_getSameDevice_shouldFinish()160 @Config(shadows = ShadowInputDevice.class)166 final InputDevice device = ShadowInputDevice.makeInputDevicebyId(TARGET_DEVICE_ID); in testOnDeviceRemove_getDifferentDevice_shouldNotFinish()
30 public class ShadowInputDevice extends org.robolectric.shadows.ShadowInputDevice { class65 final ShadowInputDevice shadowInputDevice = Shadow.extract(inputDevice); in makeInputDevicebyId()