Home
last modified time | relevance | path

Searched refs:expectedEvent (Results 1 – 7 of 7) sorted by relevance

/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityEventTest.java704 AccessibilityEvent expectedEvent, AccessibilityEvent receivedEvent) { in assertEqualsAccessibilityEvent() argument
707 expectedEvent.getAddedCount(), in assertEqualsAccessibilityEvent()
711 expectedEvent.getBeforeText(), in assertEqualsAccessibilityEvent()
715 expectedEvent.isChecked(), in assertEqualsAccessibilityEvent()
719 expectedEvent.getClassName(), in assertEqualsAccessibilityEvent()
723 expectedEvent.getContentDescription(), in assertEqualsAccessibilityEvent()
727 expectedEvent.getCurrentItemIndex(), in assertEqualsAccessibilityEvent()
731 expectedEvent.isEnabled(), in assertEqualsAccessibilityEvent()
735 expectedEvent.getEventType(), in assertEqualsAccessibilityEvent()
739 expectedEvent.getFromIndex(), in assertEqualsAccessibilityEvent()
[all …]
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputTestCase.java161 private void assertReceivedMotionEvent(@NonNull MotionEvent expectedEvent) { in assertReceivedMotionEvent() argument
173 failWithMessage("Did not receive " + expectedEvent); in assertReceivedMotionEvent()
179 + MotionEvent.actionToString(expectedEvent.getAction()) + " received: " + event, in assertReceivedMotionEvent()
180 expectedEvent.getAction(), event.getAction()); in assertReceivedMotionEvent()
181 assertSource(mCurrentTestCase, expectedEvent, event); in assertReceivedMotionEvent()
183 expectedEvent.getButtonState(), event.getButtonState()); in assertReceivedMotionEvent()
193 assertAxis(mCurrentTestCase, expectedEvent, event); in assertReceivedMotionEvent()
203 void assertAxis(String testCase, MotionEvent expectedEvent, MotionEvent actualEvent) { in assertAxis() argument
209 expectedEvent.getAxisValue(axis, i), actualEvent.getAxisValue(axis, i), in assertAxis()
DGameviceGv186Test.java40 void assertAxis(String testCase, MotionEvent expectedEvent, MotionEvent actualEvent) { in assertAxis() argument
48 expectedEvent.getAxisValue(axis), actualEvent.getAxisValue(axis), TOLERANCE); in assertAxis()
/cts/tests/ambientcontext/src/android/ambientcontext/cts/
DAmbientContextManagerTest.java80 AmbientContextEvent expectedEvent = new AmbientContextEvent.Builder() in testGetEventsFromIntent() local
88 events.add(expectedEvent); in testGetEventsFromIntent()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/voiceinteraction/
DHotwordAudioEgressEventReportedStatsTest.java314 Enums.HotwordDetectorType expectedDetectorType, Event expectedEvent) { in assertHotwordAudioEgressEventReported() argument
320 assertThat(event).isEqualTo(expectedEvent); in assertHotwordAudioEgressEventReported()
DHotwordDetectorEventsStatsTest.java393 Enums.HotwordDetectorType expectedDetectorType, Event expectedEvent) { in assertHotwordDetectorType() argument
398 assertThat(metric.getAtom().getHotwordDetectorEvents().getEvent()).isEqualTo(expectedEvent); in assertHotwordDetectorType()
/cts/tests/tests/telecom/src/android/telecom/cts/
DVideoCallTest.java722 final int expectedEvent, final Work work) { in assertCallSessionEventReceived() argument
728 return expectedEvent; in assertCallSessionEventReceived()
737 "Call session event should be " + expectedEvent in assertCallSessionEventReceived()