Home
last modified time | relevance | path

Searched refs:Log (Results 1 – 25 of 34) sorted by relevance

12

/openthread-latest/tests/unit/
Dtest_srp_adv_proxy.cpp58 #define Log(...) … macro
154 Log("otPlatDnssdRegisterService(aRequestId: %lu)", ToUlong(aRequestId)); in otPlatDnssdRegisterService()
155 Log(" hostName : %s", aService->mHostName); in otPlatDnssdRegisterService()
156 Log(" serviceInstance: %s", aService->mServiceInstance); in otPlatDnssdRegisterService()
157 Log(" serviceType : %s", aService->mServiceType); in otPlatDnssdRegisterService()
158 Log(" num sub-types : %u", aService->mSubTypeLabelsLength); in otPlatDnssdRegisterService()
162 Log(" sub-type %-4u : %s", index, aService->mSubTypeLabels[index]); in otPlatDnssdRegisterService()
165 Log(" TXT data len : %u", aService->mTxtDataLength); in otPlatDnssdRegisterService()
166 Log(" port : %u", aService->mPort); in otPlatDnssdRegisterService()
167 Log(" priority : %u", aService->mPriority); in otPlatDnssdRegisterService()
[all …]
Dtest_dso.cpp53 #define Log(...) … macro
64 Log(" otPlatAlarmMilliStartAt(time:%u.%03u, dt:%u.%03u)", sAlarmTime / 1000, sAlarmTime % 1000, in otPlatAlarmMilliStartAt()
76 Log(" AdvanceTime for %u.%03u", aDuration / 1000, aDuration % 1000); in AdvanceTime()
220 Log(" ProcessRequestMessage(primaryTlv:0x%04x) on %s", aPrimaryTlvType, mName); in ProcessRequestMessage()
233 Log(" ProcessUnidirectionalMessage(primaryTlv:0x%04x) on %s", aPrimaryTlvType, mName); in ProcessUnidirectionalMessage()
253Log(" ProcessResponseMessage(responseTlv:0x%04x) on %s (response-Code:%u) ", aResponseTlvType, mNa… in ProcessResponseMessage()
372 Log(" otPlatDsoEnableListening(%s)", aEnable ? "true" : "false"); in otPlatDsoEnableListening()
382 Log(" otPlatDsoConnect(%s, aPeer:0x%04x)", conn.GetName(), peerSockAddr.GetPort()); in otPlatDsoConnect()
389 Log(" Server is not listening"); in otPlatDsoConnect()
397 Log(" Request rejected"); in otPlatDsoConnect()
[all …]
Dtest_dns_client.cpp61 #define Log(...) … macro
179 Log("AdvanceTime for %u.%03u", aDuration / 1000, aDuration % 1000); in AdvanceTime()
308 Log("ValidateHost()"); in ValidateHost()
314 Log("Hostname: %s", name); in ValidateHost()
327 Log(" TTL: %u", aInfo.mTtl); in LogServiceInfo()
328 Log(" Port: %u", aInfo.mPort); in LogServiceInfo()
329 Log(" Weight: %u", aInfo.mWeight); in LogServiceInfo()
330 Log(" HostName: %s", aInfo.mHostNameBuffer); in LogServiceInfo()
331 Log(" HostAddr: %s", AsCoreType(&aInfo.mHostAddress).ToString().AsCString()); in LogServiceInfo()
332 Log(" TxtDataLength: %u", aInfo.mTxtDataSize); in LogServiceInfo()
[all …]
Dtest_dnssd_discovery_proxy.cpp62 #define Log(...) … macro
180 Log("AdvanceTime for %u.%03u", aDuration / 1000, aDuration % 1000); in AdvanceTime()
247 Log(" TTL: %u", aInfo.mTtl); in LogServiceInfo()
248 Log(" Port: %u", aInfo.mPort); in LogServiceInfo()
249 Log(" Weight: %u", aInfo.mWeight); in LogServiceInfo()
250 Log(" HostName: %s", aInfo.mHostNameBuffer); in LogServiceInfo()
251 Log(" HostAddr: %s", AsCoreType(&aInfo.mHostAddress).ToString().AsCString()); in LogServiceInfo()
252 Log(" TxtDataLength: %u", aInfo.mTxtDataSize); in LogServiceInfo()
253 Log(" TxtDataTTL: %u", aInfo.mTxtDataTtl); in LogServiceInfo()
299 Log("BrowseCallback"); in BrowseCallback()
[all …]
Dtest_mdns.cpp55 #define Log(...) … macro
59 #define Log(...)
181Log(" %s %s %s class:%u", mName.AsCString(), RecordTypeToString(mType), mUnicastResponse ? "Q… in ParseFrom()
357 Log(" %s", logStr.AsCString()); in ParseFrom()
629 Log(" %s", aSectionName); in ParseRecords()
648 Log(" %s id:%u qt:%u t:%u rcode:%u [q:%u ans:%u auth:%u addn:%u]", in ParseFrom()
656 Log(" Question"); in ParseFrom()
956 Log("Register callback - ResuestId:%u Error:%s", aRequestId, otThreadErrorToString(aError)); in HandleCallback()
1004 Log("Conflict callback - %s %s", aName, (aServiceType == nullptr) ? "" : aServiceType); in HandleConflict()
1126 Log("Sending query for %s %s", aName, RecordTypeToString(aRecordType)); in SendQuery()
[all …]
Dtest_routing_manager.cpp52 #define Log(...) … macro
305Log("otPlatInfraIfSendIcmp6Nd(aDestAddr: %s, aBufferLength:%u)", AsCoreType(aDestAddress).ToString… in otPlatInfraIfSendIcmp6Nd()
319 Log(" Router Solicit message"); in otPlatInfraIfSendIcmp6Nd()
324 Log(" Router Advertisement message"); in otPlatInfraIfSendIcmp6Nd()
338 Log(" Neighbor Solicit message"); in otPlatInfraIfSendIcmp6Nd()
417 Log("AdvanceTime for %u.%03u", aDuration / 1000, aDuration % 1000); in AdvanceTime()
581 Log(" RA header - M:%u, O:%u, S:%u", raMsg.GetHeader().IsManagedAddressConfigFlagSet(), in LogRouterAdvert()
583 Log(" RA header - lifetime %u, prf:%s", raMsg.GetHeader().GetRouterLifetime(), in LogRouterAdvert()
597 Log(" PIO - %s, flags:%s%s, valid:%u, preferred:%u", prefix.ToString().AsCString(), in LogRouterAdvert()
610 Log(" RIO - %s, prf:%s, lifetime:%u", prefix.ToString().AsCString(), in LogRouterAdvert()
[all …]
Dtest_srp_server.cpp57 #define Log(...) … macro
175 Log("AdvanceTime for %u.%03u", aDuration / 1000, aDuration % 1000); in AdvanceTime()
249 Log("HandleSrpServerUpdate() called with %u, timeout:%u", aId, aTimeout); in HandleSrpServerUpdate()
280 Log("HandleSrpClientCallback() called with error %s", ErrorToString(aError)); in HandleSrpClientCallback()
351 Log("ValidateHost()"); in ValidateHost()
357 Log("Hostname: %s", name); in ValidateHost()
376Log("--------------------------------------------------------------------------------------------"… in TestSrpServerBase()
377 Log("TestSrpServerBase"); in TestSrpServerBase()
475 Log("Disabling SRP server"); in TestSrpServerBase()
485 Log("Finalizing OT instance"); in TestSrpServerBase()
[all …]
Dtest_tasklet.cpp38 #define Log(aMessage) fprintf(stderr, aMessage "\n\r") macro
49 Log(" otTaskletsSignalPending()"); in otTaskletsSignalPending()
75 Log(" HandleTask1()"); in HandleTask1()
83 Log(" HandleTask2()"); in HandleTask2()
91 Log(" HandleTask3()"); in HandleTask3()
104 Log("TestTasklet"); in TestTasklet()
123 Log("Posting a single task"); in TestTasklet()
144 Log("Posting multiple tasks"); in TestTasklet()
174 Log("Posting the same task multiple times"); in TestTasklet()
211 Log("Task posting itself from its handler"); in TestTasklet()
[all …]
/openthread-latest/tests/nexus/
Dtest_large_network.cpp79 Log("Starting %u nodes simultaneously", kNumNodes); in Test()
98 Log("+----------+----------+----------+----------+----------+"); in Test()
99 Log("| Leader | Router | Child | Detached | Disabled |"); in Test()
100 Log("+----------+----------+----------+----------+----------+"); in Test()
105Log("| %8u | %8u | %8u | %8u | %8u |", roleStats[Mle::kRoleLeader], roleStats[Mle::kRoleRouter], in Test()
118 Log("========================================================="); in Test()
119 Log("All nodes are now part of the same partition"); in Test()
120 Log("Network stabilized after %u sec", nexus.GetNow().GetValue() / Time::kOneSecondInMsec); in Test()
121 Log("Continue simulation for another %u sec", kExtraSimulTimAfterPass / Time::kOneSecondInMsec); in Test()
122 Log("========================================================="); in Test()
[all …]
Dtest_form_join.cpp60 Log("---------------------------------------------------------------------------------------"); in TestFormJoin()
61 Log("Form network"); in TestFormJoin()
67 Log("---------------------------------------------------------------------------------------"); in TestFormJoin()
68 Log("Join an FED"); in TestFormJoin()
74 Log("---------------------------------------------------------------------------------------"); in TestFormJoin()
75 Log("Join an SED"); in TestFormJoin()
81 Log("---------------------------------------------------------------------------------------"); in TestFormJoin()
82 Log("Join an MED"); in TestFormJoin()
88 Log("---------------------------------------------------------------------------------------"); in TestFormJoin()
89 Log("Join two routers"); in TestFormJoin()
[all …]
Dtest_border_agent.cpp48Log("---------------------------------------------------------------------------------------------… in TestBorderAgent()
49 Log("TestBorderAgent"); in TestBorderAgent()
66 Log("Check Border Agent initial state"); in TestBorderAgent()
73 Log("Establish a DTLS connection to Border Agent"); in TestBorderAgent()
91 Log("Disconnect from candidate side"); in TestBorderAgent()
101 Log("Establish a secure connection again"); in TestBorderAgent()
113 Log("Send `Commissioner Petition` TMF command to become full commissioner"); in TestBorderAgent()
125 Log("Send `Commissioner Keep Alive` and check timeout behavior"); in TestBorderAgent()
138 Log(" Wait for 49 seconds (TIMEOUT_LEAD_PET is 50 seconds) and check BA state"); in TestBorderAgent()
145Log(" Wait for additional 5 seconds (ensuring TIMEOUT_LEAD_PET and session disconnect guard time… in TestBorderAgent()
[all …]
Dtest_dtls.cpp86 Log(" node%u: HandleReceive(aLength:%u)", node->GetId(), aLength); in HandleReceive()
104 Log(" node%u: HandleConnectEvent(%s)", node->GetId(), ConnectEventToString(aEvent)); in HandleConnectEvent()
115 Log(" node%u: HandleAutoClose()", node->GetId()); in HandleAutoClose()
160Log(" node%u: HandleAccept(), %s", mNode.GetId(), (session != nullptr) ? "accepted" : "rejected"… in HandleAccept()
202 Log(" node%u: HandleAccept()", transport->mNode.GetId()); in HandleAccept()
220 Log(" node%u: HandleRemoveSession()", transport->mNode.GetId()); in HandleRemoveSession()
239Log("---------------------------------------------------------------------------------------------… in TestDtlsSingleSession()
240 Log("TestDtlsSingleSession"); in TestDtlsSingleSession()
267 Log("Start DTLS (server) on node0 bound to port %u", kUdpPort); in TestDtlsSingleSession()
284 Log("Try to establish a DTLS connection from node 1 using a wrong PSK multiple times"); in TestDtlsSingleSession()
[all …]
/openthread-latest/src/core/common/
Dsettings.cpp49 void SettingsBase::NetworkInfo::Log(Action aAction) const in Log() function in ot::SettingsBase::NetworkInfo
60 void SettingsBase::ParentInfo::Log(Action aAction) const in Log() function in ot::SettingsBase::ParentInfo
67 void SettingsBase::ChildInfo::Log(Action aAction) const in Log() function in ot::SettingsBase::ChildInfo
75 void SettingsBase::DadInfo::Log(Action aAction) const in Log() function in ot::SettingsBase::DadInfo
89 void SettingsBase::SrpClientInfo::Log(Action aAction) const in Log() function in ot::SettingsBase::SrpClientInfo
97 void SettingsBase::SrpServerInfo::Log(Action aAction) const in Log() function in ot::SettingsBase::SrpServerInfo
104 void SettingsBase::BorderAgentId::Log(Action aAction, const MeshCoP::BorderAgent::Id &aId) in Log() function in ot::SettingsBase::BorderAgentId
237 Log(kActionSave, error, key); in SaveOperationalDataset()
262 Log(kActionDelete, error, key); in DeleteOperationalDataset()
271 Log(kActionAdd, error, kKeyChildInfo, &aChildInfo); in AddChildInfo()
[all …]
Dsettings.hpp300 void Log(Action aAction) const;
364 void Log(Action aAction) const;
462 void Log(Action aAction) const;
521 void Log(Action aAction) const;
587 void Log(const char *aActionText) const;
657 void Log(Action aAction) const;
698 void Log(Action aAction) const;
718 static void Log(Action aAction, const MeshCoP::BorderAgent::Id &aId);
1122 static void Log(Action aAction, Error aError, Key aKey, const void *aValue = nullptr);
/openthread-latest/src/core/thread/
Dradio_selector.cpp117 Log(logLevel, aIsDuplicate ? "UpdateOnDupRx" : "UpdateOnRx", aRadioType, aNeighbor); in UpdateOnReceive()
124 Log(logLevel, "NewRadio(OnRx)", aRadioType, aNeighbor); in UpdateOnReceive()
156Log(logLevel, (aTxError == kErrorNone) ? "UpdateOnTxSucc" : "UpdateOnTxErr", radioType, *neighbor); in UpdateOnSendDone()
164 Log(logLevel, "NewRadio(OnTx)", radioType, *neighbor); in UpdateOnSendDone()
184Log(logLevel, (aTxError == kErrorNone) ? "UpdateOnDefAckSucc" : "UpdateOnDefAckFail", Mac::kRadioT… in UpdateOnDeferredAck()
210 Log(logLevel, "NewRadio(OnDefAckSucc)", Mac::kRadioTypeTrel, aNeighbor); in UpdateOnDeferredAck()
293 Log(kLogLevelDebg, "SelectRadio", selectedRadio, *neighbor); in SelectRadio()
317 Log(kLogLevelDebg, "Probe", Mac::kRadioTypeTrel, *neighbor); in SelectRadio()
356 void RadioSelector::Log(LogLevel aLogLevel, in Log() function in ot::RadioSelector
386 void RadioSelector::Log(LogLevel, const char *, Mac::RadioType, const Neighbor &) {} in Log() function in ot::RadioSelector
Dmle_router.cpp595 Log(kMessageSend, kTypeAdvertisement, aDestination); in SendAdvertisement()
678 Log(kMessageSend, kTypeLinkRequest, destination); in SendLinkRequest()
693 Log(kMessageReceive, kTypeLinkRequest, aRxInfo.mMessageInfo.GetPeerAddr()); in HandleLinkRequest()
871Log(kMessageSend, (command == kCommandLinkAccept) ? kTypeLinkAccept : kTypeLinkAcceptAndRequest, d… in SendLinkAccept()
906 Log(kMessageReceive, aMessageType, aRxInfo.mMessageInfo.GetPeerAddr(), sourceAddress); in HandleLinkAcceptVariant()
1454 Log(kMessageReceive, kTypeParentRequest, aRxInfo.mMessageInfo.GetPeerAddr()); in HandleParentRequest()
1827 Log(kMessageSend, kTypeParentResponse, destination); in SendParentResponse()
2085 Log(kMessageReceive, kTypeChildIdRequest, aRxInfo.mMessageInfo.GetPeerAddr()); in HandleChildIdRequest()
2246 Log(kMessageReceive, kTypeChildUpdateRequestOfChild, aRxInfo.mMessageInfo.GetPeerAddr()); in HandleChildUpdateRequestOnParent()
2464Log(kMessageReceive, kTypeChildUpdateResponseOfUnknownChild, aRxInfo.mMessageInfo.GetPeerAddr()); in HandleChildUpdateResponseOnParent()
[all …]
Dmle.cpp1698 Log(kMessageSend, kTypeParentRequestToRouters, destination); in SendParentRequest()
1714 Log(kMessageSend, kTypeParentRequestToRouters, destination); in SendParentRequest()
1718 Log(kMessageSend, kTypeParentRequestToRoutersReeds, destination); in SendParentRequest()
1811 Log(kMessageSend, in SendChildIdRequest()
1879 Log(kMessageSend, kTypeDataRequest, aDestination); in SendDataRequest()
2039 Log(kMessageSend, kTypeChildUpdateRequestAsChild, destination); in SendChildUpdateRequestToParent()
2127 Log(kMessageSend, kTypeChildUpdateResponseAsChild, aDestination); in SendChildUpdateResponse()
2741 Log(kMessageReceive, kTypeAdvertisement, aRxInfo.mMessageInfo.GetPeerAddr(), sourceAddress); in HandleAdvertisement()
2798 Log(kMessageReceive, kTypeDataResponse, aRxInfo.mMessageInfo.GetPeerAddr()); in HandleDataResponse()
3075 Log(kMessageReceive, kTypeParentResponse, aRxInfo.mMessageInfo.GetPeerAddr(), sourceAddress); in HandleParentResponse()
[all …]
Dradio_selector.hpp193 …void Log(LogLevel aLogLevel, const char *aActionText, Mac::RadioType aType, const Neighb…
Ddiscover_scanner.cpp154 Mle::Log(Mle::kMessageSend, Mle::kTypeDiscoveryRequest, destination); in Discover()
311 Mle::Log(Mle::kMessageReceive, Mle::kTypeDiscoveryResponse, aRxInfo.mMessageInfo.GetPeerAddr()); in HandleDiscoveryResponse()
/openthread-latest/src/core/backbone_router/
Dmulticast_listeners_table.cpp75 Log(kAdd, aAddress, aExpireTime, error); in Add()
105 Log(kRemove, aAddress, TimeMilli(0), error); in Remove()
116 Log(kExpire, mListeners[0].GetAddress(), mListeners[0].GetExpireTime(), kErrorNone); in Expire()
134 void MulticastListenersTable::Log(Action aAction, in Log() function in ot::BackboneRouter::MulticastListenersTable
157 void MulticastListenersTable::Log(Action, const Ip6::Address &, TimeMilli, Error) const {} in Log() function in ot::BackboneRouter::MulticastListenersTable
Dmulticast_listeners_table.hpp210 … void Log(Action aAction, const Ip6::Address &aAddress, TimeMilli aExpireTime, Error aError) const;
/openthread-latest/tests/nexus/platform/
Dnexus_core.hpp90 void Log(const char *aFormat, ...);
Dnexus_misc.cpp129 void Log(const char *aFormat, ...) in Log() function
/openthread-latest/src/core/radio/
Dtrel_interface.cpp243 entry->Log(isNew ? "Added" : "Updated"); in HandleDiscoveredPeerInfo()
342 aEntry.Log("Removing"); in RemovePeerEntry()
432 void Interface::Peer::Log(const char *aAction) const in Log() function in ot::Trel::Interface::Peer
/openthread-latest/src/core/net/
Dsrp_server.cpp507 service.Log(action); in CommitSrpUpdate()
539 existingService->Log(Service::kRemoveButRetainName); in CommitSrpUpdate()
543 existingService->Log(Service::kKeepUnchanged); in CommitSrpUpdate()
1626 service->Log(Service::kKeyLeaseExpired); in HandleLeaseTimer()
1666 service->Log(Service::kKeyLeaseExpired); in HandleLeaseTimer()
1676 service->Log(Service::kLeaseExpired); in HandleLeaseTimer()
1925 void Server::Service::Log(Action aAction) const in Log() function in ot::Srp::Server::Service
1968 void Server::Service::Log(Action) const {} in Log() function in ot::Srp::Server::Service
2127 aService->Log(aRetainName ? Service::kRemoveButRetainName : Service::kFullyRemove); in RemoveService()

12