Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp2122 sp<FakePointerController> mFakePointerController; member in android::CursorInputMapperTest
2127 mFakePointerController = new FakePointerController(); in SetUp()
2128 mFakePolicy->setPointerController(DEVICE_ID, mFakePointerController); in SetUp()
2183 mFakePointerController->setBounds(1, 2, 800 - 1, 480 - 1); in TEST_F()
2491 mFakePointerController->setBounds(0, 0, 800 - 1, 480 - 1); in TEST_F()
2492 mFakePointerController->setPosition(100, 200); in TEST_F()
2493 mFakePointerController->setButtonState(0); in TEST_F()
2504 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, mFakePointerController->getButtonState()); in TEST_F()
2511 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, mFakePointerController->getButtonState()); in TEST_F()
2520 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
[all …]