Searched refs:ARBITRARY_EVENT_TIME (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/libs/input/tests/ |
D | InputEvent_test.cpp | 186 constexpr nsecs_t ARBITRARY_EVENT_TIME = 2; in TEST_F() local 190 ARBITRARY_DOWN_TIME, ARBITRARY_EVENT_TIME); in TEST_F() 205 ASSERT_EQ(ARBITRARY_EVENT_TIME, event.getEventTime()); in TEST_F() 223 static constexpr nsecs_t ARBITRARY_EVENT_TIME = 2; member in android::MotionEventTest 297 ARBITRARY_DOWN_TIME, ARBITRARY_EVENT_TIME, 2, pointerProperties, in initializeEventWithHistory() 318 event->addSample(ARBITRARY_EVENT_TIME + 1, pointerCoords); in initializeEventWithHistory() 338 event->addSample(ARBITRARY_EVENT_TIME + 2, pointerCoords); in initializeEventWithHistory() 371 ASSERT_EQ(ARBITRARY_EVENT_TIME, event->getHistoricalEventTime(0)); in assertEqualsEventWithHistory() 372 ASSERT_EQ(ARBITRARY_EVENT_TIME + 1, event->getHistoricalEventTime(1)); in assertEqualsEventWithHistory() 373 ASSERT_EQ(ARBITRARY_EVENT_TIME + 2, event->getEventTime()); in assertEqualsEventWithHistory()
|