Home
last modified time | relevance | path

Searched refs:numEvents (Results 1 – 3 of 3) 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/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDispatchTest.java249 int numEvents = mMotionEvents.size(); in testSwipe_shouldContainPointsInALine() local
252 MotionEvent upEvent = mMotionEvents.get(numEvents - 1); in testSwipe_shouldContainPointsInALine()
259 for (int i = 1; i < numEvents - 1; i++) { in testSwipe_shouldContainPointsInALine()
316 int numEvents = mMotionEvents.size(); in testAngledPinch_looksReasonable() local
321 assertThat(mMotionEvents.get(numEvents - 2), IS_ACTION_POINTER_UP); in testAngledPinch_looksReasonable()
322 assertThat(mMotionEvents.get(numEvents - 1), IS_ACTION_UP); in testAngledPinch_looksReasonable()
324 assertEquals(numEvents - 4, getEventsMatching(IS_ACTION_MOVE).size()); in testAngledPinch_looksReasonable()
328 for (int i = 1; i < numEvents - 1; i++) { in testAngledPinch_looksReasonable()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java513 int numEvents = 0; in testQueryEventsForSelf() local
517 numEvents++; in testQueryEventsForSelf()
529 assertTrue("Only " + numEvents + " events returned", numEvents >= 2); in testQueryEventsForSelf()