Searched refs:assertReceivedMotionEvent (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/libs/input/tests/ |
D | InputConsumerResampling_test.cpp | 84 void assertReceivedMotionEvent(const std::vector<InputEventEntry>& expectedEntries); 147 void InputConsumerResamplingTest::assertReceivedMotionEvent( in assertReceivedMotionEvent() function in android::InputConsumerResamplingTest 203 assertReceivedMotionEvent({InputEventEntry{0ms, in TEST_F() 215 assertReceivedMotionEvent( in TEST_F() 242 assertReceivedMotionEvent({InputEventEntry{0ms, in TEST_F() 254 assertReceivedMotionEvent( in TEST_F() 282 assertReceivedMotionEvent({InputEventEntry{0ms, in TEST_F() 301 assertReceivedMotionEvent({InputEventEntry{10ms, in TEST_F() 338 assertReceivedMotionEvent({InputEventEntry{0ms, in TEST_F() 357 assertReceivedMotionEvent({InputEventEntry{10ms, in TEST_F() [all …]
|
D | InputConsumer_test.cpp | 95 std::unique_ptr<MotionEvent> assertReceivedMotionEvent(const Matcher<MotionEvent>& matcher) { in assertReceivedMotionEvent() function in android::InputConsumerTest 201 assertReceivedMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F() 204 assertReceivedMotionEvent(WithMotionAction(ACTION_MOVE)); in TEST_F() 239 assertReceivedMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F() 242 assertReceivedMotionEvent(WithMotionAction(ACTION_MOVE)); in TEST_F() 272 assertReceivedMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F() 294 assertReceivedMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F() 314 assertReceivedMotionEvent(WithMotionAction(ACTION_DOWN)); in TEST_F() 330 assertReceivedMotionEvent(AllOf(WithDeviceId(0), WithMotionAction(ACTION_DOWN))); in TEST_F() 351 assertReceivedMotionEvent(AllOf(WithDeviceId(1), WithMotionAction(ACTION_DOWN))); in TEST_F() [all …]
|
D | InputConsumerFilteredResampling_test.cpp | 86 void assertReceivedMotionEvent(const Matcher<MotionEvent>& matcher) { in assertReceivedMotionEvent() function in android::InputConsumerFilteredResamplingTest 169 assertReceivedMotionEvent(AllOf(WithMotionAction(ACTION_DOWN), WithSampleCount(1))); in TEST_F() 187 assertReceivedMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithSampleCount(3), in TEST_F() 208 assertReceivedMotionEvent(AllOf(WithMotionAction(ACTION_MOVE), WithSampleCount(4))); in TEST_F()
|
D | InputPublisherAndConsumerNoResampling_test.cpp | 344 std::unique_ptr<MotionEvent> assertReceivedMotionEvent(const Matcher<MotionEvent>& matcher); 419 std::unique_ptr<MotionEvent> InputPublisherAndConsumerNoResamplingTest::assertReceivedMotionEvent( in assertReceivedMotionEvent() function in android::InputPublisherAndConsumerNoResamplingTest 616 assertReceivedMotionEvent(WithMotionAction(AMOTION_EVENT_ACTION_DOWN)); in publishAndConsumeSinglePointerMultipleSamples() 653 assertReceivedMotionEvent(WithMotionAction(ACTION_MOVE)); in publishAndConsumeSinglePointerMultipleSamples() 711 assertReceivedMotionEvent(WithMotionAction(ACTION_MOVE)); in publishAndConsumeBatchedMotionMove() 723 std::unique_ptr<MotionEvent> event = assertReceivedMotionEvent(WithMotionAction(action)); in publishAndConsumeMotionEvent()
|