Home
last modified time | relevance | path

Searched refs:ShadowInputDevice (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
DPhysicalKeyboardPreferenceControllerTest.java33 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()
DKeyboardLayoutPickerControllerTest.java39 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowInputDevice.java30 public class ShadowInputDevice extends org.robolectric.shadows.ShadowInputDevice { class
65 final ShadowInputDevice shadowInputDevice = Shadow.extract(inputDevice); in makeInputDevicebyId()