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/AuthKeyParcel.cpp.d --ninja -Isystem/security/identity/binder -t --min_sdk_version=platform_apis -Isystem/security/identity/binder/ system/security/identity/binder/android/security/identity/AuthKeyParcel.aidl out/soong/.temp/sbox/10ece8c3f2676d939c6532d9928a7335ddf2c032/out out/soong/.temp/sbox/10ece8c3f2676d939c6532d9928a7335ddf2c032/out/android/security/identity/AuthKeyParcel.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 <tuple>
16 #include <utils/String16.h>
17 #include <vector>
18 
19 namespace android {
20 namespace security {
21 namespace identity {
22 class LIBBINDER_EXPORTED AuthKeyParcel : public ::android::Parcelable {
23 public:
24   ::std::vector<uint8_t> x509cert;
25   inline bool operator==(const AuthKeyParcel& _rhs) const {
26     return std::tie(x509cert) == std::tie(_rhs.x509cert);
27   }
28   inline bool operator<(const AuthKeyParcel& _rhs) const {
29     return std::tie(x509cert) < std::tie(_rhs.x509cert);
30   }
31   inline bool operator!=(const AuthKeyParcel& _rhs) const {
32     return !(*this == _rhs);
33   }
34   inline bool operator>(const AuthKeyParcel& _rhs) const {
35     return _rhs < *this;
36   }
37   inline bool operator>=(const AuthKeyParcel& _rhs) const {
38     return !(*this < _rhs);
39   }
40   inline bool operator<=(const AuthKeyParcel& _rhs) const {
41     return !(_rhs < *this);
42   }
43 
44   ::android::status_t readFromParcel(const ::android::Parcel* _aidl_parcel) final;
45   ::android::status_t writeToParcel(::android::Parcel* _aidl_parcel) const final;
getParcelableDescriptor()46   static const ::android::String16& getParcelableDescriptor() {
47     static const ::android::StaticString16 DESCRIPTOR (u"android.security.identity.AuthKeyParcel");
48     return DESCRIPTOR;
49   }
toString()50   inline std::string toString() const {
51     std::ostringstream _aidl_os;
52     _aidl_os << "AuthKeyParcel{";
53     _aidl_os << "x509cert: " << ::android::internal::ToString(x509cert);
54     _aidl_os << "}";
55     return _aidl_os.str();
56   }
57 };  // class AuthKeyParcel
58 }  // namespace identity
59 }  // namespace security
60 }  // namespace android
61