Home
last modified time | relevance | path

Searched refs:pressKeyCode (Results 1 – 15 of 15) sorted by relevance

/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
DUiDeviceUtils.java46 uiDevice.pressKeyCode(k); in pressKeys()
58 uiDevice.pressKeyCode(KeyEvent.KEYCODE_0 + c - '0'); in pressKeys()
60 uiDevice.pressKeyCode(KeyEvent.KEYCODE_MINUS); in pressKeys()
62 uiDevice.pressKeyCode(KeyEvent.KEYCODE_PERIOD); in pressKeys()
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
DPlayControlsRowViewTest.java80 controller.pressKeyCode(KeyEvent.KEYCODE_MEDIA_FAST_FORWARD); in testFocusedViewWithDisabledActionForward()
86 controller.pressKeyCode(KeyEvent.KEYCODE_MEDIA_NEXT); in testFocusedViewWithDisabledActionForward()
95 controller.pressKeyCode(KeyEvent.KEYCODE_MEDIA_PLAY); in testFocusedViewInMenu()
98 controller.pressKeyCode(KeyEvent.KEYCODE_MEDIA_NEXT); in testFocusedViewInMenu()
106 controller.pressKeyCode(KeyEvent.KEYCODE_MEDIA_PAUSE); in testKeepPausedWhileParentalControlChange()
135 controller.pressKeyCode(KeyEvent.KEYCODE_MEDIA_PAUSE); in testKeepPausedAfterVisitingHome()
DLiveChannelsTestController.java216 public void pressKeyCode(int keyCode) { in pressKeyCode() method in LiveChannelsTestController
217 mDevice.pressKeyCode(keyCode); in pressKeyCode()
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxStorageHostTest/unlockapp/src/com/android/tests/sdksandbox/unlock/
DTestDeviceUnlocker.java79 uiDevice.pressKeyCode(KeyEvent.KEYCODE_1); in enterPinAndUnlock()
80 uiDevice.pressKeyCode(KeyEvent.KEYCODE_2); in enterPinAndUnlock()
81 uiDevice.pressKeyCode(KeyEvent.KEYCODE_3); in enterPinAndUnlock()
82 uiDevice.pressKeyCode(KeyEvent.KEYCODE_4); in enterPinAndUnlock()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DKeyboardQuickSwitch.java86 mLauncher.getDevice().pressKeyCode( in moveFocusForward()
119 mLauncher.getDevice().pressKeyCode( in moveFocusBackward()
146 mLauncher.getDevice().pressKeyCode( in dismiss()
DSelectModeButtons.java71 () -> mLauncher.getDevice().pressKeyCode(KEYCODE_ESCAPE), in dismissByEscKey()
DWorkspace.java128 () -> mLauncher.getDevice().pressKeyCode(KEYCODE_META_RIGHT), in openAllAppsFromKeyboardShortcut()
145 () -> mLauncher.getDevice().pressKeyCode(KEYCODE_TAB, META_META_ON), in openOverviewFromActionPlusTabKeyboardShortcut()
162 () -> mLauncher.getDevice().pressKeyCode(KEYCODE_RECENT_APPS), in openOverviewFromRecentsKeyboardShortcut()
828 mLauncher.getDevice().pressKeyCode(KeyEvent.KEYCODE_W, KeyEvent.META_CTRL_ON);
DBaseOverview.java430 () -> mLauncher.getDevice().pressKeyCode(KEYCODE_ESCAPE), in dismissByEscKey()
452 mLauncher.getDevice().pressKeyCode(KeyEvent.KEYCODE_ENTER)), in launchFocusedTaskByEnterKey()
DAllApps.java406 mLauncher.getDevice().pressKeyCode(KEYCODE_META_RIGHT); in pressMetaKey()
414 () -> mLauncher.getDevice().pressKeyCode(KEYCODE_ESCAPE), in dismissByEscKey()
DTaskbar.java121 mLauncher.getDevice().pressKeyCode(KEYCODE_META_RIGHT); in openAllAppsFromKeyboardShortcut()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DKeyboardBot.java59 mDevice.pressKeyCode(keyCode); in pressKey()
63 mDevice.pressKeyCode(keyCode, metaState); in pressKey()
DDirectoryListBot.java240 mDevice.pressKeyCode(KeyEvent.KEYCODE_C, KeyEvent.META_CTRL_ON); in copyFilesToClipboard()
244 mDevice.pressKeyCode(KeyEvent.KEYCODE_V, KeyEvent.META_CTRL_ON); in pasteFilesFromClipboard()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DDocumentsUiTestBase.java57 device.pressKeyCode(KeyEvent.KEYCODE_WAKEUP); in setUp()
58 device.pressKeyCode(KeyEvent.KEYCODE_MENU); in setUp()
DActivityTest.java137 device.pressKeyCode(KeyEvent.KEYCODE_WAKEUP); in setUp()
138 device.pressKeyCode(KeyEvent.KEYCODE_MENU); in setUp()
DDialogUiTest.java83 device.pressKeyCode(KeyEvent.KEYCODE_WAKEUP); in setup()
84 device.pressKeyCode(KeyEvent.KEYCODE_MENU); in setup()