Home
last modified time | relevance | path

Searched refs:sendKeys (Results 1 – 20 of 20) sorted by relevance

/cts/tests/app/src/android/app/cts/
DLauncherActivityTest.java66 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testLaunchActivity()
67 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testLaunchActivity()
68 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testLaunchActivity()
69 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER); in testLaunchActivity()
DDialogTest.java137 sendKeys(KeyEvent.KEYCODE_BACK); in testConstructor_protectedCancellable()
145 sendKeys(KeyEvent.KEYCODE_BACK); in testConstructor_protectedNotCancellable()
153 sendKeys(KeyEvent.KEYCODE_ESCAPE); in testConstructor_protectedCancellableEsc()
162 sendKeys(KeyEvent.KEYCODE_ESCAPE); in testConstructor_protectedNotCancellableEsc()
198 sendKeys(KeyEvent.KEYCODE_BACK); in testOnStartCreateStop()
211 sendKeys(KeyEvent.KEYCODE_ESCAPE); in testOnStartCreateStopEsc()
303 sendKeys(KeyEvent.KEYCODE_0); in testGetCurrentFocus()
631 sendKeys(KeyEvent.KEYCODE_0); in testDispatchKeyEvent()
654 sendKeys(KeyEvent.KEYCODE_1); in testDispatchKeyEvent()
658 sendKeys(KeyEvent.KEYCODE_0); in testDispatchKeyEvent()
[all …]
/cts/tests/tests/text/src/android/text/method/cts/
DDateKeyListenerTest.java154 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_1); in testDateTimeKeyListener()
158 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_2); in testDateTimeKeyListener()
164 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, keyCode); in testDateTimeKeyListener()
169 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_MINUS); in testDateTimeKeyListener()
173 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_SLASH); in testDateTimeKeyListener()
181 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_SLASH); in testDateTimeKeyListener()
DDigitsKeyListenerTest.java557 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_MINUS); in testDigitsKeyListener1()
561 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_1); in testDigitsKeyListener1()
565 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_PERIOD); in testDigitsKeyListener1()
569 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_2); in testDigitsKeyListener1()
592 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_MINUS); in testDigitsKeyListener2()
596 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_1); in testDigitsKeyListener2()
600 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_PERIOD); in testDigitsKeyListener2()
604 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_PLUS); in testDigitsKeyListener2()
608 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_2); in testDigitsKeyListener2()
612 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_MINUS); in testDigitsKeyListener2()
[all …]
DNumberKeyListenerTest.java154 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_0); in testPressKey()
160 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, keyCode); in testPressKey()
171 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_0); in testPressKey()
DBaseKeyListenerTest.java149 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_DEL); in testBackspace_withSendKeys()
154 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_DEL); in testBackspace_withSendKeys()
171 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_DEL); in testBackspace_withSendKeys()
524 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_0); in testPressKey()
529 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_DEL); in testPressKey()
DPasswordTransformationMethodTest.java169 CtsKeyEventUtil.sendKeys(mInstrumentation, mEditText, in testTextChangedCallBacks()
173 CtsKeyEventUtil.sendKeys(mInstrumentation, mEditText, "H E 2*L O"); in testTextChangedCallBacks()
DTimeKeyListenerTest.java189 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, keyCode); in testTimeKeyListener()
DDateTimeKeyListenerTest.java192 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, keyCode); in testDateTimeKeyListener()
DTextKeyListenerTest.java219 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_4); in testPressKey()
/cts/tests/tests/widget/src/android/widget/cts/
DExpandableListViewBasicTest.java88 CtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in expandGroup()
106 CtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in testCollapseGroup()
118 CtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in testExpandedGroupMovement()
DExpandableListViewWithHeadersTest.java75 CtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in testExpandOnFirstPosition()
88 CtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in testExpandOnFirstGroup()
DExpandableListTester.java59 CtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in expandGroup()
DListViewTest.java732 CtsKeyEventUtil.sendKeys(mInstrumentation, mListView, KeyEvent.KEYCODE_DPAD_DOWN); in testFullDetachHeaderViewOnScrollForFocus()
794 CtsKeyEventUtil.sendKeys(mInstrumentation, mListView, KeyEvent.KEYCODE_DPAD_DOWN); in testFullyDetachUnusedViewOnScrollForFocus()
800 CtsKeyEventUtil.sendKeys(mInstrumentation, mListView, KeyEvent.KEYCODE_DPAD_UP); in testFullyDetachUnusedViewOnScrollForFocus()
DGridViewTest.java602 CtsKeyEventUtil.sendKeys(mInstrumentation, mGridView, KeyEvent.KEYCODE_DPAD_DOWN); in testFullyDetachUnusedViewOnScrollForFocus()
608 CtsKeyEventUtil.sendKeys(mInstrumentation, mGridView, KeyEvent.KEYCODE_DPAD_UP); in testFullyDetachUnusedViewOnScrollForFocus()
DTextViewTest.java346 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_SHIFT_LEFT, in testAccessMovementMethod()
363 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_SHIFT_LEFT, in testAccessMovementMethod()
1761 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_DEL, in testUndo_delete()
1979 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_DEL, in testUndo_setText()
2150 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_DEL); in testUndo_saveInstanceState()
2177 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_DEL); in testUndo_saveInstanceStateEmpty()
2190 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_DEL); in testUndo_saveInstanceStateEmpty()
2236 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_COPY); in testCopyAndPaste_byKey()
2244 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_PASTE); in testCopyAndPaste_byKey()
2341 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_CUT); in testCutAndPaste_byKey()
[all …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsKeyEventUtil.java77 public static void sendKeys(final Instrumentation instrumentation, final View targetView, in sendKeys() method in CtsKeyEventUtil
103 public static void sendKeys(final Instrumentation instrumentation, final View targetView, in sendKeys() method in CtsKeyEventUtil
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DCtsKeyEventUtil.java77 public static void sendKeys(final Instrumentation instrumentation, final View targetView, in sendKeys() method in CtsKeyEventUtil
103 public static void sendKeys(final Instrumentation instrumentation, final View targetView, in sendKeys() method in CtsKeyEventUtil
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DSurfaceViewTest.java162 CtsKeyEventUtil.sendKeys(mInstrumentation, mMockSurfaceView, KeyEvent.KEYCODE_BACK); in testOnDetachedFromWindow()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewClientTest.java427 sendKeys(KeyEvent.KEYCODE_1); in testOnUnhandledKeyEvent()