Home
last modified time | relevance | path

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

/external/ot-br-posix/src/agent/
Dapplication.cpp61 …, mNcp(mInterfaceName.c_str(), aRadioUrls, mBackboneInterfaceName, /* aDryRun */ false, aEnableAut… in Application()
63 , mBorderAgent(mNcp) in Application()
66 , mBackboneAgent(mNcp, aInterfaceName, mBackboneInterfaceName) in Application()
69 , mUbusAgent(mNcp) in Application()
72 , mRestWebServer(mNcp) in Application()
75 , mDBusAgent(mNcp, mBorderAgent.GetPublisher()) in Application()
78 , mVendorServer(mNcp) in Application()
85 mNcp.Init(); in Init()
113 mNcp.Deinit(); in Deinit()
Dapplication.hpp127 Ncp::ControllerOpenThread mNcp; member in otbr::Application
/external/ot-br-posix/src/dbus/server/
Ddbus_thread_object.cpp101 , mNcp(aNcp) in DBusThreadObject()
109 auto threadHelper = mNcp->GetThreadHelper(); in Init()
115 mNcp->RegisterResetHandler(std::bind(&DBusThreadObject::NcpResetHandler, this)); in Init()
261mNcp->GetThreadHelper()->AddDeviceRoleHandler(std::bind(&DBusThreadObject::DeviceRoleHandler, this… in NcpResetHandler()
262 mNcp->GetThreadHelper()->AddActiveDatasetChangeHandler( in NcpResetHandler()
270 auto threadHelper = mNcp->GetThreadHelper(); in ScanHandler()
306 auto threadHelper = mNcp->GetThreadHelper(); in EnergyScanHandler()
349 auto threadHelper = mNcp->GetThreadHelper(); in AttachHandler()
391mNcp->GetThreadHelper()->AttachAllNodesTo(dataset, [aRequest](otError error, int64_t aAttachDelayM… in AttachAllNodesToHandler()
404 aRequest.ReplyOtResult(mNcp->GetThreadHelper()->Detach()); in DetachHandler()
[all …]
Ddbus_agent.cpp49 , mNcp(aNcp) in DBusAgent()
69 …ptr<DBusThreadObject>(new DBusThreadObject(mConnection.get(), mInterfaceName, &mNcp, &mPublisher)); in Init()
Ddbus_agent.hpp89 otbr::Ncp::ControllerOpenThread & mNcp; member in otbr::DBus::DBusAgent
Ddbus_thread_object.hpp159 otbr::Ncp::ControllerOpenThread * mNcp; member in otbr::DBus::DBusThreadObject
/external/ot-br-posix/src/backbone_router/
Dbackbone_agent.cpp53 : mNcp(aNcp) in BackboneAgent()
66mNcp.AddThreadStateChangedCallback([this](otChangedFlags aFlags) { HandleThreadStateChanged(aFlags… in Init()
67 …otBackboneRouterSetDomainPrefixCallback(mNcp.GetInstance(), &BackboneAgent::HandleBackboneRouterDo… in Init()
70 …otBackboneRouterSetNdProxyCallback(mNcp.GetInstance(), &BackboneAgent::HandleBackboneRouterNdProxy… in Init()
74 otBackboneRouterSetEnabled(mNcp.GetInstance(), /* aEnabled */ true); in Init()
87 otBackboneRouterState state = otBackboneRouterGetState(mNcp.GetInstance()); in HandleBackboneRouterState()
Dnd_proxy.hpp82 : mNcp(aNcp) in NdProxyManager()
154 otbr::Ncp::ControllerOpenThread &mNcp; member in otbr::BackboneRouter::NdProxyManager
Dbackbone_agent.hpp103 otbr::Ncp::ControllerOpenThread &mNcp; member in otbr::BackboneRouter::BackboneAgent
Dnd_proxy.cpp314 …VerifyOrExit(otBackboneRouterGetNdProxyInfo(mNcp.GetInstance(), reinterpret_cast<const otIp6Addres… in SendNeighborAdvertisement()
/external/ot-br-posix/src/sdp_proxy/
Ddiscovery_proxy.cpp62 : mNcp(aNcp) in DiscoveryProxy()
65 mNcp.RegisterResetHandler([this]() { in DiscoveryProxy()
66 otDnssdQuerySetCallbacks(mNcp.GetInstance(), &DiscoveryProxy::OnDiscoveryProxySubscribe, in DiscoveryProxy()
75 otDnssdQuerySetCallbacks(mNcp.GetInstance(), &DiscoveryProxy::OnDiscoveryProxySubscribe, in Start()
95 otDnssdQuerySetCallbacks(mNcp.GetInstance(), nullptr, nullptr, nullptr); in Stop()
186 while ((query = otDnssdGetNextQuery(mNcp.GetInstance(), query)) != nullptr) in OnServiceDiscovered()
225 …otDnssdQueryHandleDiscoveredServiceInstance(mNcp.GetInstance(), serviceFullName.c_str(), &instance… in OnServiceDiscovered()
257 while ((query = otDnssdGetNextQuery(mNcp.GetInstance(), query)) != nullptr) in OnHostDiscovered()
275 otDnssdQueryHandleDiscoveredHost(mNcp.GetInstance(), hostFullName.c_str(), &hostInfo); in OnHostDiscovered()
301 while ((query = otDnssdGetNextQuery(mNcp.GetInstance(), query)) != nullptr) in GetServiceSubscriptionCount()
Dadvertising_proxy.hpp120 otInstance *GetInstance(void) { return mNcp.GetInstance(); } in GetInstance()
123 Ncp::ControllerOpenThread &mNcp; member in otbr::AdvertisingProxy
Ddiscovery_proxy.hpp99 Ncp::ControllerOpenThread &mNcp; member in otbr::Dnssd::DiscoveryProxy
Dadvertising_proxy.cpp97 : mNcp(aNcp) in AdvertisingProxy()
100 mNcp.RegisterResetHandler( in AdvertisingProxy()
/external/ot-br-posix/src/border_agent/
Dborder_agent.cpp100 : mNcp(aNcp) in BorderAgent()
116mNcp.AddThreadStateChangedCallback([this](otChangedFlags aFlags) { HandleThreadStateChanged(aFlags… in Init()
119mNcp.GetThreadHelper()->SetUpdateMeshCopTxtHandler([this](std::map<std::string, std::vector<uint8_… in Init()
122 mNcp.RegisterResetHandler([this]() { in Init()
123mNcp.GetThreadHelper()->SetUpdateMeshCopTxtHandler([this](std::map<std::string, std::vector<uint8_… in Init()
212 otInstance * instance = mNcp.GetInstance(); in PublishMeshCopService()
225 txtList.emplace_back("tv", mNcp.GetThreadVersion()); in PublishMeshCopService()
399 otDeviceRole role = otThreadGetDeviceRole(mNcp.GetInstance()); in IsThreadStarted()
406 const otExtAddress *extAddress = otLinkGetExtendedAddress(mNcp.GetInstance()); in BaseServiceInstanceName()
Dborder_agent.hpp173 otbr::Ncp::ControllerOpenThread &mNcp; member in otbr::BorderAgent
/external/ot-br-posix/src/trel_dnssd/
Dtrel_dnssd.cpp86 , mNcp(aNcp) in TrelDnssd()
231 const otExtAddress *extaddr = otLinkGetExtendedAddress(mNcp.GetInstance()); in GetTrelInstanceName()
317 otPlatTrelHandleDiscoveredPeerInfo(mNcp.GetInstance(), &peerInfo); in OnTrelServiceInstanceAdded()
378 otPlatTrelHandleDiscoveredPeerInfo(mNcp.GetInstance(), &peerInfo); in NotifyRemovePeer()
Dtrel_dnssd.hpp176 Ncp::ControllerOpenThread &mNcp; member in otbr::TrelDnssd::TrelDnssd
/external/ot-br-posix/src/rest/
Dresource.hpp139 ControllerOpenThread *mNcp; member in otbr::rest::Resource
Dresource.cpp109 , mNcp(aNcp) in Resource()
129 mInstance = mNcp->GetThreadHelper()->GetInstance(); in Init()
/external/ot-br-posix/src/openwrt/ubus/
Dotubus.hpp1138 : mNcp(aNcp) in UBusAgent()
1155 otbr::Ncp::ControllerOpenThread &mNcp; member in otbr::ubus::UBusAgent
Dotubus.cpp1797 otbr::ubus::UbusServer::Initialize(&mNcp, &mThreadMutex); in Init()
/external/ot-br-posix/src/utils/
Dthread_helper.hpp280 otbr::Ncp::ControllerOpenThread *mNcp; member in otbr::agent::ThreadHelper
Dthread_helper.cpp76 , mNcp(aNcp) in ThreadHelper()
689 mNcp->PostTimerTask(delay, [this, aPort]() { in PermitUnsecureJoin()