Home
last modified time | relevance | path

Searched refs:alarmAt (Results 1 – 7 of 7) 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));
205 void alarmAt(std::function<void()> callback, nsecs_t time) final { in createTimeKeeper() function in android::scheduler::VSyncDispatchTimerQueueTest::createTimeKeeper::TimeKeeperWrapper
206 mControllableClock.alarmAt(std::move(callback), time); in createTimeKeeper()
235 EXPECT_CALL(mMockClock, alarmAt(_, 900)); in TEST_F()
252 EXPECT_CALL(mMockClock, alarmAt(_, 900)); in TEST_F()
270 EXPECT_CALL(mMockClock, alarmAt(_, 1050)); in TEST_F()
286 EXPECT_CALL(mMockClock, alarmAt(_, mPeriod)); in TEST_F()
298 EXPECT_CALL(mMockClock, alarmAt(_, 900)); in TEST_F()
311 EXPECT_CALL(mMockClock, alarmAt(_, 900)); 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/fuzzer/
Dsurfaceflinger_scheduler_fuzzer.h161 void alarmAt(std::function<void()> /* callback */, nsecs_t /* time */) override {} in alarmAt() function
/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.cpp222 mTimeKeeper->alarmAt(std::bind(&VSyncDispatchTimerQueue::timerCallback, this), in setTimer()