1 /* 2 * This file is auto-generated. DO NOT MODIFY. 3 * Using: out/host/linux-x86/bin/aidl --lang=cpp --structured --version 5 --hash 63f77d853b84219479b25418b1ce6fd1553f30db -t --stability vintf --min_sdk_version current -pout/soong/.intermediates/hardware/interfaces/keymaster/aidl/android.hardware.keymaster_interface/3/preprocessed.aidl -pout/soong/.intermediates/hardware/interfaces/security/rkp/aidl/android.hardware.security.rkp_interface/3/preprocessed.aidl --ninja -d out/soong/.intermediates/hardware/interfaces/identity/aidl/android.hardware.identity-V5-cpp-source/gen/staging/android/hardware/identity/RequestNamespace.cpp.d -h out/soong/.intermediates/hardware/interfaces/identity/aidl/android.hardware.identity-V5-cpp-source/gen/include/staging -o out/soong/.intermediates/hardware/interfaces/identity/aidl/android.hardware.identity-V5-cpp-source/gen/staging -Nhardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/5 hardware/interfaces/identity/aidl/aidl_api/android.hardware.identity/5/android/hardware/identity/RequestNamespace.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 <android/binder_to_string.h> 12 #include <android/hardware/identity/RequestDataItem.h> 13 #include <binder/Parcel.h> 14 #include <binder/Status.h> 15 #include <string> 16 #include <tuple> 17 #include <utils/String16.h> 18 #include <vector> 19 20 namespace android::hardware::identity { 21 class RequestDataItem; 22 } // namespace android::hardware::identity 23 namespace android { 24 namespace hardware { 25 namespace identity { 26 class LIBBINDER_EXPORTED RequestNamespace : public ::android::Parcelable { 27 public: 28 ::std::string namespaceName; 29 ::std::vector<::android::hardware::identity::RequestDataItem> items; 30 inline bool operator==(const RequestNamespace& _rhs) const { 31 return std::tie(namespaceName, items) == std::tie(_rhs.namespaceName, _rhs.items); 32 } 33 inline bool operator<(const RequestNamespace& _rhs) const { 34 return std::tie(namespaceName, items) < std::tie(_rhs.namespaceName, _rhs.items); 35 } 36 inline bool operator!=(const RequestNamespace& _rhs) const { 37 return !(*this == _rhs); 38 } 39 inline bool operator>(const RequestNamespace& _rhs) const { 40 return _rhs < *this; 41 } 42 inline bool operator>=(const RequestNamespace& _rhs) const { 43 return !(*this < _rhs); 44 } 45 inline bool operator<=(const RequestNamespace& _rhs) const { 46 return !(_rhs < *this); 47 } 48 getStability()49 ::android::Parcelable::Stability getStability() const override { return ::android::Parcelable::Stability::STABILITY_VINTF; } 50 ::android::status_t readFromParcel(const ::android::Parcel* _aidl_parcel) final; 51 ::android::status_t writeToParcel(::android::Parcel* _aidl_parcel) const final; getParcelableDescriptor()52 static const ::android::String16& getParcelableDescriptor() { 53 static const ::android::StaticString16 DESCRIPTOR (u"android.hardware.identity.RequestNamespace"); 54 return DESCRIPTOR; 55 } toString()56 inline std::string toString() const { 57 std::ostringstream _aidl_os; 58 _aidl_os << "RequestNamespace{"; 59 _aidl_os << "namespaceName: " << ::android::internal::ToString(namespaceName); 60 _aidl_os << ", items: " << ::android::internal::ToString(items); 61 _aidl_os << "}"; 62 return _aidl_os.str(); 63 } 64 }; // class RequestNamespace 65 } // namespace identity 66 } // namespace hardware 67 } // namespace android 68