1 /*
2  * This file is auto-generated.  DO NOT MODIFY.
3  * Using: out/host/linux-x86/bin/aidl --lang=ndk -Weverything -Wno-missing-permission-annotation -t --min_sdk_version 30 --ninja -d out/soong/.intermediates/external/ot-br-posix/src/android/aidl/ot-daemon-aidl-ndk-source/gen/staging/com/android/server/thread/openthread/MeshcopTxtAttributes.cpp.d -h out/soong/.intermediates/external/ot-br-posix/src/android/aidl/ot-daemon-aidl-ndk-source/gen/include/staging -o out/soong/.intermediates/external/ot-br-posix/src/android/aidl/ot-daemon-aidl-ndk-source/gen/staging -Nexternal/ot-br-posix/src/android/aidl -Npackages/modules/Connectivity/thread/framework/java external/ot-br-posix/src/android/aidl/com/android/server/thread/openthread/MeshcopTxtAttributes.aidl
4  *
5  * DO NOT CHECK THIS FILE INTO A CODE TREE (e.g. git, etc..).
6  * ALWAYS GENERATE THIS FILE FROM UPDATED AIDL COMPILER
7  * AS A BUILD INTERMEDIATE ONLY. THIS IS NOT SOURCE CODE.
8  */
9 #pragma once
10 
11 #include <cstdint>
12 #include <memory>
13 #include <optional>
14 #include <string>
15 #include <vector>
16 #include <android/binder_interface_utils.h>
17 #include <android/binder_parcelable_utils.h>
18 #include <android/binder_to_string.h>
19 #include <aidl/com/android/server/thread/openthread/DnsTxtAttribute.h>
20 #ifdef BINDER_STABILITY_SUPPORT
21 #include <android/binder_stability.h>
22 #endif  // BINDER_STABILITY_SUPPORT
23 
24 namespace aidl::com::android::server::thread::openthread {
25 class DnsTxtAttribute;
26 }  // namespace aidl::com::android::server::thread::openthread
27 namespace aidl {
28 namespace com {
29 namespace android {
30 namespace server {
31 namespace thread {
32 namespace openthread {
33 class MeshcopTxtAttributes {
34 public:
35   typedef std::false_type fixed_size;
36   static const char* descriptor;
37 
38   std::string modelName;
39   std::string vendorName;
40   std::vector<uint8_t> vendorOui;
41   std::vector<::aidl::com::android::server::thread::openthread::DnsTxtAttribute> nonStandardTxtEntries;
42 
43   binder_status_t readFromParcel(const AParcel* parcel);
44   binder_status_t writeToParcel(AParcel* parcel) const;
45 
46   inline bool operator==(const MeshcopTxtAttributes& _rhs) const {
47     return std::tie(modelName, vendorName, vendorOui, nonStandardTxtEntries) == std::tie(_rhs.modelName, _rhs.vendorName, _rhs.vendorOui, _rhs.nonStandardTxtEntries);
48   }
49   inline bool operator<(const MeshcopTxtAttributes& _rhs) const {
50     return std::tie(modelName, vendorName, vendorOui, nonStandardTxtEntries) < std::tie(_rhs.modelName, _rhs.vendorName, _rhs.vendorOui, _rhs.nonStandardTxtEntries);
51   }
52   inline bool operator!=(const MeshcopTxtAttributes& _rhs) const {
53     return !(*this == _rhs);
54   }
55   inline bool operator>(const MeshcopTxtAttributes& _rhs) const {
56     return _rhs < *this;
57   }
58   inline bool operator>=(const MeshcopTxtAttributes& _rhs) const {
59     return !(*this < _rhs);
60   }
61   inline bool operator<=(const MeshcopTxtAttributes& _rhs) const {
62     return !(_rhs < *this);
63   }
64 
65   static const ::ndk::parcelable_stability_t _aidl_stability = ::ndk::STABILITY_LOCAL;
toString()66   inline std::string toString() const {
67     std::ostringstream _aidl_os;
68     _aidl_os << "MeshcopTxtAttributes{";
69     _aidl_os << "modelName: " << ::android::internal::ToString(modelName);
70     _aidl_os << ", vendorName: " << ::android::internal::ToString(vendorName);
71     _aidl_os << ", vendorOui: " << ::android::internal::ToString(vendorOui);
72     _aidl_os << ", nonStandardTxtEntries: " << ::android::internal::ToString(nonStandardTxtEntries);
73     _aidl_os << "}";
74     return _aidl_os.str();
75   }
76 };
77 }  // namespace openthread
78 }  // namespace thread
79 }  // namespace server
80 }  // namespace android
81 }  // namespace com
82 }  // namespace aidl
83