Searched refs:CurrentInstance (Results 1 – 3 of 3) sorted by relevance
/openthread-latest/tests/gtest/ |
D | dataset_test.cpp | 73 …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()
|
D | radio_spinel_rcp_test.cpp | 91 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()
|
D | fake_platform.hpp | 55 static otInstance *CurrentInstance() { return CurrentPlatform().mInstance; } in CurrentInstance() function in ot::FakePlatform
|