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.java34 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()
DKeyboardLayoutPickerControllerTest.java39 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()
/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()