Home
last modified time | relevance | path

Searched refs:injectEvents (Results 1 – 9 of 9) sorted by relevance

/cts/tests/input/src/android/input/cts/
DKeyInjector.kt27 fun injectEvents(device: UinputDevice, events: IntArray) { in injectEvents() method
28 device.injectEvents(events.joinToString(prefix = "[", postfix = "]", separator = ",")) in injectEvents()
32 injectEvents(device, intArrayOf(EV_KEY, scanCode, KEY_DOWN, EV_SYN, SYN_REPORT, 0)) in injectKeyDown()
36 injectEvents(device, intArrayOf(EV_KEY, scanCode, KEY_UP, EV_SYN, SYN_REPORT, 0)) in injectKeyUp()
DStylusButtonInputEventTest.kt108 bluetoothStylus.injectEvents( in <lambda>()
115 bluetoothStylus.injectEvents( in <lambda>()
127 bluetoothStylus.injectEvents( in <lambda>()
130 bluetoothStylus.injectEvents( in <lambda>()
DGamepadWithAccessibilityTest.kt103 uinputDevice.injectEvents(evdevEventsDown.joinToString( in testDeviceId()
110 uinputDevice.injectEvents(evdevEventsUp.joinToString( in testDeviceId()
/cts/hostsidetests/input/app/src/android/input/cts/hostside/app/
DEmulateInputDevice.kt230 injectEvents(keyboard, intArrayOf(EV_KEY, KEY_CAPSLOCK, KEY_PRESS, 0, 0, 0)) in <lambda>()
231 injectEvents(keyboard, intArrayOf(EV_KEY, KEY_CAPSLOCK, KEY_RELEASE, 0, 0, 0)) in <lambda>()
236 private fun injectEvents(device: UinputDevice, events: IntArray) { in <lambda>() method
237 device.injectEvents(events.joinToString(prefix = "[", postfix = "]", separator = ",")) in <lambda>()
/cts/tests/tests/view/src/android/view/cts/input/
DInputDeviceKeyLayoutMapTest.java218 mUinputDevice.injectEvents(Arrays.toString(evCodesDown)); in pressKey()
223 mUinputDevice.injectEvents(Arrays.toString(evCodesUp)); in pressKey()
DInputDeviceMultiDeviceKeyEventTest.java225 mUinputDevices[deviceId].injectEvents(Arrays.toString(evCodesDown)); in pressKeyDown()
236 mUinputDevices[deviceId].injectEvents(Arrays.toString(evCodesUp)); in pressKeyUp()
DInputDeviceSensorManagerTest.java282 mUinputDevice.injectEvents(Arrays.toString(evSensorSample)); in injectSensorSample()
291 mUinputDevice.injectEvents(Arrays.toString(evSensorSample)); in injectSensorSample()
301 mUinputDevice.injectEvents(Arrays.toString(evTimestamp)); in injectSensorSample()
/cts/libs/input/src/com/android/cts/input/
DUinputDevice.java117 public void injectEvents(String evdevEvents) { in injectEvents() method in UinputDevice
DUinputTouchDevice.kt70 uinputDevice.injectEvents(events.joinToString( in injectEvent()