Home
last modified time | relevance | path

Searched refs:newKeyEvent (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/SampleCustomInputService/src/com/android/car/custominput/sample/
DCustomInputEventListener.java139 newKeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_VOICE_ASSIST)); in handle()
143 newKeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_VOICE_ASSIST)); in handle()
278 KeyEvent keyDown = newKeyEvent(KeyEvent.ACTION_DOWN, keyCode); in injectKeyEvent()
281 KeyEvent keyUp = newKeyEvent(KeyEvent.ACTION_UP, keyCode); in injectKeyEvent()
285 private KeyEvent newKeyEvent(int action, int keyCode) { in newKeyEvent() method in CustomInputEventListener
/packages/services/Car/tests/carservice_test/src/com/android/car/input/
DCarInputManagerTest.java290 KeyEvent keyEvent = newKeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_ENTER); in testInjectKeyEvent_mainDisplay()
308 KeyEvent keyEvent = newKeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_ENTER); in testInjectKeyEvent_instrumentClusterDisplay()
319 private static KeyEvent newKeyEvent(int action, int code) { in newKeyEvent() method in CarInputManagerTest
839 KeyEvent keyEvent = newKeyEvent(KeyEvent.ACTION_DOWN, keyCode); in sendAndAssertKeyEvent()