1 /*
2  * This file is auto-generated.  DO NOT MODIFY.
3  * Using: out/host/linux-x86/bin/aidl --lang=cpp -Weverything -Wno-missing-permission-annotation -t --min_sdk_version current --ninja -d out/soong/.intermediates/system/gsid/gsi_aidl_interface-cpp-source/gen/staging/android/gsi/MappedImage.cpp.d -h out/soong/.intermediates/system/gsid/gsi_aidl_interface-cpp-source/gen/include/staging -o out/soong/.intermediates/system/gsid/gsi_aidl_interface-cpp-source/gen/staging -Nsystem/gsid/aidl system/gsid/aidl/android/gsi/MappedImage.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 <binder/Parcel.h>
13 #include <binder/Status.h>
14 #include <string>
15 #include <tuple>
16 #include <utils/String16.h>
17 
18 namespace android {
19 namespace gsi {
20 class LIBBINDER_EXPORTED MappedImage : public ::android::Parcelable {
21 public:
22   ::std::string path;
23   inline bool operator==(const MappedImage& _rhs) const {
24     return std::tie(path) == std::tie(_rhs.path);
25   }
26   inline bool operator<(const MappedImage& _rhs) const {
27     return std::tie(path) < std::tie(_rhs.path);
28   }
29   inline bool operator!=(const MappedImage& _rhs) const {
30     return !(*this == _rhs);
31   }
32   inline bool operator>(const MappedImage& _rhs) const {
33     return _rhs < *this;
34   }
35   inline bool operator>=(const MappedImage& _rhs) const {
36     return !(*this < _rhs);
37   }
38   inline bool operator<=(const MappedImage& _rhs) const {
39     return !(_rhs < *this);
40   }
41 
42   ::android::status_t readFromParcel(const ::android::Parcel* _aidl_parcel) final;
43   ::android::status_t writeToParcel(::android::Parcel* _aidl_parcel) const final;
getParcelableDescriptor()44   static const ::android::String16& getParcelableDescriptor() {
45     static const ::android::StaticString16 DESCRIPTOR (u"android.gsi.MappedImage");
46     return DESCRIPTOR;
47   }
toString()48   inline std::string toString() const {
49     std::ostringstream _aidl_os;
50     _aidl_os << "MappedImage{";
51     _aidl_os << "path: " << ::android::internal::ToString(path);
52     _aidl_os << "}";
53     return _aidl_os.str();
54   }
55 };  // class MappedImage
56 }  // namespace gsi
57 }  // namespace android
58