Home
last modified time | relevance | path

Searched refs:longPress (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DKeyEventInjectionTest.java143 private void sendKeyViaAdb(int keyCode, boolean longPress) { in sendKeyViaAdb() argument
145 final String command = "input keyevent " + (longPress ? "--longpress " : "") + keyCode; in sendKeyViaAdb()
153 private void sendKeyViaInstrumentation(int keyCode, boolean longPress) { in sendKeyViaInstrumentation() argument
159 if (longPress) { in sendKeyViaInstrumentation()
/cts/tests/tests/telecom/src/android/telecom/cts/
DWiredHeadsetTest.java121 private void sendMediaButtonPress(boolean longPress) throws Exception { in sendMediaButtonPress() argument
122 final String command = "input keyevent " + (longPress ? "--longpress" : "--shortpress") in sendMediaButtonPress()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DTouchHelper.java150 public static void injectKey(int keyCode, boolean longPress, boolean sync) { in injectKey() argument
156 if (longPress) { in injectKey()
DActivityManagerTestBase.java702 public static void injectKey(int keyCode, boolean longPress, boolean sync) { in injectKey() argument
703 TouchHelper.injectKey(keyCode, longPress, sync); in injectKey()
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/
DInlineLoginActivityTest.java419 private void testTouchEventPassToIme(boolean longPress) throws Exception { in testTouchEventPassToIme() argument
434 .setInlinePresentation(longPress in testTouchEventPassToIme()
450 if (longPress) { in testTouchEventPassToIme()
/cts/tests/tests/media/src/android/media/cts/
DMediaSessionManagerTest.java214 private void injectInputEvent(int keyCode, boolean longPress) throws IOException { in injectInputEvent() argument
217 final String command = "input keyevent " + (longPress ? "--longpress " : "") + keyCode; in injectInputEvent()