Home
last modified time | relevance | path

Searched refs:numEvents (Results 1 – 11 of 11) sorted by relevance

/cts/hostsidetests/monkey/src/com/android/cts/monkey/
DSeedTest.java40 int numEvents = 0; in assertOutputs() local
46 numEvents++; in assertOutputs()
51 assertTrue(numEvents > 0); in assertOutputs()
/cts/tests/input/src/android/input/cts/
DVerifyHardwareKeyEventTest.kt61 private fun assertReceivedEventsCanBeVerified(numEvents: Int) { in assertReceivedEventsCanBeVerified()
62 for (i in 1..numEvents) { in assertReceivedEventsCanBeVerified()
81 assertReceivedEventsCanBeVerified(numEvents = 2) in testVerifyHardwareKeyEvent()
DBackKeyShortcutsTest.kt67 private fun assertReceivedEventsCorrectlyMapped(numEvents: Int, expectedKeyCode: Int) { in <lambda>()
68 for (i in 1..numEvents) { in <lambda>()
DA11yBounceKeysTest.kt89 private fun assertReceivedEventsCorrectlyMapped(numEvents: Int, expectedKeyCode: Int) { in <lambda>()
90 for (i in 1..numEvents) { in <lambda>()
DA11ySlowKeysTest.kt89 private fun assertReceivedEventsCorrectlyMapped(numEvents: Int, expectedKeyCode: Int) { in <lambda>()
90 for (i in 1..numEvents) { in <lambda>()
DA11yStickyKeysTest.kt90 numEvents: Int, in <lambda>()
94 for (i in 1..numEvents) { in <lambda>()
DModifierKeyRemappingTest.kt82 private fun assertReceivedEventsCorrectlyMapped(numEvents: Int, expectedKeyCode: Int) { in assertReceivedEventsCorrectlyMapped()
83 for (i in 1..numEvents) { in assertReceivedEventsCorrectlyMapped()
DVelocityTrackerTest.kt202 val numEvents = 5 in testUsesRawCoordinates() constant
204 for (i in 0 until numEvents) { in testUsesRawCoordinates()
/cts/tests/tests/view/jni/
Dandroid_view_cts_InputQueueTest.cpp32 int32_t numEvents = AInputQueue_hasEvents(nativeQueue); in waitForEvent() local
33 if (numEvents > 0) { in waitForEvent()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDispatchTest.java255 int numEvents = mMotionEvents.size(); in testSwipe_shouldContainPointsInALine() local
258 MotionEvent upEvent = mMotionEvents.get(numEvents - 1); in testSwipe_shouldContainPointsInALine()
265 for (int i = 1; i < numEvents - 1; i++) { in testSwipe_shouldContainPointsInALine()
322 int numEvents = mMotionEvents.size(); in testAngledPinch_looksReasonable() local
327 assertThat(mMotionEvents.get(numEvents - 2), IS_ACTION_POINTER_UP); in testAngledPinch_looksReasonable()
328 assertThat(mMotionEvents.get(numEvents - 1), IS_ACTION_UP); in testAngledPinch_looksReasonable()
330 assertEquals(numEvents - 4, getEventsMatching(IS_ACTION_MOVE).size()); in testAngledPinch_looksReasonable()
334 for (int i = 1; i < numEvents - 1; i++) { in testAngledPinch_looksReasonable()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java777 int numEvents = 0; in testQueryEventsForSelf() local
781 numEvents++; in testQueryEventsForSelf()
793 assertTrue("Only " + numEvents + " events returned", numEvents >= 2); in testQueryEventsForSelf()