Searched refs:ARBITRARY_EVENT_TIME (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/libs/input/tests/ |
D | InputEvent_test.cpp | 180 const nsecs_t ARBITRARY_EVENT_TIME = 2; in TEST_F() local 183 AMETA_ALT_ON, 1, ARBITRARY_DOWN_TIME, ARBITRARY_EVENT_TIME); in TEST_F() 195 ASSERT_EQ(ARBITRARY_EVENT_TIME, event.getEventTime()); in TEST_F() 208 static const nsecs_t ARBITRARY_EVENT_TIME; member in android::MotionEventTest 217 const nsecs_t MotionEventTest::ARBITRARY_EVENT_TIME = 2; member in android::MotionEventTest 255 ARBITRARY_DOWN_TIME, ARBITRARY_EVENT_TIME, in initializeEventWithHistory() 276 event->addSample(ARBITRARY_EVENT_TIME + 1, pointerCoords); in initializeEventWithHistory() 296 event->addSample(ARBITRARY_EVENT_TIME + 2, pointerCoords); in initializeEventWithHistory() 324 ASSERT_EQ(ARBITRARY_EVENT_TIME, event->getHistoricalEventTime(0)); in assertEqualsEventWithHistory() 325 ASSERT_EQ(ARBITRARY_EVENT_TIME + 1, event->getHistoricalEventTime(1)); in assertEqualsEventWithHistory() [all …]
|