Home
last modified time | relevance | path

Searched refs:pressKey (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DSingleKeyGestureTests.java201 private void pressKey(int keyCode, long pressTime) { in pressKey() method in SingleKeyGestureTests
202 pressKey(keyCode, pressTime, true /* interactive */); in pressKey()
205 private void pressKey(int keyCode, long pressTime, boolean interactive) { in pressKey() method in SingleKeyGestureTests
206 pressKey(keyCode, pressTime, interactive, false /* defaultDisplayOn */); in pressKey()
209 private void pressKey( in pressKey() method in SingleKeyGestureTests
244 pressKey(KEYCODE_POWER, 0 /* pressTime */); in testShortPress()
250 pressKey(KEYCODE_POWER, mLongPressTime); in testLongPress()
256 pressKey(KEYCODE_POWER, mVeryLongPressTime); in testVeryLongPress()
264 pressKey(KEYCODE_POWER, 0 /* pressTime */); in testMultiPress()
265 pressKey(KEYCODE_POWER, 0 /* pressTime */); in testMultiPress()
[all …]
/frameworks/native/services/inputflinger/tests/
DUinputDevice.cpp102 void UinputKeyboard::pressKey(int key) { in pressKey() function in android::UinputKeyboard
119 pressKey(key); in pressAndReleaseKey()
DUinputDevice.h79 void pressKey(int key);
DInputReader_test.cpp2164 TestFixture::mStylus->pressKey(BTN_STYLUS); in TYPED_TEST()
2181 TestFixture::mStylus->pressKey(BTN_STYLUS); in TYPED_TEST()
2229 TestFixture::mStylus->pressKey(BTN_STYLUS); in TYPED_TEST()
2314 TestFixture::mStylus->pressKey(BTN_STYLUS); in TYPED_TEST()
2374 TestFixture::mStylus->pressKey(BTN_STYLUS); in TYPED_TEST()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivityTest.java41 import static androidx.test.espresso.action.ViewActions.pressKey;
155 onView(withId(R.id.textview)).perform(pressKey(KeyEvent.KEYCODE_FORWARD_DEL)); in testPositionCursorAtTextAtIndex()
257 onView(withId(R.id.textview)).perform(pressKey( in testDragAndDrop()
1192 onView(withId(R.id.textview)).perform(pressKey(KeyEvent.KEYCODE_A)); in testSelectionMetricsLogger_overtypeEventIncludesEntityType()