Searched refs:ShadowInputDevice (Results 1 – 3 of 3) sorted by relevance
33 import com.android.settings.testutils.shadow.ShadowInputDevice;66 ShadowInputDevice.reset(); in tearDown()87 @Config(shadows = ShadowInputDevice.class)89 ShadowInputDevice.sDeviceIds = new int[0]; in updateState_noKeyboard_setDisconnectedSummary()96 @Config(shadows = ShadowInputDevice.class)102 ShadowInputDevice.sDeviceIds = new int[]{0}; in updateState_hasKeyboard_setSummaryToKeyboardName()103 ShadowInputDevice.addDevice(0, device); in updateState_hasKeyboard_setSummaryToKeyboardName()
39 import com.android.settings.testutils.shadow.ShadowInputDevice;138 @Config(shadows = ShadowInputDevice.class)143 final InputDevice device = ShadowInputDevice.makeInputDevicebyId(TARGET_DEVICE_ID); in testOnDeviceRemove_getSameDevice_shouldFinish()157 @Config(shadows = ShadowInputDevice.class)163 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()