Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DMessageQueueTest.cpp107 EXPECT_FALSE(mEventQueue.nextExpectedInvalidate().has_value()); in TEST_F()
111 EXPECT_TRUE(mEventQueue.nextExpectedInvalidate().has_value()); in TEST_F()
112 EXPECT_EQ(1234, mEventQueue.nextExpectedInvalidate().value().time_since_epoch().count()); in TEST_F()
123 EXPECT_TRUE(mEventQueue.nextExpectedInvalidate().has_value()); in TEST_F()
124 EXPECT_EQ(1234, mEventQueue.nextExpectedInvalidate().value().time_since_epoch().count()); in TEST_F()
128 EXPECT_TRUE(mEventQueue.nextExpectedInvalidate().has_value()); in TEST_F()
129 EXPECT_EQ(4567, mEventQueue.nextExpectedInvalidate().value().time_since_epoch().count()); in TEST_F()
140 EXPECT_TRUE(mEventQueue.nextExpectedInvalidate().has_value()); in TEST_F()
141 EXPECT_EQ(1234, mEventQueue.nextExpectedInvalidate().value().time_since_epoch().count()); in TEST_F()
154 EXPECT_FALSE(mEventQueue.nextExpectedInvalidate().has_value()); in TEST_F()
/frameworks/native/services/surfaceflinger/Scheduler/
DMessageQueue.h75 virtual std::optional<std::chrono::steady_clock::time_point> nextExpectedInvalidate() = 0;
152 std::optional<std::chrono::steady_clock::time_point> nextExpectedInvalidate() override;
DMessageQueue.cpp209 std::optional<std::chrono::steady_clock::time_point> MessageQueue::nextExpectedInvalidate() { in nextExpectedInvalidate() function in android::impl::MessageQueue
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockMessageQueue.h42 MOCK_METHOD0(nextExpectedInvalidate, std::optional<std::chrono::steady_clock::time_point>());
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp2098 refreshArgs.nextInvalidateTime = mEventQueue->nextExpectedInvalidate(); in onMessageRefresh()
6990 mRegionSamplingThread->onCompositionComplete(mEventQueue->nextExpectedInvalidate()); in notifyRegionSamplingThread()