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