Searched refs:pressKeyCode (Results 1 – 15 of 15) sorted by relevance
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/ |
D | UiDeviceUtils.java | 46 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/ |
D | PlayControlsRowViewTest.java | 80 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()
|
D | LiveChannelsTestController.java | 216 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/ |
D | TestDeviceUnlocker.java | 79 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/ |
D | KeyboardQuickSwitch.java | 86 mLauncher.getDevice().pressKeyCode( in moveFocusForward() 119 mLauncher.getDevice().pressKeyCode( in moveFocusBackward() 146 mLauncher.getDevice().pressKeyCode( in dismiss()
|
D | SelectModeButtons.java | 71 () -> mLauncher.getDevice().pressKeyCode(KEYCODE_ESCAPE), in dismissByEscKey()
|
D | Workspace.java | 128 () -> 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);
|
D | BaseOverview.java | 430 () -> mLauncher.getDevice().pressKeyCode(KEYCODE_ESCAPE), in dismissByEscKey() 452 mLauncher.getDevice().pressKeyCode(KeyEvent.KEYCODE_ENTER)), in launchFocusedTaskByEnterKey()
|
D | AllApps.java | 406 mLauncher.getDevice().pressKeyCode(KEYCODE_META_RIGHT); in pressMetaKey() 414 () -> mLauncher.getDevice().pressKeyCode(KEYCODE_ESCAPE), in dismissByEscKey()
|
D | Taskbar.java | 121 mLauncher.getDevice().pressKeyCode(KEYCODE_META_RIGHT); in openAllAppsFromKeyboardShortcut()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | KeyboardBot.java | 59 mDevice.pressKeyCode(keyCode); in pressKey() 63 mDevice.pressKeyCode(keyCode, metaState); in pressKey()
|
D | DirectoryListBot.java | 240 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/ |
D | DocumentsUiTestBase.java | 57 device.pressKeyCode(KeyEvent.KEYCODE_WAKEUP); in setUp() 58 device.pressKeyCode(KeyEvent.KEYCODE_MENU); in setUp()
|
D | ActivityTest.java | 137 device.pressKeyCode(KeyEvent.KEYCODE_WAKEUP); in setUp() 138 device.pressKeyCode(KeyEvent.KEYCODE_MENU); in setUp()
|
D | DialogUiTest.java | 83 device.pressKeyCode(KeyEvent.KEYCODE_WAKEUP); in setup() 84 device.pressKeyCode(KeyEvent.KEYCODE_MENU); in setup()
|