Home
last modified time | relevance | path

Searched refs:aAlarmApi (Results 1 – 2 of 2) sorted by relevance

/openthread-latest/src/core/common/
Dtimer.cpp155 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()
[all …]
Dtimer.hpp188 void Add(Timer &aTimer, const AlarmApi &aAlarmApi);
189 void Remove(Timer &aTimer, const AlarmApi &aAlarmApi);
190 void RemoveAll(const AlarmApi &aAlarmApi);
191 void ProcessTimers(const AlarmApi &aAlarmApi);
192 void SetAlarm(const AlarmApi &aAlarmApi);