/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | MyAutofillCallback.java | 43 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/ |
D | AbstractSensorVerification.java | 48 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()
|
D | ContinuousEventSanitizedVerification.java | 84 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/ |
D | MockViewForListPopupWindow.java | 41 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/ |
D | ProjectedPresentation.java | 41 public void injectTouchEvent(MotionEvent event) { in injectTouchEvent() 46 public void injectKeyEvent(KeyEvent event) { in injectKeyEvent()
|
D | IProjectionService.aidl | 27 void onTouchEvent(in MotionEvent event); in onTouchEvent() 28 void onKeyEvent(in KeyEvent event); in onKeyEvent()
|
D | ProjectionService.java | 117 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/ |
D | KeyEventInterceptTestActivity.java | 29 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() 35 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
|
D | TouchDelegateTest.java | 124 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
|
D | GestureDetectorCtsActivity.java | 93 public boolean onTouch(View v, MotionEvent event) { in onTouch() 98 public boolean onGenericMotion(View v, MotionEvent event) { in onGenericMotion()
|
D | LongPressBackActivity.java | 49 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() 57 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
|
D | PointerCaptureTest.java | 113 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/ |
D | AccessibilityEventFilterUtils.java | 48 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/ |
D | AccessibilityEventTest.java | 127 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()
|
D | SpeakingAndVibratingAccessibilityService.java | 46 public void onAccessibilityEvent(AccessibilityEvent event) { in onAccessibilityEvent()
|
/cts/tests/tests/location/src/android/location/cts/ |
D | GnssMeasurementsEventTest.java | 33 GnssMeasurementsEvent event = new GnssMeasurementsEvent( in testDescribeContents() local 45 GnssMeasurementsEvent event = new GnssMeasurementsEvent( in testWriteToParcel() local
|
D | GnssNavigationMessageCallbackTest.java | 28 GnssNavigationMessage event = message; in testAllMethodsExist() local
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | TextMethodUtils.java | 30 KeyEvent event = new KeyEvent(KeyEvent.ACTION_DOWN, keyCode); in getUnacceptedKeyCode() local
|
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | TestSensorEvent.java | 42 public TestSensorEvent(SensorEvent event) { in TestSensorEvent() 53 public TestSensorEvent(SensorEvent event, long receivedTimestamp) { in TestSensorEvent()
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ |
D | DeviceEvent.java | 104 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/ |
D | SecurityLoggingTest.java | 337 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/ |
D | DropTarget.java | 80 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/ |
D | DrmEventTest.java | 167 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/ |
D | MediaSessionManagerTest.java | 234 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/ |
D | OffBodySensorTestActivity.java | 94 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
|