Lines Matching refs:getToken

243         request.token = window->getToken();  in setFocusedWindow()
445 sp<IBinder> getToken() { return mInputReceiver.getToken(); } in getToken() function in android::inputdispatcher::__anon94065d070311::FakeMonitorReceiver
1192 ASSERT_TRUE(mDispatcher->transferTouchGesture(middleForegroundWindow->getToken(), in TEST_F()
1193 rightForegroundWindow->getToken())); in TEST_F()
3892 EXPECT_EQ(OK, mDispatcher->pilferPointers(spyWindow->getToken())); in TEST_F()
3994 EXPECT_EQ(OK, mDispatcher->pilferPointers(spyWindow->getToken())); in TEST_F()
4469 EXPECT_EQ(OK, mDispatcher->pilferPointers(spyWindow->getToken())); in TEST_F()
4563 EXPECT_EQ(OK, mDispatcher->pilferPointers(spyWindow->getToken())); in TEST_F()
5583 EXPECT_EQ(OK, mDispatcher->pilferPointers(spyWindowDefaultDisplay->getToken())); in TEST_F()
5780 mDispatcher->transferTouchGesture(firstWindow->getToken(), secondWindow->getToken()); in TEST_F()
6091 mFakePolicy->assertOnPointerDownEquals(wallpaper->getToken()); in TEST_P()
6095 const bool success = f(mDispatcher, firstWindow->getToken(), secondWindow->getToken()); in TEST_P()
6156 const bool success = f(mDispatcher, firstWindow->getToken(), secondWindow->getToken()); in TEST_P()
6210 bool success = f(mDispatcher, firstWindow->getToken(), secondWindow->getToken()); in TEST_P()
6281 bool success = f(mDispatcher, firstWindow->getToken(), secondWindow->getToken()); in TEST_P()
6358 mDispatcher->transferTouchGesture(firstWindow->getToken(), secondWindow->getToken()); in TEST_F()
6425 const bool transferred = mDispatcher->transferTouchOnDisplay(secondWindow->getToken(), in TEST_F()
6491 ASSERT_TRUE(mDispatcher->transferTouchGesture(firstWindowInPrimary->getToken(), in TEST_F()
6492 secondWindowInPrimary->getToken())); in TEST_F()
6557 ASSERT_TRUE(mDispatcher->transferTouchOnDisplay(secondWindowInSecondary->getToken(), in TEST_F()
6924 EXPECT_NE(OK, mDispatcher->pilferPointers(monitor.getToken())); in TEST_F()
7484 windowTop->editInfo()->focusTransferTarget = windowSecond->getToken(); in TEST_F()
7508 windowTop->editInfo()->focusTransferTarget = windowSecond->getToken(); in TEST_F()
8319 mDispatcher->removeInputChannel(mWindow->getToken()); in TEST_F()
9258 mFakePolicy->assertOnPointerDownEquals(mUnfocusedWindow->getToken()); in TEST_F()
9667 mFakePolicy->assertNotifyWindowResponsiveWasCalled(mWindow->getToken(), mWindow->getPid()); in TEST_F()
9847 mFakePolicy->assertNotifyWindowResponsiveWasCalled(spy->getToken(), mWindow->getPid()); in TEST_F()
9872 mFakePolicy->assertNotifyWindowResponsiveWasCalled(mWindow->getToken(), mWindow->getPid()); in TEST_F()
9898 mFakePolicy->assertNotifyWindowResponsiveWasCalled(mWindow->getToken(), mWindow->getPid()); in TEST_F()
9917 mFakePolicy->assertNotifyWindowUnresponsiveWasCalled(SPY_TIMEOUT, monitor.getToken(), in TEST_F()
9924 mFakePolicy->assertNotifyWindowResponsiveWasCalled(monitor.getToken(), MONITOR_PID); in TEST_F()
9942 mFakePolicy->assertNotifyWindowResponsiveWasCalled(mWindow->getToken(), mWindow->getPid()); in TEST_F()
9951 mFakePolicy->assertNotifyWindowResponsiveWasCalled(mWindow->getToken(), mWindow->getPid()); in TEST_F()
9974 mFakePolicy->assertNotifyWindowResponsiveWasCalled(mWindow->getToken(), mWindow->getPid()); in TEST_F()
10078 mFakePolicy->assertNotifyWindowResponsiveWasCalled(mWindow->getToken(), mWindow->getPid()); in TEST_F()
10124 mFakePolicy->assertNotifyWindowUnresponsiveWasCalled(timeout, mWindow->getToken(), in TEST_F()
10133 mFakePolicy->assertNotifyWindowResponsiveWasCalled(mWindow->getToken(), /*pid=*/std::nullopt); in TEST_F()
10159 mFakePolicy->assertNotifyWindowResponsiveWasCalled(mWindow->getToken(), /*pid=*/std::nullopt); in TEST_F()
10268 mFakePolicy->assertNotifyWindowResponsiveWasCalled(mFocusedWindow->getToken(), in TEST_F()
10292 ::testing::UnorderedElementsAre(testing::Eq(mFocusedWindow->getToken()), in TEST_F()
10293 testing::Eq(mUnfocusedWindow->getToken()))); in TEST_F()
10307 ::testing::UnorderedElementsAre(testing::Eq(mFocusedWindow->getToken()), in TEST_F()
10308 testing::Eq(mUnfocusedWindow->getToken()))); in TEST_F()
10346 mFakePolicy->assertNotifyWindowResponsiveWasCalled(mFocusedWindow->getToken(), in TEST_F()
10478 mFakePolicy->assertNotifyWindowResponsiveWasCalled(mFocusedWindow->getToken(), in TEST_F()
10898 mDispatcher->requestPointerCapture(window->getToken(), enabled); in requestAndVerifyPointerCapture()
10908 mDispatcher->requestPointerCapture(mSecondWindow->getToken(), true); in TEST_F()
10916 mDispatcher->requestPointerCapture(mSecondWindow->getToken(), false); in TEST_F()
10966 mDispatcher->requestPointerCapture(mSecondWindow->getToken(), true); in TEST_F()
10981 mDispatcher->requestPointerCapture(mWindow->getToken(), true); in TEST_F()
10983 mDispatcher->requestPointerCapture(mWindow->getToken(), false); in TEST_F()
10985 mDispatcher->requestPointerCapture(mWindow->getToken(), true); in TEST_F()
11002 mDispatcher->requestPointerCapture(mWindow->getToken(), false); in TEST_F()
11005 mDispatcher->requestPointerCapture(mWindow->getToken(), true); in TEST_F()
11071 mDispatcher->requestPointerCapture(mSecondWindow->getToken(), true); in TEST_F()
11083 mDispatcher->requestPointerCapture(mWindow->getToken(), true); in TEST_F()
11097 mDispatcher->requestPointerCapture(mWindow->getToken(), true); in TEST_F()
11101 request.window = mSecondWindow->getToken(); in TEST_F()
11613 mDispatcher->transferTouchGesture(mWindow->getToken(), mDragWindow->getToken(), in startDrag()
11719 mFakePolicy->assertDropTargetEquals(*mDispatcher, mSecondWindow->getToken()); in TEST_F()
11749 EXPECT_EQ(OK, mDispatcher->pilferPointers(mSpyWindow->getToken())); in TEST_F()
11797 mFakePolicy->assertDropTargetEquals(*mDispatcher, mSecondWindow->getToken()); in TEST_F()
11931 mFakePolicy->assertDropTargetEquals(*mDispatcher, mWindow->getToken()); in TEST_F()
11992 mFakePolicy->assertDropTargetEquals(*mDispatcher, mSecondWindow->getToken()); in TEST_F()
12040 mFakePolicy->assertDropTargetEquals(*mDispatcher, mSecondWindow->getToken()); in TEST_F()
12742 EXPECT_EQ(OK, mDispatcher->pilferPointers(spy2->getToken())); in TEST_F()
12775 EXPECT_EQ(OK, mDispatcher->pilferPointers(spy->getToken())); in TEST_F()
12803 EXPECT_EQ(OK, mDispatcher->pilferPointers(spy->getToken())); in TEST_F()
12889 EXPECT_EQ(OK, mDispatcher->pilferPointers(spy->getToken())); in TEST_F()
12940 EXPECT_EQ(OK, mDispatcher->pilferPointers(spy->getToken())); in TEST_F()
12968 EXPECT_EQ(OK, mDispatcher->pilferPointers(spy->getToken())); in TEST_F()
13035 EXPECT_EQ(OK, mDispatcher->pilferPointers(spy->getToken())); in TEST_F()
13103 EXPECT_EQ(OK, mDispatcher->pilferPointers(spy->getToken())); in TEST_F()
13149 EXPECT_NE(OK, mDispatcher->pilferPointers(spy->getToken())); in TEST_F()
13269 EXPECT_EQ(OK, mDispatcher->pilferPointers(overlay->getToken())); in TEST_F()
13462 ASSERT_TRUE(mDispatcher->isPointerInWindow(left->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13465 ASSERT_TRUE(mDispatcher->isPointerInWindow(spy->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13468 ASSERT_FALSE(mDispatcher->isPointerInWindow(right->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13482 ASSERT_FALSE(mDispatcher->isPointerInWindow(left->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13485 ASSERT_TRUE(mDispatcher->isPointerInWindow(spy->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13488 ASSERT_TRUE(mDispatcher->isPointerInWindow(right->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13501 ASSERT_FALSE(mDispatcher->isPointerInWindow(left->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13504 ASSERT_FALSE(mDispatcher->isPointerInWindow(spy->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13507 ASSERT_FALSE(mDispatcher->isPointerInWindow(right->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13540 ASSERT_TRUE(mDispatcher->isPointerInWindow(left->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13543 ASSERT_TRUE(mDispatcher->isPointerInWindow(spy->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13546 ASSERT_FALSE(mDispatcher->isPointerInWindow(right->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13561 ASSERT_TRUE(mDispatcher->isPointerInWindow(left->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13564 ASSERT_TRUE(mDispatcher->isPointerInWindow(spy->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13567 ASSERT_FALSE(mDispatcher->isPointerInWindow(right->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13570 ASSERT_FALSE(mDispatcher->isPointerInWindow(left->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13573 ASSERT_TRUE(mDispatcher->isPointerInWindow(spy->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13576 ASSERT_TRUE(mDispatcher->isPointerInWindow(right->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13591 ASSERT_TRUE(mDispatcher->isPointerInWindow(left->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13594 ASSERT_TRUE(mDispatcher->isPointerInWindow(spy->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13597 ASSERT_FALSE(mDispatcher->isPointerInWindow(right->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13600 ASSERT_FALSE(mDispatcher->isPointerInWindow(left->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13603 ASSERT_FALSE(mDispatcher->isPointerInWindow(spy->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13606 ASSERT_FALSE(mDispatcher->isPointerInWindow(right->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13619 ASSERT_FALSE(mDispatcher->isPointerInWindow(left->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13622 ASSERT_FALSE(mDispatcher->isPointerInWindow(spy->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13625 ASSERT_FALSE(mDispatcher->isPointerInWindow(right->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13644 ASSERT_FALSE(mDispatcher->isPointerInWindow(left->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13647 ASSERT_FALSE(mDispatcher->isPointerInWindow(right->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13662 ASSERT_TRUE(mDispatcher->isPointerInWindow(left->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13680 ASSERT_TRUE(mDispatcher->isPointerInWindow(left->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13683 ASSERT_TRUE(mDispatcher->isPointerInWindow(left->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13699 ASSERT_TRUE(mDispatcher->isPointerInWindow(left->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13702 ASSERT_FALSE(mDispatcher->isPointerInWindow(left->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13725 ASSERT_FALSE(mDispatcher->isPointerInWindow(left->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13728 ASSERT_FALSE(mDispatcher->isPointerInWindow(right->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13743 ASSERT_TRUE(mDispatcher->isPointerInWindow(left->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13759 ASSERT_TRUE(mDispatcher->isPointerInWindow(left->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13762 ASSERT_TRUE(mDispatcher->isPointerInWindow(left->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13777 ASSERT_TRUE(mDispatcher->isPointerInWindow(left->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()
13780 ASSERT_FALSE(mDispatcher->isPointerInWindow(left->getToken(), ui::LogicalDisplayId::DEFAULT, in TEST_F()