Lines Matching refs:aAlarmApi
155 void Timer::Scheduler::Add(Timer &aTimer, const AlarmApi &aAlarmApi) in Add() argument
158 Time now(aAlarmApi.AlarmGetNow()); in Add()
160 Remove(aTimer, aAlarmApi); in Add()
175 SetAlarm(aAlarmApi); in Add()
183 void Timer::Scheduler::Remove(Timer &aTimer, const AlarmApi &aAlarmApi) in Remove() argument
190 SetAlarm(aAlarmApi); in Remove()
203 void Timer::Scheduler::SetAlarm(const AlarmApi &aAlarmApi) in SetAlarm() argument
207 aAlarmApi.AlarmStop(&GetInstance()); in SetAlarm()
212 Time now(aAlarmApi.AlarmGetNow()); in SetAlarm()
217 aAlarmApi.AlarmStartAt(&GetInstance(), now.GetValue(), remaining); in SetAlarm()
221 void Timer::Scheduler::ProcessTimers(const AlarmApi &aAlarmApi) in ProcessTimers() argument
227 Time now(aAlarmApi.AlarmGetNow()); in ProcessTimers()
231 Remove(*timer, aAlarmApi); // `Remove()` will `SetAlarm` for next timer if there is any. in ProcessTimers()
237 SetAlarm(aAlarmApi); in ProcessTimers()
243 void Timer::Scheduler::RemoveAll(const AlarmApi &aAlarmApi) in RemoveAll() argument
252 SetAlarm(aAlarmApi); in RemoveAll()