Home
last modified time | relevance | path

Searched refs:otThreadGetDeviceRole (Results 1 – 19 of 19) sorted by relevance

/external/ot-br-posix/src/android/
Dotdaemon_server.cpp359 …settings.mLinkSecurityEnabled = (otThreadGetDeviceRole(GetOtInstance()) != OT_DEVICE_ROLE_DISABLED… in TransmitCallback()
997 if (otThreadGetDeviceRole(GetOtInstance()) != OT_DEVICE_ROLE_DISABLED) in LeaveGracefully()
1002 assert(otThreadGetDeviceRole(GetOtInstance()) == OT_DEVICE_ROLE_DISABLED); in LeaveGracefully()
1085 otDeviceRole role = otThreadGetDeviceRole(GetOtInstance()); in isAttached()
Dotdaemon_telemetry.cpp289 otDeviceRole role = otThreadGetDeviceRole(otInstance); in RetrieveTelemetryAtom()
/external/ot-br-posix/src/host/
Drcp_host.cpp79 return otThreadGetDeviceRole(mInstance); in GetDeviceRole()
624 otThreadGetDeviceRole(mInstance) == OT_DEVICE_ROLE_DISABLED) in SetThreadEnabled()
/external/openthread/tests/unit/
Dtest_srp_server.cpp221 VerifyOrQuit(otThreadGetDeviceRole(sInstance) == OT_DEVICE_ROLE_LEADER); in InitTest()
1313 while (otThreadGetDeviceRole(sInstance) == OT_DEVICE_ROLE_DETACHED) in TestSrpServerFastStartMode()
1318 VerifyOrQuit(otThreadGetDeviceRole(sInstance) == OT_DEVICE_ROLE_LEADER); in TestSrpServerFastStartMode()
Dtest_dns_client.cpp223 VerifyOrQuit(otThreadGetDeviceRole(sInstance) == OT_DEVICE_ROLE_LEADER); in InitTest()
Dtest_srp_adv_proxy.cpp555 VerifyOrQuit(otThreadGetDeviceRole(sInstance) == OT_DEVICE_ROLE_LEADER); in InitTest()
Dtest_dnssd_discovery_proxy.cpp228 VerifyOrQuit(otThreadGetDeviceRole(sInstance) == OT_DEVICE_ROLE_LEADER); in InitTest()
Dtest_routing_manager.cpp1209 VerifyOrQuit(otThreadGetDeviceRole(sInstance) == OT_DEVICE_ROLE_LEADER); in InitTest()
/external/openthread/include/openthread/
Dthread.h752 otDeviceRole otThreadGetDeviceRole(otInstance *aInstance);
/external/openthread/src/core/api/
Dlink_raw_api.cpp231 otDeviceRole otThreadGetDeviceRole(otInstance *aInstance) in otThreadGetDeviceRole() function
Dthread_api.cpp312 otDeviceRole otThreadGetDeviceRole(otInstance *aInstance) in otThreadGetDeviceRole() function
/external/ot-br-posix/src/rest/
Dresource.cpp250 node.mRole = GetDeviceRoleName(otThreadGetDeviceRole(mInstance)); in GetNodeInfo()
384 role = otThreadGetDeviceRole(mInstance); in GetDataState()
713 …VerifyOrExit(otThreadGetDeviceRole(mInstance) == OT_DEVICE_ROLE_DISABLED, error = OTBR_ERROR_INVAL… in SetDataset()
/external/ot-br-posix/src/border_agent/
Dborder_agent.cpp441 switch (otThreadGetDeviceRole(&aInstance)) in GetStateBitmap()
/external/openthread/src/ncp/
Dncp_base_mtd.cpp505 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()
Dncp_base.cpp2247 if (otThreadGetDeviceRole(mInstance) != OT_DEVICE_ROLE_DISABLED) in HandlePropertySet()
/external/ot-br-posix/src/openwrt/ubus/
Dotubus.cpp1623 switch (otThreadGetDeviceRole(aInstance)) in GetState()
/external/openthread/src/posix/platform/
Dnetif.cpp1236 … settings.mLinkSecurityEnabled = (otThreadGetDeviceRole(aInstance) != OT_DEVICE_ROLE_DISABLED); in processTransmit()
/external/ot-br-posix/src/dbus/server/
Ddbus_thread_object_rcp.cpp701 otDeviceRole role = otThreadGetDeviceRole(threadHelper->GetInstance()); in GetDeviceRoleHandler()
/external/openthread/src/cli/
Dcli.cpp6448 OutputLine("%s", otThreadDeviceRoleToString(otThreadGetDeviceRole(GetInstancePtr()))); in Process()