Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncDispatchTimerQueueTest.cpp66 ON_CALL(*this, alarmIn(_, _)) in ControllableClock()
72 MOCK_METHOD2(alarmIn, void(std::function<void()> const&, nsecs_t time));
190 void alarmIn(std::function<void()> const& callback, nsecs_t time) final { in createTimeKeeper() function in android::scheduler::VSyncDispatchTimerQueueTest::createTimeKeeper::TimeKeeperWrapper
191 mControllableClock.alarmIn(callback, time); in createTimeKeeper()
220 EXPECT_CALL(mMockClock, alarmIn(_, 900)); in TEST_F()
232 EXPECT_CALL(mMockClock, alarmIn(_, 900)); in TEST_F()
244 EXPECT_CALL(mMockClock, alarmIn(_, 1050)); in TEST_F()
260 EXPECT_CALL(mMockClock, alarmIn(_, mPeriod - now)); in TEST_F()
267 EXPECT_CALL(mMockClock, alarmIn(_, 900)); in TEST_F()
276 EXPECT_CALL(mMockClock, alarmIn(_, 900)); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/
DTimeKeeper.h49 virtual void alarmIn(std::function<void()> const& callback, nsecs_t time) = 0;
DTimer.h35 void alarmIn(std::function<void()> const& cb, nsecs_t fireIn) final;
DVSyncDispatchTimerQueue.cpp185 mTimeKeeper->alarmIn(std::bind(&VSyncDispatchTimerQueue::timerCallback, this), in setTimer()
194 void VSyncDispatchTimerQueue::TraceBuffer::note(std::string_view name, nsecs_t alarmIn, in note() argument
198 name.substr(0, kMaxNamePrint).data(), kTraceNamePrefix, alarmIn, in note()
DTimer.cpp91 void Timer::alarmIn(std::function<void()> const& cb, nsecs_t fireIn) { in alarmIn() function in android::scheduler::Timer