Home
last modified time | relevance | path

Searched defs:event (Results 1 – 25 of 141) sorted by relevance

123456

/cts/tests/autofillservice/src/android/autofillservice/cts/
DMyAutofillCallback.java43 public void onAutofillEvent(View view, int event) { in onAutofillEvent()
49 public void onAutofillEvent(View view, int childId, int event) { in onAutofillEvent()
59 final MyEvent event = mEvents.poll(CONNECTION_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in getEvent() local
70 final MyEvent event = mEvents.poll(CONNECTION_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in assertNotCalled() local
89 final MyEvent event = getEvent(); in assertUiShownEvent() local
101 final MyEvent event = assertUiShownEvent(expectedView); in assertUiShownEvent() local
112 final MyEvent event = assertUiShownEvent(expectedView); in assertUiShownEventForVirtualChild() local
120 final MyEvent event = getEvent(); in assertUiHiddenEvent() local
132 final MyEvent event = assertUiHiddenEvent(expectedView); in assertUiHiddenEvent() local
141 final MyEvent event = getEvent(); in assertUiUnavailableEvent() local
[all …]
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DAbstractSensorVerification.java48 protected abstract void addSensorEventInternal(TestSensorEvent event); in addSensorEventInternal()
66 public final TestSensorEvent event; field in AbstractSensorVerification.IndexedEvent
68 public IndexedEvent(int index, TestSensorEvent event) { in IndexedEvent()
80 public IndexedEventPair(int index, TestSensorEvent event, TestSensorEvent previousEvent) { in IndexedEventPair()
DContinuousEventSanitizedVerification.java84 final TestSensorEvent event = mNonSanitizedEvents.get(i); in verify() local
110 protected void addSensorEventInternal(TestSensorEvent event) { in addSensorEventInternal()
/cts/tests/tests/widget/src/android/widget/cts/
DMockViewForListPopupWindow.java41 public boolean onKeyPreIme(int keyCode, KeyEvent event) { in onKeyPreIme()
49 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
57 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DProjectedPresentation.java41 public void injectTouchEvent(MotionEvent event) { in injectTouchEvent()
46 public void injectKeyEvent(KeyEvent event) { in injectKeyEvent()
DIProjectionService.aidl27 void onTouchEvent(in MotionEvent event); in onTouchEvent()
28 void onKeyEvent(in KeyEvent event); in onKeyEvent()
DProjectionService.java117 public void onTouchEvent(final MotionEvent event) throws RemoteException { in onTouchEvent()
131 public void onKeyEvent(final KeyEvent event) throws RemoteException { in onKeyEvent()
/cts/tests/tests/view/src/android/view/cts/
DKeyEventInterceptTestActivity.java29 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
35 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
DTouchDelegateTest.java124 MotionEvent event = mActivity.removeOldestButtonEvent(); in ensureOldestActionEquals() local
150 final MotionEvent event = MotionEvent.obtain(downTime, eventTime, action, in dispatchMotionEventToActivity() local
175 final MotionEvent event = MotionEvent.obtain(downTime, eventTime, action, pointerCount, in dispatchMultiTouchMotionEventToActivity() local
DGestureDetectorCtsActivity.java93 public boolean onTouch(View v, MotionEvent event) { in onTouch()
98 public boolean onGenericMotion(View v, MotionEvent event) { in onGenericMotion()
DLongPressBackActivity.java49 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
57 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
DPointerCaptureTest.java113 view.setOnCapturedPointerListener((v, event) -> { in installCapturedPointerListener() argument
125 private void injectMotionEvent(MotionEvent event) { in injectMotionEvent()
141 MotionEvent event = MotionEvent.obtain(eventTime, eventTime, action, x, y, 0); in obtainRelativeMouseEvent() local
361 final MotionEvent event = obtainRelativeMouseEvent(MotionEvent.ACTION_MOVE, 1, 1); in testOnCapturedPointerEvent() local
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DAccessibilityEventFilterUtils.java48 protected boolean matchesSafely(AccessibilityEvent event) { in matchesSafely()
67 protected boolean matchesSafely(AccessibilityEvent event) { in matchesSafely()
86 protected boolean matchesSafely(AccessibilityEvent event) { in matchesSafely()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityEventTest.java127 AccessibilityEvent event = AccessibilityEvent.obtain(); in testDescribeContents() local
161 AccessibilityEvent event = AccessibilityEvent.obtain(); in testChangeTextAfterSetting_shouldNotAffectEvent() local
285 private static void assertAccessibilityEventCleared(AccessibilityEvent event) { in assertAccessibilityEventCleared()
DSpeakingAndVibratingAccessibilityService.java46 public void onAccessibilityEvent(AccessibilityEvent event) { in onAccessibilityEvent()
/cts/tests/tests/location/src/android/location/cts/
DGnssMeasurementsEventTest.java33 GnssMeasurementsEvent event = new GnssMeasurementsEvent( in testDescribeContents() local
45 GnssMeasurementsEvent event = new GnssMeasurementsEvent( in testWriteToParcel() local
DGnssNavigationMessageCallbackTest.java28 GnssNavigationMessage event = message; in testAllMethodsExist() local
/cts/tests/tests/text/src/android/text/method/cts/
DTextMethodUtils.java30 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, keyCode); in getUnacceptedKeyCode() local
/cts/tests/sensor/src/android/hardware/cts/helpers/
DTestSensorEvent.java42 public TestSensorEvent(SensorEvent event) { in TestSensorEvent()
53 public TestSensorEvent(SensorEvent event, long receivedTimestamp) { in TestSensorEvent()
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/
DDeviceEvent.java104 public static ContentValues buildContentValues(final DeviceEvent event) { in buildContentValues()
199 public ContentValues buildContentValues(final DeviceEvent event) { in buildContentValues()
214 final DeviceEvent event = new DeviceEvent( in buildStream() local
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DSecurityLoggingTest.java337 final SecurityEvent event = events.get(i); in verifySecurityLogs() local
378 private void verifyPayloadTypes(SecurityEvent event) { in verifyPayloadTypes()
400 final SecurityEvent event = findEvent("os startup", events, TAG_OS_STARTUP); in verifyOsStartupEventPresent() local
408 final SecurityEvent event = findEvent("crypto self test complete", in verifyCryptoSelfTestEventPresent() local
430 private static Object getDatum(SecurityEvent event, int index) { in getDatum()
435 private static String getString(SecurityEvent event, int index) { in getString()
439 private static int getInt(SecurityEvent event) { in getInt()
443 private static int getInt(SecurityEvent event, int index) { in getInt()
447 private static long getLong(SecurityEvent event, int index) { in getLong()
/cts/tests/framework/base/windowmanager/dndtargetapp/src/android/server/wm/dndtargetapp/
DDropTarget.java80 private String checkExtraValue(DragEvent event) { in checkExtraValue()
106 public boolean onDrag(View v, DragEvent event) { in onDrag()
144 private void accessContent(DragEvent event, String resultKey, boolean requestPermissions) { in accessContent()
157 private String processDrop(DragEvent event, boolean requestPermissions) { in processDrop()
194 private void checkDragEvent(DragEvent event) { in checkDragEvent()
/cts/tests/tests/drm/src/android/drm/cts/
DDrmEventTest.java167 DrmEvent event = createDrmEvent(isInfo, 0, "", attributes); in checkGetAttributeWithEventType() local
178 DrmEvent event = createDrmEvent(isInfo, id, "", null); in checkGetUniqueIdWithEventType() local
185 DrmEvent event = createDrmEvent(isInfo, 0, msg, null); in checkGetMessageWithEventType() local
/cts/tests/tests/media/src/android/media/cts/
DMediaSessionManagerTest.java234 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MEDIA_PLAY); in testRemoteUserInfo() local
277 public void onVolumeKeyLongPress(KeyEvent event) { in onVolumeKeyLongPress()
298 public boolean onMediaKey(KeyEvent event) { in onMediaKey()
319 KeyEvent event = (KeyEvent) mediaButtonIntent.getParcelableExtra( in onMediaButtonEvent() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DOffBodySensorTestActivity.java94 public final SensorEvent event; field in OffBodySensorTestActivity.SensorEventRegistry
97 public SensorEventRegistry(SensorEvent event, long realtimeTimestampNanos) { in SensorEventRegistry()
112 public void onSensorChanged(SensorEvent event) { in onSensorChanged()
169 SensorEvent event = registry.event; in awaitAndVerifyEvent() local
265 SensorEvent event = null; in waitForSensorEvent() local
401 SensorEvent event = mVerifier.waitForSensorEvent(); in runOffbodyDetectResponseTimeTest() local
462 SensorEvent event = mVerifier.waitForSensorEvent(); in runOnbodyDetectResponseTimeTest() local

123456