Home
last modified time | relevance | path

Searched refs:IgnoreError (Results 1 – 25 of 131) sorted by relevance

123456

/openthread-latest/src/core/thread/
Dthread_netif.cpp53 IgnoreError(Get<Utils::ChannelMonitor>().Start()); in Up()
60 IgnoreError(Get<Mle::MleRouter>().Enable()); in Up()
61 IgnoreError(Get<Tmf::Agent>().Start()); in Up()
63 IgnoreError(Get<Dns::ServiceDiscovery::Server>().Start()); in Up()
66 IgnoreError(Get<Dns::Client>().Start()); in Up()
69 IgnoreError(Get<Sntp::Client>().Start()); in Up()
85 IgnoreError(Get<Sntp::Client>().Stop()); in Down()
90 IgnoreError(Get<Tmf::Agent>().Stop()); in Down()
91 IgnoreError(Get<Mle::MleRouter>().Disable()); in Down()
100 IgnoreError(Get<Utils::ChannelMonitor>().Stop()); in Down()
Dchild_supervision.cpp56 IgnoreError(aMessage.Read(0, childIndex)); in GetDestination()
163 IgnoreError(Get<Mle::Mle>().SendChildUpdateRequestToParent()); in SetInterval()
213 IgnoreError(Get<Mle::Mle>().SendChildUpdateRequestToParent()); in HandleTimer()
Dmle.cpp205 IgnoreError(SendChildUpdateRequestToParent()); in Start()
216 IgnoreError(Get<MeshCoP::ActiveDatasetManager>().Restore()); in Stop()
217 IgnoreError(Get<MeshCoP::PendingDatasetManager>().Restore()); in Stop()
371 IgnoreError(Get<MeshCoP::ActiveDatasetManager>().Restore()); in Restore()
372 IgnoreError(Get<MeshCoP::PendingDatasetManager>().Restore()); in Restore()
542 IgnoreError(Get<MeshCoP::PendingDatasetManager>().Restore()); in BecomeDetached()
813 IgnoreError(SendChildUpdateRequestToParent()); in SetTimeout()
843 IgnoreError(Store()); in SetDeviceMode()
877 IgnoreError(BecomeDetached()); in SetDeviceMode()
891 IgnoreError(SendChildUpdateRequestToParent()); in SetDeviceMode()
[all …]
/openthread-latest/tests/unit/
Dtest_netif.cpp108 IgnoreError(addresses[0].FromString(kLinkLocalAllRouters)); in TestNetifMulticastAddresses()
109 IgnoreError(addresses[1].FromString(kRealmLocalAllRouters)); in TestNetifMulticastAddresses()
110 IgnoreError(addresses[2].FromString(kLinkLocalAllNodes)); in TestNetifMulticastAddresses()
111 IgnoreError(addresses[3].FromString(kRealmLocalAllNodes)); in TestNetifMulticastAddresses()
112 IgnoreError(addresses[4].FromString(kRealmLocalAllMpl)); in TestNetifMulticastAddresses()
113 IgnoreError(addresses[5].FromString(kTestAddress1)); in TestNetifMulticastAddresses()
114 IgnoreError(addresses[6].FromString(kTestAddress2)); in TestNetifMulticastAddresses()
115 IgnoreError(addresses[7].FromString(kTestAddress3)); in TestNetifMulticastAddresses()
137 IgnoreError(netifAddress.GetAddress().FromString(kTestAddress1)); in TestNetifMulticastAddresses()
150 IgnoreError(address.FromString(kTestAddress2)); in TestNetifMulticastAddresses()
[all …]
Dtest_link_quality.cpp171 IgnoreError(rssAverager.Add(rss)); in TestRssAveraging()
198 IgnoreError(rssAverager.Add(rss)); in TestRssAveraging()
224 IgnoreError(rssAverager.Add(rss)); in TestRssAveraging()
225 IgnoreError(rssAverager.Add(rss2)); in TestRssAveraging()
254 IgnoreError(rssAverager.Add(rss)); in TestRssAveraging()
257 IgnoreError(rssAverager.Add(rss2)); in TestRssAveraging()
288 IgnoreError(rssAverager.Add(rss)); in TestRssAveraging()
289 IgnoreError(rssAverager.Add(rss2)); in TestRssAveraging()
321 IgnoreError(rssAverager.Add(rss)); in TestRssAveraging()
Dtest_lowpan.hpp125 IgnoreError(mIpHeader.GetSource().FromString(aSource)); in SetIpHeader()
126 IgnoreError(mIpHeader.GetDestination().FromString(aDestination)); in SetIpHeader()
150 IgnoreError(mIpTunneledHeader.GetSource().FromString(aSource)); in SetIpTunneledHeader()
151 IgnoreError(mIpTunneledHeader.GetDestination().FromString(aDestination)); in SetIpTunneledHeader()
/openthread-latest/src/core/net/
Ddnssd.cpp127 IgnoreError(Get<Dns::Multicast::Core>().RegisterService(aService, aRequestId, aCallback)); in RegisterService()
149 IgnoreError(Get<Dns::Multicast::Core>().UnregisterService(aService)); in UnregisterService()
173 IgnoreError(Get<Dns::Multicast::Core>().RegisterHost(aHost, aRequestId, aCallback)); in RegisterHost()
195 IgnoreError(Get<Dns::Multicast::Core>().UnregisterHost(aHost)); in UnregisterHost()
219 IgnoreError(Get<Dns::Multicast::Core>().RegisterKey(aKey, aRequestId, aCallback)); in RegisterKey()
241 IgnoreError(Get<Dns::Multicast::Core>().UnregisterKey(aKey)); in UnregisterKey()
265 IgnoreError(Get<Dns::Multicast::Core>().StartBrowser(aBrowser)); in StartBrowser()
287 IgnoreError(Get<Dns::Multicast::Core>().StopBrowser(aBrowser)); in StopBrowser()
309 IgnoreError(Get<Dns::Multicast::Core>().StartSrvResolver(aResolver)); in StartSrvResolver()
331 IgnoreError(Get<Dns::Multicast::Core>().StopSrvResolver(aResolver)); in StopSrvResolver()
[all …]
Ddns_client.cpp55 IgnoreError(GetServerSockAddr().GetAddress().FromString(kDefaultServerAddressString)); in QueryConfig()
386 IgnoreError(aMessage.Read(offset, header)); in PopulateFrom()
391 IgnoreError(Name::ParseName(aMessage, offset)); in PopulateFrom()
396 IgnoreError(ResourceRecord::ParseRecords(aMessage, offset, header.GetAnswerCount())); in PopulateFrom()
397 IgnoreError(ResourceRecord::ParseRecords(aMessage, offset, header.GetAuthorityRecordCount())); in PopulateFrom()
399 IgnoreError(ResourceRecord::ParseRecords(aMessage, offset, header.GetAdditionalRecordCount())); in PopulateFrom()
604 IgnoreError(response->FindHostAddress(kAnswerSection, name, /* aIndex */ 0, in GetServiceInfo()
783 IgnoreError(mSocket.Close()); in Stop()
787 IgnoreError(mEndpoint.Deinitialize()); in Stop()
1018 IgnoreError(SendQuery(*secondQuery, aInfo, /* aUpdateTimer */ true)); in StartQuery()
[all …]
/openthread-latest/src/core/meshcop/
Ddataset_manager_ftd.cpp154 IgnoreError(Get<ActiveDatasetManager>().Read(aInfo.mDataset)); in ProcessSetOrReplaceRequest()
184 IgnoreError(aInfo.mDataset.Write<DelayTimerTlv>(delayTimer)); in ProcessSetOrReplaceRequest()
268 IgnoreError(Read(dataset)); in GenerateLocal()
275 IgnoreError(dataset.Write<ActiveTimestampTlv>(timestamp)); in GenerateLocal()
283 IgnoreError(dataset.Write<ChannelTlv>(channelValue)); in GenerateLocal()
291 IgnoreError(dataset.Write<WakeupChannelTlv>(channelValue)); in GenerateLocal()
299 IgnoreError(dataset.WriteTlv(Tlv::kChannelMask, value.mData, value.mLength)); in GenerateLocal()
304 IgnoreError(dataset.Write<ExtendedPanIdTlv>(Get<ExtendedPanIdManager>().GetExtPanId())); in GenerateLocal()
309 IgnoreError(dataset.Write<MeshLocalPrefixTlv>(Get<Mle::MleRouter>().GetMeshLocalPrefix())); in GenerateLocal()
317 IgnoreError(dataset.Write<NetworkKeyTlv>(networkKey)); in GenerateLocal()
[all …]
Djoiner_router.cpp72 IgnoreError(mSocket.Open(Ip6::kNetifThreadInternal)); in Start()
73 IgnoreError(mSocket.Bind(port)); in Start()
74 IgnoreError(Get<Ip6::Filter>().AddUnsecurePort(port)); in Start()
81 IgnoreError(Get<Ip6::Filter>().RemoveUnsecurePort(mSocket.GetSockName().mPort)); in Start()
83 IgnoreError(mSocket.Close()); in Start()
263IgnoreError(Get<Tmf::Agent>().AbortTransaction(&JoinerRouter::HandleJoinerEntrustResponse, this)); in SendJoinerEntrust()
Dnetwork_name.cpp47 IgnoreError(destData.CopyBytesFrom(*this)); in CopyTo()
109 IgnoreError(SetNetworkName(NetworkName::kNetworkNameInit)); in NetworkNameManager()
112 IgnoreError(SetDomainName(NetworkName::kDomainNameInit)); in NetworkNameManager()
/openthread-latest/src/core/mac/
Dsub_mac_csl_receiver.cpp91 VerifyOrExit(!mRadioFilterEnabled, IgnoreError(Get<Radio>().Sleep())); in CslSample()
98 IgnoreError(Get<Radio>().Receive(mCslChannel)); in CslSample()
103 IgnoreError(Get<Radio>().Sleep()); // Don't actually sleep for debugging in CslSample()
123 IgnoreError(Get<Radio>().EnableCsl(aPeriod, aShortAddr, aExtAddr)); in UpdateCsl()
187 IgnoreError(Get<Radio>().Sleep()); // Don't actually sleep for debugging in HandleCslTimer()
216 IgnoreError(Get<Radio>().ReceiveAt(mCslChannel, winStart, winDuration)); in HandleCslTimer()
220 IgnoreError(Get<Radio>().Receive(mCslChannel)); in HandleCslTimer()
267 IgnoreError(aFrame->GetDstAddr(dst)); in LogReceived()
Dmac.cpp247 IgnoreError(aBeaconFrame->GetDstPanId(aResult.mPanId)); in ConvertBeaconToActiveScanResult()
265 IgnoreError(AsCoreType(&aResult.mNetworkName).Set(beaconPayload->GetNetworkName())); in ConvertBeaconToActiveScanResult()
477IgnoreError(Get<Notifier>().Update(mSupportedChannelMask, newMask, kEventSupportedChannelMaskChang… in SetSupportedChannelMask()
879 IgnoreError(aFrame.GetKeyIdMode(keyIdMode)); in ProcessTransmitSecurity()
1202 IgnoreError(aFrame.GetDstAddr(dstAddr)); in RecordFrameTransmitStatus()
1304 IgnoreError(aFrame.GetDstAddr(dstAddr)); in HandleTransmitDone()
1581 IgnoreError(aFrame.GetSecurityLevel(securityLevel)); in ProcessReceiveSecurity()
1584 IgnoreError(aFrame.GetFrameCounter(frameCounter)); in ProcessReceiveSecurity()
1587 IgnoreError(aFrame.GetKeyIdMode(keyIdMode)); in ProcessReceiveSecurity()
1599 IgnoreError(aFrame.GetKeyId(keyid)); in ProcessReceiveSecurity()
[all …]
Dmac_links.hpp429 IgnoreError(mSubMac.Enable()); in Enable()
442 IgnoreError(mSubMac.Disable()); in Disable()
455 IgnoreError(mSubMac.Sleep()); in Sleep()
534 IgnoreError(mSubMac.Receive(aChannel)); in Receive()
Ddata_poll_sender.cpp202 IgnoreError(aFrame.GetDstAddr(macDest)); in HandlePollSent()
209 IgnoreError(Get<Mle::MleRouter>().BecomeDetached()); in HandlePollSent()
299 IgnoreError(SendDataPoll()); in HandlePollTimeout()
318 IgnoreError(SendDataPoll()); in ProcessRxFrame()
358 IgnoreError(SendDataPoll()); in ProcessTxDone()
Dmac_frame.cpp187 IgnoreError(builder.AppendLittleEndianUint16(fcf)); in PrepareHeadersIn()
196 IgnoreError(builder.AppendLittleEndianUint16(mPanIds.GetDestination())); in PrepareHeadersIn()
199 IgnoreError(builder.AppendMacAddress(mAddrs.mDestination)); in PrepareHeadersIn()
203 IgnoreError(builder.AppendLittleEndianUint16(mPanIds.GetSource())); in PrepareHeadersIn()
206 IgnoreError(builder.AppendMacAddress(mAddrs.mSource)); in PrepareHeadersIn()
214 IgnoreError(builder.AppendUint8(secCtl)); in PrepareHeadersIn()
248 IgnoreError(builder.AppendUint8(mCommandId)); in PrepareHeadersIn()
1489 IgnoreError(builder.AppendLittleEndianUint16(fcf)); in GenerateWakeupFrame()
1490 IgnoreError(builder.AppendLittleEndianUint16(aPanId)); in GenerateWakeupFrame()
1491 IgnoreError(builder.AppendMacAddress(aDest)); in GenerateWakeupFrame()
[all …]
/openthread-latest/tests/fuzz/
Dncp_hdlc_received.cpp82 IgnoreError(otLinkSetPanId(instance, panId)); in LLVMFuzzerTestOneInput()
83 IgnoreError(otIp6SetEnabled(instance, true)); in LLVMFuzzerTestOneInput()
84 IgnoreError(otThreadSetEnabled(instance, true)); in LLVMFuzzerTestOneInput()
86 IgnoreError(otThreadBecomeLeader(instance)); in LLVMFuzzerTestOneInput()
Dradio_receive_done.cpp73 IgnoreError(otLinkSetPanId(instance, panId)); in LLVMFuzzerTestOneInput()
74 IgnoreError(otIp6SetEnabled(instance, true)); in LLVMFuzzerTestOneInput()
75 IgnoreError(otThreadSetEnabled(instance, true)); in LLVMFuzzerTestOneInput()
76 IgnoreError(otThreadBecomeLeader(instance)); in LLVMFuzzerTestOneInput()
Dcli_received.cpp84 IgnoreError(otLinkSetPanId(instance, panId)); in LLVMFuzzerTestOneInput()
85 IgnoreError(otIp6SetEnabled(instance, true)); in LLVMFuzzerTestOneInput()
86 IgnoreError(otThreadSetEnabled(instance, true)); in LLVMFuzzerTestOneInput()
87 IgnoreError(otThreadBecomeLeader(instance)); in LLVMFuzzerTestOneInput()
Dip6_send.cpp74 IgnoreError(otLinkSetPanId(instance, panId)); in LLVMFuzzerTestOneInput()
75 IgnoreError(otIp6SetEnabled(instance, true)); in LLVMFuzzerTestOneInput()
76 IgnoreError(otThreadSetEnabled(instance, true)); in LLVMFuzzerTestOneInput()
78 IgnoreError(otThreadBecomeLeader(instance)); in LLVMFuzzerTestOneInput()
/openthread-latest/examples/apps/ncp/
Dncp.c49 IgnoreError(otPlatUartSend(aBuf, aBufLength)); in NcpSend()
59 IgnoreError(otPlatUartEnable()); in otAppNcpInit()
71 IgnoreError(otPlatUartEnable()); in otAppNcpInitMulti()
/openthread-latest/src/ncp/
Dncp_spi.cpp108IgnoreError(otPlatSpiSlaveEnable(&NcpSpi::SpiTransactionComplete, &NcpSpi::SpiTransactionProcess, … in NcpSpi()
114IgnoreError(otPlatSpiSlavePrepareTransaction(mEmptySendFrameZeroAccept, kSpiHeaderSize, mEmptyRece… in NcpSpi()
223 IgnoreError( in SpiTransactionComplete()
309 IgnoreError(mTxFrameBuffer.OutFrameRemove()); in PrepareNextSpiSendFrame()
374IgnoreError(otPlatSpiSlavePrepareTransaction(mEmptySendFrameFullAccept, kSpiHeaderSize, mReceiveFr… in HandleRxFrame()
/openthread-latest/src/lib/spinel/
Dmulti_frame_buffer.hpp197 IgnoreError(SetSkipLength(0)); in Clear()
307 IgnoreError(SetSkipLength(0)); in SaveFrame()
319 IgnoreError(SetSkipLength(0)); in DiscardFrame()
442 static void IgnoreError(otError aError) { (void)(aError); } in IgnoreError() function in ot::Spinel::MultiFrameBuffer
/openthread-latest/src/core/api/
Dcoap_api.cpp70 IgnoreError(AsCoapMessage(aMessage).GenerateRandomToken(aTokenLength)); in otCoapMessageGenerateToken()
164 IgnoreError(iterator.Init(iterator.GetMessage(), aOption)); in otCoapOptionIteratorGetFirstOptionMatching()
172 IgnoreError(iterator.Init(iterator.GetMessage())); in otCoapOptionIteratorGetFirstOption()
180 IgnoreError(iterator.Advance(aOption)); in otCoapOptionIteratorGetNextOptionMatching()
188 IgnoreError(iterator.Advance()); in otCoapOptionIteratorGetNextOption()
/openthread-latest/examples/apps/cli/
Dcli_uart.cpp155 IgnoreError(ProcessCommand()); in ReceiveTask()
226 IgnoreError(otPlatUartSend(reinterpret_cast<uint8_t *>(sTxBuffer + sTxHead), sSendLength)); in Send()
378 IgnoreError(otPlatUartEnable()); in otAppCliInit()

123456