Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp192 sp<FakeInputDispatcherPolicy> mFakePolicy; member in android::inputdispatcher::InputDispatcherTest
197 mFakePolicy = new FakeInputDispatcherPolicy(); in SetUp()
198 mDispatcher = new InputDispatcher(mFakePolicy); in SetUp()
208 mFakePolicy.clear(); in TearDown()
879 mFakePolicy->assertFilterInputEventWasCalledWithExpectedArgs(&motionArgs); in testNotifyMotion()
881 mFakePolicy->assertFilterInputEventWasNotCalled(); in testNotifyMotion()
894 mFakePolicy->assertFilterInputEventWasCalledWithExpectedArgs(&keyArgs); in testNotifyKey()
896 mFakePolicy->assertFilterInputEventWasNotCalled(); in testNotifyKey()
988 mFakePolicy->assertOnPointerDownEquals(mUnfocusedWindow->getToken()); in TEST_F()
1001 mFakePolicy->assertOnPointerDownEquals(nullptr); in TEST_F()
[all …]
DInputReader_test.cpp1070 sp<FakeInputReaderPolicy> mFakePolicy; member in android::InputReaderPolicyTest
1073 mFakePolicy = new FakeInputReaderPolicy(); in SetUp()
1076 mFakePolicy.clear(); in TearDown()
1092 mFakePolicy->getDisplayViewportByType(ViewportType::VIEWPORT_INTERNAL); in TEST_F()
1096 mFakePolicy->addDisplayViewport(DISPLAY_ID, DISPLAY_WIDTH, DISPLAY_HEIGHT, in TEST_F()
1100 internalViewport = mFakePolicy->getDisplayViewportByUniqueId(uniqueId); in TEST_F()
1105 internalViewport = mFakePolicy->getDisplayViewportByType(ViewportType::VIEWPORT_INTERNAL); in TEST_F()
1109 mFakePolicy->clearViewports(); in TEST_F()
1111 internalViewport = mFakePolicy->getDisplayViewportByUniqueId(uniqueId); in TEST_F()
1113 internalViewport = mFakePolicy->getDisplayViewportByType(ViewportType::VIEWPORT_INTERNAL); in TEST_F()
[all …]