Home
last modified time | relevance | path

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

/cts/tests/input/src/android/input/cts/
DOverrideSystemKeyBehaviorTest.kt33 import com.android.cts.input.inputeventmatchers.withKeyCode
100 verifier.assertReceivedKey(withKeyCode(KeyEvent.KEYCODE_STEM_PRIMARY)) in testStemPrimaryKeyUnhandledByApp()
120 verifier.assertReceivedKey(withKeyCode(KeyEvent.KEYCODE_STEM_PRIMARY)) in testStemPrimaryKeyHandledByApp()
/cts/libs/input/src/com/android/cts/input/
DInputEventMatchers.kt173 fun withKeyCode(keyCode: Int): Matcher<KeyEvent> = object : TypeSafeMatcher<KeyEvent>() { in withKeyCode() method