Home
last modified time | relevance | path

Searched refs:GetPriority (Results 1 – 24 of 24) sorted by relevance

/openthread-latest/tests/unit/
Dtest_priority_queue.cpp80 if (msgArg->GetPriority() != curPriority) in VerifyPriorityQueueContent()
82 for (curPriority--; curPriority != msgArg->GetPriority(); curPriority--) in VerifyPriorityQueueContent()
219 VerifyOrQuit(msgLow[i]->GetPriority() == Message::kPriorityLow); in TestPriorityQueue()
220 VerifyOrQuit(msgNor[i]->GetPriority() == Message::kPriorityNormal); in TestPriorityQueue()
221 VerifyOrQuit(msgHigh[i]->GetPriority() == Message::kPriorityHigh); in TestPriorityQueue()
222 VerifyOrQuit(msgNet[i]->GetPriority() == Message::kPriorityNet); in TestPriorityQueue()
Dtest_message.cpp96 VerifyOrQuit(messageCopy->GetPriority() == message->GetPriority()); in TestMessage()
Dtest_dns.cpp1381 VerifyOrQuit(srvRecord.GetPriority() == kSrvPriority); in TestHeaderAndResourceRecords()
1385 srvRecord.GetPort(), srvRecord.GetWeight(), srvRecord.GetPriority(), name); in TestHeaderAndResourceRecords()
1433 srvRecord.GetPort(), srvRecord.GetWeight(), srvRecord.GetPriority()); in TestHeaderAndResourceRecords()
1497 srvRecord.GetPort(), srvRecord.GetWeight(), srvRecord.GetPriority()); in TestHeaderAndResourceRecords()
Dtest_srp_adv_proxy.cpp192 VerifyOrQuit(service.GetPriority() == aService->mPriority); in otPlatDnssdRegisterService()
Dtest_mdns.cpp318 mData.mSrv.mPriority = srv.GetPriority(); in ParseFrom()
/openthread-latest/src/core/common/
Dmessage.cpp66 VerifyOrExit((message = static_cast<Message *>(NewBuffer(aSettings.GetPriority()))) != nullptr); in Allocate()
76 SuccessOrExit(error = message->SetPriority(aSettings.GetPriority())); in Allocate()
232 curBuffer->SetNextBuffer(GetMessagePool()->NewBuffer(GetPriority())); in ResizeMessage()
424 …VerifyOrExit((newBuffer = GetMessagePool()->NewBuffer(GetPriority())) != nullptr, error = kErrorNo… in PrependBytes()
768 Settings settings(IsLinkSecurityEnabled() ? kWithLinkSecurity : kNoLinkSecurity, GetPriority()); in Clone()
1021 priority = aMessage.GetPriority(); in Enqueue()
1050 priority = aMessage.GetPriority(); in Dequeue()
1058 if ((&aMessage == tail) || (tail->GetPriority() != priority)) in Dequeue()
Dmessage.hpp378 Priority GetPriority(void) const { return static_cast<Priority>(mPriority); } in GetPriority() function in ot::Message::Settings
622 Priority GetPriority(void) const { return static_cast<Priority>(GetMetadata().mPriority); } in GetPriority() function in ot::Message
/openthread-latest/src/core/thread/
Dmesh_forwarder_mtd.cpp69 if (message->GetPriority() < static_cast<uint8_t>(aPriority)) in EvictMessage()
Dmesh_forwarder_ftd.cpp216 if (message->GetPriority() != priority) in EvictMessage()
237 if (message->GetPriority() != priority) in EvictMessage()
788 aPriority = entry->GetPriority(); in GetFragmentPriority()
Dnetwork_diagnostic.cpp431 IgnoreError(answer->SetPriority(aRequest.GetPriority())); in SendAnswer()
530 info.mPriority = aRequest.GetPriority(); in PrepareAndSendAnswers()
803 IgnoreError(response->SetPriority(aMessage.GetPriority())); in HandleTmf()
Dmesh_forwarder.hpp446 … Message::Priority GetPriority(void) const { return static_cast<Message::Priority>(mPriority); } in GetPriority() function in ot::MeshForwarder::FwdFrameInfo
Dmesh_forwarder.cpp1803 return Message::PriorityToString(aMessage.GetPriority()); in MessagePriorityToString()
/openthread-latest/src/core/api/
Dsrp_server_api.cpp215 return AsCoreType(aService).GetPriority(); in otSrpServerServiceGetPriority()
/openthread-latest/src/core/net/
Dsrp_advertising_proxy.cpp703 VerifyOrExit(aFirstService.GetPriority() == aSecondService.GetPriority()); in EntriesMatch()
1026 serviceInfo.mPriority = aService.GetPriority(); in RegisterService()
Dip6.cpp415 dscp = Tmf::Agent::PriorityToDscp(aMessage.GetPriority()); in SendDatagram()
419 dscp = PriorityToDscp(aMessage.GetPriority()); in SendDatagram()
588 IgnoreError(fragment->SetPriority(aMessage.GetPriority())); in FragmentDatagram()
Dsrp_client.hpp231 uint16_t GetPriority(void) const { return mPriority; } in GetPriority() function in ot::Srp::Client::Service
Dsrp_server.hpp295 uint16_t GetPriority(void) const { return mPriority; } in GetPriority() function in ot::Srp::Server::Service
Dsrp_client.cpp150 GetPriority(), GetNumTxtEntries()); in SetState()
1454 srv.SetPriority(aService.GetPriority()); in AppendServiceInstruction()
Ddns_types.hpp1840 uint16_t GetPriority(void) const { return BigEndian::HostSwap16(mPriority); } in GetPriority() function in ot::Dns::SrvRecord
Ddns_client.cpp290 aServiceInfo.mPriority = srvRecord.GetPriority(); in ReadServiceInfo()
Ddnssd_server.cpp518 …return AppendSrvRecord(aService.GetHost().GetFullName(), ttl, aService.GetPriority(), aService.Get… in AppendSrvRecord()
Dsrp_server.cpp1158 service->mPriority = srvRecord.GetPriority(); in ProcessServiceDescriptionInstructions()
Dmdns.cpp5673 if (!mRecord.IsPresent() || (mPriority != srv.GetPriority())) in ProcessResponseRecord()
5675 mPriority = srv.GetPriority(); in ProcessResponseRecord()
/openthread-latest/src/core/utils/
Dhistory_tracker.cpp131 entry->mPriority = aMessage.GetPriority(); in RecordMessage()