/external/ot-br-posix/src/dbus/common/ |
D | dbus_message_helper.hpp | 52 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 …]
|
D | dbus_message_helper.cpp | 34 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 …]
|
D | dbus_message_helper_openthread.cpp | 36 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/ |
D | main.cpp | 103 … [](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/ |
D | mdns.hpp | 158 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 …]
|
D | mdns.cpp | 84 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 …]
|
D | mdns_mdnssd.cpp | 60 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 …]
|
D | mdns_avahi.cpp | 125 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 …]
|
D | mdns_avahi.hpp | 83 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,
|
D | mdns_mdnssd.hpp | 75 otbrError Start(void) override; 99 otbrError DnsErrorToOtbrError(int32_t aErrorCode) override; 195 otbrError GetAddrInfo(uint32_t aInterfaceIndex);
|
/external/ot-br-posix/src/sdp_proxy/ |
D | advertising_proxy.cpp | 54 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()
|
D | advertising_proxy.hpp | 73 otbrError Start(void); 103 … OnMdnsPublishResult(otSrpServerServiceUpdateId aUpdateId, otbrError aError); 118 otbrError PublishHostAndItsServices(const otSrpServerHost *aHost, OutstandingUpdate *aUpdate);
|
/external/ot-br-posix/src/common/ |
D | dns_utils.cpp | 97 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()
|
D | dns_utils.hpp | 100 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…
|
D | logging.hpp | 141 const char *otbrErrorString(otbrError aError); 163 …otbrError _err = (aError); \
|
D | types.hpp | 70 enum otbrError enum 258 static otbrError FromString(const char *aStr, Ip6Address &aAddr);
|
/external/ot-br-posix/src/backbone_router/ |
D | nd_proxy.cpp | 66 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 …]
|
D | nd_proxy.hpp | 139 otbrError UpdateMacAddress(void); 140 otbrError InitIcmp6RawSocket(void); 142 otbrError InitNetfilterQueue(void);
|
/external/ot-br-posix/src/dbus/server/ |
D | dbus_object.hpp | 88 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/ |
D | rest_web_server.cpp | 86 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()
|
D | connection.cpp | 156 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/ |
D | trel_dnssd.cpp | 253 [](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()
|
D | trel_dnssd.hpp | 163 static void HandlePublishTrelServiceError(otbrError aError); 164 static void HandleUnpublishTrelServiceError(otbrError aError);
|
/external/ot-br-posix/src/agent/ |
D | application.cpp | 116 otbrError Application::Run(void) in Run() 118 otbrError error = OTBR_ERROR_NONE; in Run()
|
/external/ot-br-posix/src/border_agent/ |
D | border_agent.cpp | 141 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()
|