Home
last modified time | relevance | path

Searched refs:otbrError (Results 1 – 25 of 38) sorted by relevance

12

/external/ot-br-posix/src/dbus/common/
Ddbus_message_helper.hpp52 otbrError DBusMessageEncode(DBusMessageIter *aIter, const otbrError &aError);
53 otbrError DBusMessageExtract(DBusMessageIter *aIter, otbrError &aError);
54 otbrError DBusMessageEncode(DBusMessageIter *aIter, const ActiveScanResult &aScanResult);
55 otbrError DBusMessageExtract(DBusMessageIter *aIter, ActiveScanResult &aScanResult);
56 otbrError DBusMessageEncode(DBusMessageIter *aIter, const EnergyScanResult &aResult);
57 otbrError DBusMessageExtract(DBusMessageIter *aIter, EnergyScanResult &aResult);
58 otbrError DBusMessageEncode(DBusMessageIter *aIter, const LinkModeConfig &aConfig);
59 otbrError DBusMessageExtract(DBusMessageIter *aIter, LinkModeConfig &aConfig);
60 otbrError DBusMessageEncode(DBusMessageIter *aIter, const Ip6Prefix &aPrefix);
61 otbrError DBusMessageExtract(DBusMessageIter *aIter, Ip6Prefix &aPrefix);
[all …]
Ddbus_message_helper.cpp34 otbrError DBusMessageExtract(DBusMessageIter *aIter, bool &aValue) in DBusMessageExtract()
36 otbrError error = OTBR_ERROR_DBUS; in DBusMessageExtract()
49 otbrError DBusMessageExtract(DBusMessageIter *aIter, int8_t &aValue) in DBusMessageExtract()
51 otbrError error = OTBR_ERROR_NONE; in DBusMessageExtract()
60 otbrError DBusMessageExtract(DBusMessageIter *aIter, std::string &aValue) in DBusMessageExtract()
63 otbrError error = OTBR_ERROR_NONE; in DBusMessageExtract()
74 otbrError DBusMessageExtract(DBusMessageIter *aIter, std::vector<uint8_t> &aValue) in DBusMessageExtract()
79 otbrError DBusMessageExtract(DBusMessageIter *aIter, std::vector<uint16_t> &aValue) in DBusMessageExtract()
84 otbrError DBusMessageExtract(DBusMessageIter *aIter, std::vector<uint32_t> &aValue) in DBusMessageExtract()
89 otbrError DBusMessageExtract(DBusMessageIter *aIter, std::vector<uint64_t> &aValue) in DBusMessageExtract()
[all …]
Ddbus_message_helper_openthread.cpp36 otbrError DBusMessageExtract(DBusMessageIter *aIter, otbrError &aError) in DBusMessageExtract()
39 otbrError error = DBusMessageExtract(aIter, val); in DBusMessageExtract()
42 aError = static_cast<otbrError>(val); in DBusMessageExtract()
47 otbrError DBusMessageEncode(DBusMessageIter *aIter, const otbrError &aError) in DBusMessageEncode()
52 otbrError DBusMessageExtract(DBusMessageIter *aIter, ActiveScanResult &aScanResult) in DBusMessageExtract()
55 otbrError error = OTBR_ERROR_NONE; in DBusMessageExtract()
79 otbrError DBusMessageEncode(DBusMessageIter *aIter, const ActiveScanResult &aScanResult) in DBusMessageEncode()
82 otbrError error = OTBR_ERROR_NONE; in DBusMessageEncode()
104 otbrError DBusMessageExtract(DBusMessageIter *aIter, EnergyScanResult &aResult) in DBusMessageExtract()
107 otbrError error = OTBR_ERROR_NONE; in DBusMessageExtract()
[all …]
/external/ot-br-posix/tests/mdns/
Dmain.cpp103 … [](otbrError aError) { SuccessOrDie(aError, "cannot publish the host"); }); in PublishSingleServiceWithCustomHost()
107 [](otbrError aError) { SuccessOrDie(aError, "cannot publish the service"); }); in PublishSingleServiceWithCustomHost()
130 … [](otbrError aError) { SuccessOrDie(aError, "cannot publish the host"); }); in PublishMultipleServicesWithCustomHost()
134 [](otbrError aError) { SuccessOrDie(aError, "cannot publish the first service"); }); in PublishMultipleServicesWithCustomHost()
138 [](otbrError aError) { SuccessOrDie(aError, "cannot publish the second service"); }); in PublishMultipleServicesWithCustomHost()
141 …hostName2, hostAddr, [](otbrError aError) { SuccessOrDie(aError, "cannot publish the second host")… in PublishMultipleServicesWithCustomHost()
145 [](otbrError aError) { SuccessOrDie(aError, "cannot publish the first service"); }); in PublishMultipleServicesWithCustomHost()
149 [](otbrError aError) { SuccessOrDie(aError, "cannot publish the second service"); }); in PublishMultipleServicesWithCustomHost()
167 [](otbrError aError) { SuccessOrDie(aError, "SingleService._meshcop._udp."); }); in PublishSingleService()
186 [](otbrError aError) { SuccessOrDie(aError, "MultipleService1._meshcop._udp."); }); in PublishMultipleServices()
[all …]
/external/ot-br-posix/src/mdns/
Dmdns.hpp158 using ResultCallback = OnceCallback<void(otbrError aError)>;
167 virtual otbrError Start(void) = 0;
363 static otbrError EncodeTxtData(const TxtList &aTxtList, std::vector<uint8_t> &aTxtData);
381 static otbrError DecodeTxtData(TxtList &aTxtList, const uint8_t *aTxtData, uint16_t aTxtLength);
405 void TriggerCompleteCallback(otbrError aError) in TriggerCompleteCallback()
443 void Complete(otbrError aError);
445 void OnComplete(otbrError aError);
474 void Complete(otbrError aError);
476 void OnComplete(otbrError);
507 virtual otbrError DnsErrorToOtbrError(int32_t aError) = 0;
[all …]
Dmdns.cpp84 otbrError Publisher::EncodeTxtData(const TxtList &aTxtList, std::vector<uint8_t> &aTxtData) in EncodeTxtData()
86 otbrError error = OTBR_ERROR_NONE; in EncodeTxtData()
106 otbrError Publisher::DecodeTxtData(Publisher::TxtList &aTxtList, const uint8_t *aTxtData, uint16_t … in DecodeTxtData()
108 otbrError error = OTBR_ERROR_NONE; in DecodeTxtData()
254 …er::RemoveServiceRegistration(const std::string &aName, const std::string &aType, otbrError aError) in RemoveServiceRegistration()
309 otbrError aError) { in HandleDuplicateServiceRegistration()
346 otbrError aError) { in HandleDuplicateHostRegistration()
363 void Publisher::RemoveHostRegistration(const std::string &aName, otbrError aError) in RemoveHostRegistration()
405 void Publisher::ServiceRegistration::Complete(otbrError aError) in Complete()
411 void Publisher::ServiceRegistration::OnComplete(otbrError aError) in OnComplete()
[all …]
Dmdns_mdnssd.cpp60 static otbrError DNSErrorToOtbrError(DNSServiceErrorType aError) in DNSErrorToOtbrError()
62 otbrError error; in DNSErrorToOtbrError()
224 otbrError PublisherMDnsSd::Start(void) in Start()
453 otbrError error = DNSErrorToOtbrError(aError); in HandleServiceRegisterResult()
484 otbrError ret = OTBR_ERROR_NONE; in PublishServiceImpl()
533 otbrError error = OTBR_ERROR_NONE; in UnpublishService()
546 otbrError ret = OTBR_ERROR_NONE; in PublishHostImpl()
591 otbrError error = OTBR_ERROR_NONE; in UnpublishHost()
619 otbrError error = DNSErrorToOtbrError(aError); in HandleRegisterHostResult()
713 otbrError PublisherMDnsSd::DnsErrorToOtbrError(int32_t aErrorCode) in DnsErrorToOtbrError()
[all …]
Dmdns_avahi.cpp125 static otbrError DnsErrorToOtbrError(int aAvahiError) in DnsErrorToOtbrError()
127 otbrError error; in DnsErrorToOtbrError()
443 otbrError PublisherAvahi::Start(void) in Start()
445 otbrError error = OTBR_ERROR_NONE; in Start()
523 void PublisherAvahi::CallHostOrServiceCallback(AvahiEntryGroup *aGroup, otbrError aError) in CallHostOrServiceCallback()
645 otbrError error = OTBR_ERROR_NONE; in PublishServiceImpl()
712 otbrError error = OTBR_ERROR_NONE; in UnpublishService()
725 otbrError error = OTBR_ERROR_NONE; in PublishHostImpl()
773 otbrError error = OTBR_ERROR_NONE; in UnpublishHost()
782 otbrError PublisherAvahi::TxtListToAvahiStringList(const TxtList & aTxtList, in TxtListToAvahiStringList()
[all …]
Dmdns_avahi.hpp83 otbrError Start(void) override;
102 otbrError DnsErrorToOtbrError(int32_t aErrorCode) override;
294 void CallHostOrServiceCallback(AvahiEntryGroup *aGroup, otbrError aError);
296 static otbrError TxtListToAvahiStringList(const TxtList & aTxtList,
Dmdns_mdnssd.hpp75 otbrError Start(void) override;
99 otbrError DnsErrorToOtbrError(int32_t aErrorCode) override;
195 otbrError GetAddrInfo(uint32_t aInterfaceIndex);
/external/ot-br-posix/src/sdp_proxy/
Dadvertising_proxy.cpp54 static otError OtbrErrorToOtError(otbrError aError) in OtbrErrorToOtError()
104 otbrError AdvertisingProxy::Start(void) in Start()
142 otbrError error = OTBR_ERROR_NONE; in AdvertisingHandler()
157 void AdvertisingProxy::OnMdnsPublishResult(otSrpServerServiceUpdateId aUpdateId, otbrError aError) in OnMdnsPublishResult()
199 otbrError AdvertisingProxy::PublishHostAndItsServices(const otSrpServerHost *aHost, OutstandingUpda… in PublishHostAndItsServices()
201 otbrError error = OTBR_ERROR_NONE; in PublishHostAndItsServices()
251 [this, hasUpdate, updateId, fullServiceName](otbrError aError) { in PublishHostAndItsServices()
263 … serviceName, serviceType, [this, hasUpdate, updateId, fullServiceName](otbrError aError) { in PublishHostAndItsServices()
284 … Mdns::Publisher::ResultCallback([this, hasUpdate, updateId, fullHostName](otbrError aError) { in PublishHostAndItsServices()
295 … mPublisher.UnpublishHost(hostName, [this, hasUpdate, updateId, fullHostName](otbrError aError) { in PublishHostAndItsServices()
Dadvertising_proxy.hpp73 otbrError Start(void);
103 … OnMdnsPublishResult(otSrpServerServiceUpdateId aUpdateId, otbrError aError);
118 otbrError PublishHostAndItsServices(const otSrpServerHost *aHost, OutstandingUpdate *aUpdate);
/external/ot-br-posix/src/common/
Ddns_utils.cpp97 otbrError SplitFullServiceInstanceName(const std::string &aFullName, in SplitFullServiceInstanceName()
102 otbrError error = OTBR_ERROR_NONE; in SplitFullServiceInstanceName()
115 otbrError SplitFullServiceName(const std::string &aFullName, std::string &aType, std::string &aDoma… in SplitFullServiceName()
117 otbrError error = OTBR_ERROR_NONE; in SplitFullServiceName()
129 otbrError SplitFullHostName(const std::string &aFullName, std::string &aHostName, std::string &aDom… in SplitFullHostName()
131 otbrError error = OTBR_ERROR_NONE; in SplitFullHostName()
Ddns_utils.hpp100 otbrError SplitFullServiceName(const std::string &aFullName, std::string &aType, std::string &aDoma…
114 otbrError SplitFullServiceInstanceName(const std::string &aFullName,
130 otbrError SplitFullHostName(const std::string &aFullName, std::string &aHostName, std::string &aDom…
Dlogging.hpp141 const char *otbrErrorString(otbrError aError);
163otbrError _err = (aError); \
Dtypes.hpp70 enum otbrError enum
258 static otbrError FromString(const char *aStr, Ip6Address &aAddr);
/external/ot-br-posix/src/backbone_router/
Dnd_proxy.cpp66 otbrError error = OTBR_ERROR_NONE; in Enable()
96 otbrError error = OTBR_ERROR_NONE; in Disable()
162 otbrError error = OTBR_ERROR_NONE; in ProcessMulticastNeighborSolicition()
251 otbrError error = OTBR_ERROR_NONE; in ProcessUnicastNeighborSolicition()
311 otbrError error = OTBR_ERROR_NONE; in SendNeighborAdvertisement()
348 otbrError NdProxyManager::UpdateMacAddress(void) in UpdateMacAddress()
350 otbrError error = OTBR_ERROR_NONE; in UpdateMacAddress()
368 otbrError NdProxyManager::InitIcmp6RawSocket(void) in InitIcmp6RawSocket()
370 otbrError error = OTBR_ERROR_NONE; in InitIcmp6RawSocket()
420 otbrError NdProxyManager::InitNetfilterQueue(void) in InitNetfilterQueue()
[all …]
Dnd_proxy.hpp139 otbrError UpdateMacAddress(void);
140 otbrError InitIcmp6RawSocket(void);
142 otbrError InitNetfilterQueue(void);
/external/ot-br-posix/src/dbus/server/
Ddbus_object.hpp88 virtual otbrError Init(void);
138 otbrError Signal(const std::string & aInterfaceName, in Signal()
143 otbrError error = OTBR_ERROR_NONE; in Signal()
166 otbrError SignalPropertyChanged(const std::string &aInterfaceName, in SignalPropertyChanged()
172 otbrError error = OTBR_ERROR_NONE; in SignalPropertyChanged()
/external/ot-br-posix/src/rest/
Drest_web_server.cpp86 otbrError error = OTBR_ERROR_NONE; in UpdateConnections()
118 otbrError error = OTBR_ERROR_NONE; in InitializeListenFd()
150 otbrError RestWebServer::Accept(int aListenFd) in Accept()
153 otbrError error = OTBR_ERROR_NONE; in Accept()
Dconnection.cpp156 otbrError error = OTBR_ERROR_NONE; in Process()
184 otbrError error = OTBR_ERROR_NONE; in ProcessWaitRead()
237 otbrError error = OTBR_ERROR_NONE; in Handle()
304 otbrError error = OTBR_ERROR_NONE; in Write()
/external/ot-br-posix/src/trel_dnssd/
Dtrel_dnssd.cpp253 [](otbrError aError) { HandlePublishTrelServiceError(aError); }); in PublishTrelService()
256 void TrelDnssd::HandlePublishTrelServiceError(otbrError aError) in HandlePublishTrelServiceError()
270 [](otbrError aError) { HandleUnpublishTrelServiceError(aError); }); in UnpublishTrelService()
274 void TrelDnssd::HandleUnpublishTrelServiceError(otbrError aError) in HandleUnpublishTrelServiceError()
464 otbrError error; in Assign()
Dtrel_dnssd.hpp163 static void HandlePublishTrelServiceError(otbrError aError);
164 static void HandleUnpublishTrelServiceError(otbrError aError);
/external/ot-br-posix/src/agent/
Dapplication.cpp116 otbrError Application::Run(void) in Run()
118 otbrError error = OTBR_ERROR_NONE; in Run()
/external/ot-br-posix/src/border_agent/
Dborder_agent.cpp141 otbrError error = OTBR_ERROR_NONE; in Start()
324 … Mdns::Publisher::SubTypeList{}, port, txtList, [this](otbrError aError) { in PublishMeshCopService()
354 …mPublisher->UnpublishService(mServiceInstanceName, kBorderAgentServiceType, [this](otbrError aErro… in UnpublishMeshCopService()

12