Home
last modified time | relevance | path

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

/openthread-latest/tests/gtest/
Ddataset_test.cpp73 …otError error = otSetStateChangedCallback(FakePlatform::CurrentInstance(), MockStateCallback::Call… in TEST()
80 error = otDatasetCreateNewNetwork(FakePlatform::CurrentInstance(), &dataset); in TEST()
84 error = otDatasetSetActiveTlvs(FakePlatform::CurrentInstance(), &datasetTlvs); in TEST()
Dradio_spinel_rcp_test.cpp91 ASSERT_EQ(platform.mRadioSpinel.Enable(FakePlatform::CurrentInstance()), kErrorNone); in TEST()
130 ASSERT_EQ(platform.mRadioSpinel.Enable(FakePlatform::CurrentInstance()), kErrorNone); in TEST()
186 ASSERT_EQ(platform.mRadioSpinel.Enable(FakePlatform::CurrentInstance()), kErrorNone); in TEST()
243 ASSERT_EQ(platform.mRadioSpinel.Enable(FakePlatform::CurrentInstance()), kErrorNone); in TEST()
282 ASSERT_EQ(platform.mRadioSpinel.Enable(FakePlatform::CurrentInstance()), kErrorNone); in TEST()
307 ASSERT_EQ(platform.mRadioSpinel.Enable(FakePlatform::CurrentInstance()), kErrorNone); in TEST()
369 ASSERT_EQ(platform.mRadioSpinel.Enable(FakePlatform::CurrentInstance()), kErrorNone); in TEST()
Dfake_platform.hpp55 static otInstance *CurrentInstance() { return CurrentPlatform().mInstance; } in CurrentInstance() function in ot::FakePlatform