Searched refs:aRole (Results 1 – 9 of 9) sorted by relevance
155 const char *RoleToString(DeviceRole aRole) in RoleToString() argument171 return (aRole < GetArrayLength(kRoleStrings)) ? kRoleStrings[aRole] : "invalid"; in RoleToString()
630 void SetStateRouterOrLeader(DeviceRole aRole, uint16_t aRloc16, LeaderStartMode aStartMode);
1466 void SetRole(DeviceRole aRole);2063 void UpdateRoleTimeCounters(DeviceRole aRole);
754 const char *RoleToString(DeviceRole aRole);
383 void MleRouter::SetStateRouterOrLeader(DeviceRole aRole, uint16_t aRloc16, LeaderStartMode aStartMo… in SetStateRouterOrLeader() argument385 if (aRole == kRoleLeader) in SetStateRouterOrLeader()393 SetRole(aRole); in SetStateRouterOrLeader()406 if (aRole == kRoleLeader) in SetStateRouterOrLeader()
272 void Mle::UpdateRoleTimeCounters(DeviceRole aRole) in UpdateRoleTimeCounters() argument281 switch (aRole) in UpdateRoleTimeCounters()302 void Mle::SetRole(DeviceRole aRole) in SetRole() argument306 SuccessOrExit(Get<Notifier>().Update(mRole, aRole, kEventThreadRoleChanged)); in SetRole()
169 void SetRole(uint8_t aRole) { mRole = aRole; } in SetRole() argument
310 const char *otThreadDeviceRoleToString(otDeviceRole aRole) { return Mle::RoleToString(MapEnum(aRole… in otThreadDeviceRoleToString() argument
791 const char *otThreadDeviceRoleToString(otDeviceRole aRole);