Home
last modified time | relevance | path

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

/openthread-2.7.6/src/core/common/
Dtimer.cpp115 void Timer::Scheduler::Add(Timer &aTimer, const AlarmApi &aAlarmApi) in Add() argument
118 Time now(aAlarmApi.AlarmGetNow()); in Add()
120 Remove(aTimer, aAlarmApi); in Add()
135 SetAlarm(aAlarmApi); in Add()
143 void Timer::Scheduler::Remove(Timer &aTimer, const AlarmApi &aAlarmApi) in Remove() argument
150 SetAlarm(aAlarmApi); in Remove()
163 void Timer::Scheduler::SetAlarm(const AlarmApi &aAlarmApi) in SetAlarm() argument
167 aAlarmApi.AlarmStop(&GetInstance()); in SetAlarm()
172 Time now(aAlarmApi.AlarmGetNow()); in SetAlarm()
177 aAlarmApi.AlarmStartAt(&GetInstance(), now.GetValue(), remaining); in SetAlarm()
[all …]
Dtimer.hpp137 void Add(Timer &aTimer, const AlarmApi &aAlarmApi);
138 void Remove(Timer &aTimer, const AlarmApi &aAlarmApi);
139 void RemoveAll(const AlarmApi &aAlarmApi);
140 void ProcessTimers(const AlarmApi &aAlarmApi);
141 void SetAlarm(const AlarmApi &aAlarmApi);