Lines Matching refs:mThread
117 std::unique_ptr<impl::EventThread> mThread; member in android::EventThreadTest
151 mThread->onHotplugReceived(INTERNAL_DISPLAY_ID, true); in EventThreadTest()
173 mThread = std::make_unique<impl::EventThread>(std::move(source), in createThread()
187 new MockEventThreadConnection(mThread.get(), ownerUid, in createConnection()
304 mThread->onHotplugReceived(INTERNAL_DISPLAY_ID, false); in TEST_F()
308 mThread->requestNextVsync(mConnection); in TEST_F()
316 mThread->requestNextVsync(mConnection); in TEST_F()
348 mThread->setVsyncRate(0, firstConnection); in TEST_F()
358 mThread->setVsyncRate(1, secondConnection); in TEST_F()
374 mThread->setVsyncRate(1, mConnection); in TEST_F()
400 mThread->setVsyncRate(2, mConnection); in TEST_F()
430 mThread->setVsyncRate(1, mConnection); in TEST_F()
450 mThread->setVsyncRate(1, errorConnection); in TEST_F()
472 EXPECT_EQ(2, mThread->getEventThreadConnectionCount()); in TEST_F()
475 mThread->setVsyncRate(1, errorConnection); in TEST_F()
476 EXPECT_EQ(3, mThread->getEventThreadConnectionCount()); in TEST_F()
480 mThread->setVsyncRate(1, secondConnection); in TEST_F()
481 EXPECT_EQ(4, mThread->getEventThreadConnectionCount()); in TEST_F()
493 EXPECT_EQ(3, mThread->getEventThreadConnectionCount()); in TEST_F()
499 mThread->setVsyncRate(1, errorConnection); in TEST_F()
521 mThread->setDuration(321ns, 456ns); in TEST_F()
526 mThread->onHotplugReceived(INTERNAL_DISPLAY_ID, false); in TEST_F()
531 mThread->onHotplugReceived(INTERNAL_DISPLAY_ID, true); in TEST_F()
536 mThread->onHotplugReceived(EXTERNAL_DISPLAY_ID, false); in TEST_F()
541 mThread->onHotplugReceived(EXTERNAL_DISPLAY_ID, true); in TEST_F()
546 mThread->onModeChanged(INTERNAL_DISPLAY_ID, DisplayModeId(7), 16666666); in TEST_F()
551 mThread->onModeChanged(EXTERNAL_DISPLAY_ID, DisplayModeId(5), 16666666); in TEST_F()
556 mThread->onModeChanged(DISPLAY_ID_64BIT, DisplayModeId(7), 16666666); in TEST_F()
565 mThread->onModeChanged(INTERNAL_DISPLAY_ID, DisplayModeId(9), 16666666); in TEST_F()
579 mThread->onFrameRateOverridesChanged(INTERNAL_DISPLAY_ID, overrides); in TEST_F()
594 mThread->onFrameRateOverridesChanged(INTERNAL_DISPLAY_ID, overrides); in TEST_F()
603 mThread->requestNextVsync(mThrottledConnection); in TEST_F()