/external/ot-br-posix/src/dbus/common/ |
D | dbus_message_helper_openthread.cpp | 47 otbrError DBusMessageEncode(DBusMessageIter *aIter, const otbrError &aError) in DBusMessageEncode() function 49 return DBusMessageEncode(aIter, static_cast<uint8_t>(aError)); in DBusMessageEncode() 79 otbrError DBusMessageEncode(DBusMessageIter *aIter, const ActiveScanResult &aScanResult) in DBusMessageEncode() function 85 SuccessOrExit(error = DBusMessageEncode(&sub, aScanResult.mExtAddress)); in DBusMessageEncode() 86 SuccessOrExit(error = DBusMessageEncode(&sub, aScanResult.mNetworkName)); in DBusMessageEncode() 87 SuccessOrExit(error = DBusMessageEncode(&sub, aScanResult.mExtendedPanId)); in DBusMessageEncode() 88 SuccessOrExit(error = DBusMessageEncode(&sub, aScanResult.mSteeringData)); in DBusMessageEncode() 89 SuccessOrExit(error = DBusMessageEncode(&sub, aScanResult.mPanId)); in DBusMessageEncode() 90 SuccessOrExit(error = DBusMessageEncode(&sub, aScanResult.mJoinerUdpPort)); in DBusMessageEncode() 91 SuccessOrExit(error = DBusMessageEncode(&sub, aScanResult.mChannel)); in DBusMessageEncode() [all …]
|
D | dbus_message_helper.hpp | 52 otbrError DBusMessageEncode(DBusMessageIter *aIter, const otbrError &aError); 54 otbrError DBusMessageEncode(DBusMessageIter *aIter, const ActiveScanResult &aScanResult); 56 otbrError DBusMessageEncode(DBusMessageIter *aIter, const EnergyScanResult &aResult); 58 otbrError DBusMessageEncode(DBusMessageIter *aIter, const LinkModeConfig &aConfig); 60 otbrError DBusMessageEncode(DBusMessageIter *aIter, const Ip6Prefix &aPrefix); 62 otbrError DBusMessageEncode(DBusMessageIter *aIter, const ExternalRoute &aRoute); 64 otbrError DBusMessageEncode(DBusMessageIter *aIter, const OnMeshPrefix &aPrefix); 66 otbrError DBusMessageEncode(DBusMessageIter *aIter, const MacCounters &aCounters); 68 otbrError DBusMessageEncode(DBusMessageIter *aIter, const IpCounters &aCounters); 70 otbrError DBusMessageEncode(DBusMessageIter *aIter, const ChildInfo &aChildInfo); [all …]
|
D | dbus_message_helper.cpp | 109 otbrError DBusMessageEncode(DBusMessageIter *aIter, bool aValue) in DBusMessageEncode() function 120 otbrError DBusMessageEncode(DBusMessageIter *aIter, int8_t aValue) in DBusMessageEncode() function 122 return DBusMessageEncode(aIter, static_cast<uint8_t>(aValue)); in DBusMessageEncode() 125 otbrError DBusMessageEncode(DBusMessageIter *aIter, const std::string &aValue) in DBusMessageEncode() function 136 otbrError DBusMessageEncode(DBusMessageIter *aIter, const char *aValue) in DBusMessageEncode() function 145 otbrError DBusMessageEncode(DBusMessageIter *aIter, const std::vector<uint8_t> &aValue) in DBusMessageEncode() function 150 otbrError DBusMessageEncode(DBusMessageIter *aIter, const std::vector<uint16_t> &aValue) in DBusMessageEncode() function 155 otbrError DBusMessageEncode(DBusMessageIter *aIter, const std::vector<uint32_t> &aValue) in DBusMessageEncode() function 160 otbrError DBusMessageEncode(DBusMessageIter *aIter, const std::vector<uint64_t> &aValue) in DBusMessageEncode() function 165 otbrError DBusMessageEncode(DBusMessageIter *aIter, const std::vector<int16_t> &aValue) in DBusMessageEncode() function [all …]
|
/external/ot-br-posix/src/dbus/server/ |
D | dbus_object.hpp | 178 …VerifyOrExit(DBusMessageEncode(&iter, aInterfaceName) == OTBR_ERROR_NONE, error = OTBR_ERROR_DBUS); in SignalPropertyChanged() 188 SuccessOrExit(error = DBusMessageEncode(&dictEntryIter, aPropertyName)); in SignalPropertyChanged() 195 SuccessOrExit(error = DBusMessageEncode(&iter, std::vector<std::string>())); in SignalPropertyChanged()
|
D | dbus_request.hpp | 175 error = DBusMessageEncode(&replyIter, *aResult); in ReplyOtResult()
|
D | dbus_object.cpp | 205 …VerifyOrExit(DBusMessageEncode(&dictEntryIter, p.first) == OTBR_ERROR_NONE, error = OT_ERROR_FAILE… in GetAllPropertiesMethodHandler()
|
/external/ot-br-posix/tests/unit/ |
D | test_dbus_message.cpp | 40 using otbr::DBus::DBusMessageEncode; 125 inline otbrError DBusMessageEncode(DBusMessageIter *aIter, const TestStruct &aValue) in DBusMessageEncode() function 131 SuccessOrExit(DBusMessageEncode(&sub, aValue.tag)); in DBusMessageEncode() 132 SuccessOrExit(DBusMessageEncode(&sub, aValue.val)); in DBusMessageEncode() 133 SuccessOrExit(DBusMessageEncode(&sub, aValue.name)); in DBusMessageEncode()
|
/external/ot-br-posix/src/dbus/client/ |
D | thread_api_dbus.cpp | 760 VerifyOrExit(DBus::DBusMessageEncode(&iter, OTBR_DBUS_THREAD_INTERFACE) == OTBR_ERROR_NONE, in SetProperty() 762 …VerifyOrExit(DBus::DBusMessageEncode(&iter, aPropertyName) == OTBR_ERROR_NONE, ret = ClientError::… in SetProperty()
|