Home
last modified time | relevance | path

Searched refs:alarmAt (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncDispatchTimerQueueTest.cpp72 ON_CALL(*this, alarmAt(_, _)) in ControllableClock()
78 MOCK_METHOD(void, alarmAt, (std::function<void()>, nsecs_t), (override));
206 void alarmAt(std::function<void()> callback, nsecs_t time) final { in createTimeKeeper() function in android::scheduler::VSyncDispatchTimerQueueTest::createTimeKeeper::TimeKeeperWrapper
207 mControllableClock.alarmAt(std::move(callback), time); in createTimeKeeper()
238 EXPECT_CALL(mMockClock, alarmAt(_, 900)); in TEST_F()
257 EXPECT_CALL(mMockClock, alarmAt(_, 900)); in TEST_F()
276 EXPECT_CALL(mMockClock, alarmAt(_, 900)).InSequence(seq); in TEST_F()
277 EXPECT_CALL(mMockClock, alarmAt(_, 700)).InSequence(seq); in TEST_F()
302 EXPECT_CALL(mMockClock, alarmAt(_, _)).Times(0); in TEST_F()
314 EXPECT_CALL(mMockClock, alarmAt(_, 1050)); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/tests/
DTimerTest.cpp46 mTimer.alarmAt(std::bind(&TimerTest::timerCallback, this), systemTime() - 1'000'000); in TEST_F()
55 mTimer.alarmAt(std::bind(&TimerTest::timerCallback, this), systemTime() - 1'000'000); in TEST_F()
/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/
DTimeKeeper.h53 virtual void alarmAt(std::function<void()>, nsecs_t time) = 0;
DTimer.h39 void alarmAt(std::function<void()>, nsecs_t time) final;
/frameworks/native/services/surfaceflinger/Scheduler/src/
DTimer.cpp109 void Timer::alarmAt(std::function<void()> callback, nsecs_t time) { in alarmAt() function in android::scheduler::Timer
/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncDispatchTimerQueue.cpp302 mTimeKeeper->alarmAt(std::bind(&VSyncDispatchTimerQueue::timerCallback, this), in setTimer()