Searched refs:otThreadGetDeviceRole (Results 1 – 12 of 12) sorted by relevance
231 otDeviceRole otThreadGetDeviceRole(otInstance *aInstance) in otThreadGetDeviceRole() function
312 otDeviceRole otThreadGetDeviceRole(otInstance *aInstance) in otThreadGetDeviceRole() function
752 otDeviceRole otThreadGetDeviceRole(otInstance *aInstance);
505 return mEncoder.WriteBool(otThreadGetDeviceRole(mInstance) != OT_DEVICE_ROLE_DISABLED); in HandlePropertyGet()516 if (enabled != (otThreadGetDeviceRole(mInstance) != OT_DEVICE_ROLE_DISABLED)) in HandlePropertySet()536 switch (otThreadGetDeviceRole(mInstance)) in HandlePropertyGet()4722 switch (otThreadGetDeviceRole(mInstance)) in ProcessThreadChangedFlags()4734 … if ((otThreadGetDeviceRole(mInstance) == OT_DEVICE_ROLE_LEADER) && otThreadIsSingleton(mInstance)) in ProcessThreadChangedFlags()
2243 if (otThreadGetDeviceRole(mInstance) != OT_DEVICE_ROLE_DISABLED) in HandlePropertySet()
219 VerifyOrQuit(otThreadGetDeviceRole(sInstance) == OT_DEVICE_ROLE_LEADER); in InitTest()
223 VerifyOrQuit(otThreadGetDeviceRole(sInstance) == OT_DEVICE_ROLE_LEADER); in InitTest()
555 VerifyOrQuit(otThreadGetDeviceRole(sInstance) == OT_DEVICE_ROLE_LEADER); in InitTest()
228 VerifyOrQuit(otThreadGetDeviceRole(sInstance) == OT_DEVICE_ROLE_LEADER); in InitTest()
1209 VerifyOrQuit(otThreadGetDeviceRole(sInstance) == OT_DEVICE_ROLE_LEADER); in InitTest()
1236 … settings.mLinkSecurityEnabled = (otThreadGetDeviceRole(aInstance) != OT_DEVICE_ROLE_DISABLED); in processTransmit()
6399 OutputLine("%s", otThreadDeviceRoleToString(otThreadGetDeviceRole(GetInstancePtr()))); in Process()