Searched refs:alarmAt (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncDispatchTimerQueueTest.cpp | 72 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/ |
D | TimerTest.cpp | 46 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/ |
D | TimeKeeper.h | 53 virtual void alarmAt(std::function<void()>, nsecs_t time) = 0;
|
D | Timer.h | 39 void alarmAt(std::function<void()>, nsecs_t time) final;
|
/frameworks/native/services/surfaceflinger/Scheduler/src/ |
D | Timer.cpp | 109 void Timer::alarmAt(std::function<void()> callback, nsecs_t time) { in alarmAt() function in android::scheduler::Timer
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | VSyncDispatchTimerQueue.cpp | 302 mTimeKeeper->alarmAt(std::bind(&VSyncDispatchTimerQueue::timerCallback, this), in setTimer()
|