Home
last modified time | relevance | path

Searched refs:mHosts (Results 1 – 6 of 6) sorted by relevance

/external/ot-br-posix/tests/dbus/
Dtest_dbus_client.cpp140 TEST_ASSERT(srpServerInfo.mHosts.mFreshCount == 0); in CheckSrpServerInfo()
141 TEST_ASSERT(srpServerInfo.mHosts.mDeletedCount == 0); in CheckSrpServerInfo()
142 TEST_ASSERT(srpServerInfo.mHosts.mLeaseTimeTotal == 0); in CheckSrpServerInfo()
143 TEST_ASSERT(srpServerInfo.mHosts.mKeyLeaseTimeTotal == 0); in CheckSrpServerInfo()
144 TEST_ASSERT(srpServerInfo.mHosts.mRemainingLeaseTimeTotal == 0); in CheckSrpServerInfo()
145 TEST_ASSERT(srpServerInfo.mHosts.mRemainingKeyLeaseTimeTotal == 0); in CheckSrpServerInfo()
/external/openthread/src/core/net/
Dsrp_server.cpp281 return (aHost == nullptr) ? mHosts.GetHead() : aHost->GetNext(); in GetNextHost()
290 OT_ASSERT(mHosts.FindMatching(aHost.GetFullName()) == nullptr); in AddHost()
291 IgnoreError(mHosts.Add(aHost)); in AddHost()
307 IgnoreError(mHosts.Remove(*aHost)); in RemoveHost()
336 const Host *existingHost = mHosts.FindMatching(aHost.GetFullName()); in HasNameConflictsWith()
350 for (const Host &host : mHosts) in HasNameConflictsWith()
444 existingHost = mHosts.FindMatching(aHost.GetFullName()); in CommitSrpUpdate()
633 while (!mHosts.IsEmpty()) in Stop()
635 RemoveHost(mHosts.GetHead(), kDeleteName, kNotifyServiceHandler); in Stop()
1241 existingHost = mHosts.FindMatching(aHost.GetFullName()); in ValidateServiceSubTypes()
[all …]
Dsrp_server.hpp1028 LinkedList<Host> mHosts; member in ot::Srp::Server
/external/ot-br-posix/src/dbus/common/
Dtypes.hpp562 …Registration mHosts; ///< The registration information of hosts on the SRP serv… member
Ddbus_message_helper_openthread.cpp585 SuccessOrExit(error = DBusMessageEncode(&sub, aSrpServerInfo.mHosts)); in DBusMessageEncode()
603 SuccessOrExit(error = DBusMessageExtract(&sub, aSrpServerInfo.mHosts)); in DBusMessageExtract()
/external/ot-br-posix/src/dbus/server/
Ddbus_thread_object.cpp1245 ++srpServerInfo.mHosts.mDeletedCount; in GetSrpServerInfoHandler()
1249 ++srpServerInfo.mHosts.mFreshCount; in GetSrpServerInfoHandler()
1251 srpServerInfo.mHosts.mLeaseTimeTotal += leaseInfo.mLease; in GetSrpServerInfoHandler()
1252 srpServerInfo.mHosts.mKeyLeaseTimeTotal += leaseInfo.mKeyLease; in GetSrpServerInfoHandler()
1253 srpServerInfo.mHosts.mRemainingLeaseTimeTotal += leaseInfo.mRemainingLease; in GetSrpServerInfoHandler()
1254 srpServerInfo.mHosts.mRemainingKeyLeaseTimeTotal += leaseInfo.mRemainingKeyLease; in GetSrpServerInfoHandler()