1 /*
2  * This file is auto-generated.  DO NOT MODIFY.
3  * Using: out/host/linux-x86/bin/aidl-cpp -dout/soong/.temp/sbox/10ece8c3f2676d939c6532d9928a7335ddf2c032/out/android/security/identity/ResultEntryParcel.cpp.d --ninja -Isystem/security/identity/binder -t --min_sdk_version=platform_apis -Isystem/security/identity/binder/ system/security/identity/binder/android/security/identity/ResultEntryParcel.aidl out/soong/.temp/sbox/10ece8c3f2676d939c6532d9928a7335ddf2c032/out out/soong/.temp/sbox/10ece8c3f2676d939c6532d9928a7335ddf2c032/out/android/security/identity/ResultEntryParcel.cpp
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 <android/binder_to_string.h>
12 #include <binder/Parcel.h>
13 #include <binder/Status.h>
14 #include <cstdint>
15 #include <string>
16 #include <tuple>
17 #include <utils/String16.h>
18 #include <vector>
19 
20 namespace android {
21 namespace security {
22 namespace identity {
23 class LIBBINDER_EXPORTED ResultEntryParcel : public ::android::Parcelable {
24 public:
25   int32_t status = 0;
26   ::std::string name;
27   ::std::vector<uint8_t> value;
28   inline bool operator==(const ResultEntryParcel& _rhs) const {
29     return std::tie(status, name, value) == std::tie(_rhs.status, _rhs.name, _rhs.value);
30   }
31   inline bool operator<(const ResultEntryParcel& _rhs) const {
32     return std::tie(status, name, value) < std::tie(_rhs.status, _rhs.name, _rhs.value);
33   }
34   inline bool operator!=(const ResultEntryParcel& _rhs) const {
35     return !(*this == _rhs);
36   }
37   inline bool operator>(const ResultEntryParcel& _rhs) const {
38     return _rhs < *this;
39   }
40   inline bool operator>=(const ResultEntryParcel& _rhs) const {
41     return !(*this < _rhs);
42   }
43   inline bool operator<=(const ResultEntryParcel& _rhs) const {
44     return !(_rhs < *this);
45   }
46 
47   ::android::status_t readFromParcel(const ::android::Parcel* _aidl_parcel) final;
48   ::android::status_t writeToParcel(::android::Parcel* _aidl_parcel) const final;
getParcelableDescriptor()49   static const ::android::String16& getParcelableDescriptor() {
50     static const ::android::StaticString16 DESCRIPTOR (u"android.security.identity.ResultEntryParcel");
51     return DESCRIPTOR;
52   }
toString()53   inline std::string toString() const {
54     std::ostringstream _aidl_os;
55     _aidl_os << "ResultEntryParcel{";
56     _aidl_os << "status: " << ::android::internal::ToString(status);
57     _aidl_os << ", name: " << ::android::internal::ToString(name);
58     _aidl_os << ", value: " << ::android::internal::ToString(value);
59     _aidl_os << "}";
60     return _aidl_os.str();
61   }
62 };  // class ResultEntryParcel
63 }  // namespace identity
64 }  // namespace security
65 }  // namespace android
66