Home
last modified time | relevance | path

Searched refs:SECOND_DISPLAY_ID (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp712 static constexpr int32_t SECOND_DISPLAY_ID = 1; member in android::inputdispatcher::InputDispatcherFocusOnTwoDisplaysTest
728 SECOND_DISPLAY_ID); in SetUp()
733 mDispatcher->setFocusedDisplay(SECOND_DISPLAY_ID); in SetUp()
735 mDispatcher->setFocusedApplication(SECOND_DISPLAY_ID, application2); in SetUp()
737 mDispatcher->setInputWindows(inputWindowHandles_Second, SECOND_DISPLAY_ID); in SetUp()
766 AINPUT_SOURCE_TOUCHSCREEN, SECOND_DISPLAY_ID)) in TEST_F()
769 windowInSecondary->consumeEvent(AINPUT_EVENT_TYPE_MOTION, SECOND_DISPLAY_ID); in TEST_F()
787 mDispatcher->setInputWindows(noWindows, SECOND_DISPLAY_ID); in TEST_F()
815 new FakeMonitorReceiver(mDispatcher, "M_2", SECOND_DISPLAY_ID); in TEST_F()
828 AINPUT_SOURCE_TOUCHSCREEN, SECOND_DISPLAY_ID)) in TEST_F()
[all …]
DInputReader_test.cpp3167 constexpr int32_t SECOND_DISPLAY_ID = 1; in TEST_F() local
3169 mFakePolicy->addDisplayViewport(SECOND_DISPLAY_ID, 800, 480, DISPLAY_ORIENTATION_0, in TEST_F()
3172 mFakePolicy->setDefaultPointerDisplayId(SECOND_DISPLAY_ID); in TEST_F()
3189 ASSERT_EQ(SECOND_DISPLAY_ID, args.displayId); in TEST_F()