Lines Matching refs:InputDispatcher

178     std::unique_ptr<InputDispatcher> mDispatcher;
188 mDispatcher = std::make_unique<InputDispatcher>(*mFakePolicy, in SetUp()
441 FakeMonitorReceiver(InputDispatcher& dispatcher, const std::string name, in FakeMonitorReceiver()
501 InputDispatcher& dispatcher, int32_t action, int32_t repeatCount, in injectKey()
522 static void assertInjectedKeyTimesOut(InputDispatcher& dispatcher) { in assertInjectedKeyTimesOut()
533 InputDispatcher& dispatcher, in injectKeyDown()
542 InputDispatcher& dispatcher, in injectKeyDownNoRepeat()
550 InputDispatcher& dispatcher, in injectKeyUp()
556 InputDispatcher& dispatcher, const MotionEvent& event, in injectMotionEvent()
565 InputDispatcher& dispatcher, int32_t action, int32_t source, ui::LogicalDisplayId displayId, in injectMotionEvent()
590 static InputEventInjectionResult injectMotionDown(InputDispatcher& dispatcher, int32_t source, in injectMotionDown()
596 static InputEventInjectionResult injectMotionUp(InputDispatcher& dispatcher, int32_t source, in injectMotionUp()
6054 using TransferFunction = std::function<bool(const std::unique_ptr<InputDispatcher>& dispatcher,
6310 [&](const std::unique_ptr<InputDispatcher>& dispatcher, sp<IBinder> /*ignored*/,
6315 [&](const std::unique_ptr<InputDispatcher>& dispatcher, sp<IBinder> from,
12300 if (mDispatcher->setInTouchMode(InputDispatcher::kDefaultInTouchMode, WINDOW_PID, in SetUp()
12303 mWindow->consumeTouchModeEvent(InputDispatcher::kDefaultInTouchMode); in SetUp()
12304 mSecondWindow->consumeTouchModeEvent(InputDispatcher::kDefaultInTouchMode); in SetUp()
12309 if (mDispatcher->setInTouchMode(InputDispatcher::kDefaultInTouchMode, SECONDARY_WINDOW_PID, in SetUp()
12314 mThirdWindow->consumeTouchModeEvent(InputDispatcher::kDefaultInTouchMode); in SetUp()
12330 changeAndVerifyTouchModeInMainDisplayOnly(!InputDispatcher::kDefaultInTouchMode, in TEST_F()
12340 ASSERT_FALSE(mDispatcher->setInTouchMode(InputDispatcher::kDefaultInTouchMode, ownerPid, in TEST_F()
12352 changeAndVerifyTouchModeInMainDisplayOnly(!InputDispatcher::kDefaultInTouchMode, ownerPid, in TEST_F()
12358 ASSERT_FALSE(mDispatcher->setInTouchMode(InputDispatcher::kDefaultInTouchMode, in TEST_F()
12368 ASSERT_TRUE(mDispatcher->setInTouchMode(!InputDispatcher::kDefaultInTouchMode, in TEST_F()
12373 mThirdWindow->consumeTouchModeEvent(!InputDispatcher::kDefaultInTouchMode); in TEST_F()
12389 ASSERT_TRUE(mDispatcher->setInTouchMode(!InputDispatcher::kDefaultInTouchMode, in TEST_F()
13289 std::unique_ptr<InputDispatcher>& mDispatcher;
13291 User(std::unique_ptr<InputDispatcher>& dispatcher, gui::Pid pid, gui::Uid uid) in User()