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/apex/apexd/apex_aidl_interface-cpp-source/gen/staging/android/apex/ApexInfoList.cpp.d -h out/soong/.intermediates/system/apex/apexd/apex_aidl_interface-cpp-source/gen/include/staging -o out/soong/.intermediates/system/apex/apexd/apex_aidl_interface-cpp-source/gen/staging -Nsystem/apex/apexd/aidl system/apex/apexd/aidl/android/apex/ApexInfoList.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/apex/ApexInfo.h>
12 #include <android/binder_to_string.h>
13 #include <binder/Parcel.h>
14 #include <binder/Status.h>
15 #include <tuple>
16 #include <utils/String16.h>
17 #include <vector>
18 
19 namespace android::apex {
20 class ApexInfo;
21 }  // namespace android::apex
22 namespace android {
23 namespace apex {
24 class LIBBINDER_EXPORTED ApexInfoList : public ::android::Parcelable {
25 public:
26   ::std::vector<::android::apex::ApexInfo> apexInfos;
27   inline bool operator==(const ApexInfoList& _rhs) const {
28     return std::tie(apexInfos) == std::tie(_rhs.apexInfos);
29   }
30   inline bool operator<(const ApexInfoList& _rhs) const {
31     return std::tie(apexInfos) < std::tie(_rhs.apexInfos);
32   }
33   inline bool operator!=(const ApexInfoList& _rhs) const {
34     return !(*this == _rhs);
35   }
36   inline bool operator>(const ApexInfoList& _rhs) const {
37     return _rhs < *this;
38   }
39   inline bool operator>=(const ApexInfoList& _rhs) const {
40     return !(*this < _rhs);
41   }
42   inline bool operator<=(const ApexInfoList& _rhs) const {
43     return !(_rhs < *this);
44   }
45 
46   ::android::status_t readFromParcel(const ::android::Parcel* _aidl_parcel) final;
47   ::android::status_t writeToParcel(::android::Parcel* _aidl_parcel) const final;
getParcelableDescriptor()48   static const ::android::String16& getParcelableDescriptor() {
49     static const ::android::StaticString16 DESCRIPTOR (u"android.apex.ApexInfoList");
50     return DESCRIPTOR;
51   }
toString()52   inline std::string toString() const {
53     std::ostringstream _aidl_os;
54     _aidl_os << "ApexInfoList{";
55     _aidl_os << "apexInfos: " << ::android::internal::ToString(apexInfos);
56     _aidl_os << "}";
57     return _aidl_os.str();
58   }
59 };  // class ApexInfoList
60 }  // namespace apex
61 }  // namespace android
62