Home
last modified time | relevance | path

Searched refs:CurrentPlatform (Results 1 – 3 of 3) sorted by relevance

/openthread-latest/tests/gtest/
Dfake_platform.cpp333 void otPlatAlarmMilliStop(otInstance *) { FakePlatform::CurrentPlatform().StopMilliAlarm(); } in otPlatAlarmMilliStop()
337 FakePlatform::CurrentPlatform().StartMilliAlarm(aT0, aDt); in otPlatAlarmMilliStartAt()
340 uint32_t otPlatAlarmMilliGetNow(void) { return FakePlatform::CurrentPlatform().GetNow() / OT_US_PER… in otPlatAlarmMilliGetNow()
343 void otPlatAlarmMicroStop(otInstance *) { FakePlatform::CurrentPlatform().StopMicroAlarm(); } in otPlatAlarmMicroStop()
346 FakePlatform::CurrentPlatform().StartMicroAlarm(aT0, aDt); in otPlatAlarmMicroStartAt()
350 uint64_t otPlatTimeGet(void) { return FakePlatform::CurrentPlatform().GetNow(); } in otPlatTimeGet()
357 uint64_t eui64 = FakePlatform::CurrentPlatform().GetEui64(); in otPlatRadioGetIeeeEui64()
379 otError otPlatRadioReceive(otInstance *, uint8_t aChannel) { return FakePlatform::CurrentPlatform()… in otPlatRadioReceive()
383 return FakePlatform::CurrentPlatform().ReceiveAt(aChannel, aStart, aDuration); in otPlatRadioReceiveAt()
388 return FakePlatform::CurrentPlatform().Transmit(aFrame); in otPlatRadioTransmit()
[all …]
Dfake_coprocessor_platform.cpp65 while (!mReceived && (aTimeoutUs = FakePlatform::CurrentPlatform().Run(aTimeoutUs))) in WaitForFrame()
92 int rval = static_cast<FakeCoprocessorPlatform &>(FakePlatform::CurrentPlatform()) in FakeCoprocessorPlatform()
Dfake_platform.hpp54 static FakePlatform &CurrentPlatform() { return *sPlatform; } in CurrentPlatform() function in ot::FakePlatform
55 static otInstance *CurrentInstance() { return CurrentPlatform().mInstance; } in CurrentInstance()