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/CompressedApexInfo.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/CompressedApexInfo.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 <cstdint> 15 #include <string> 16 #include <tuple> 17 #include <utils/String16.h> 18 19 namespace android { 20 namespace apex { 21 class LIBBINDER_EXPORTED CompressedApexInfo : public ::android::Parcelable { 22 public: 23 ::std::string moduleName; 24 int64_t versionCode = 0L; 25 int64_t decompressedSize = 0L; 26 inline bool operator==(const CompressedApexInfo& _rhs) const { 27 return std::tie(moduleName, versionCode, decompressedSize) == std::tie(_rhs.moduleName, _rhs.versionCode, _rhs.decompressedSize); 28 } 29 inline bool operator<(const CompressedApexInfo& _rhs) const { 30 return std::tie(moduleName, versionCode, decompressedSize) < std::tie(_rhs.moduleName, _rhs.versionCode, _rhs.decompressedSize); 31 } 32 inline bool operator!=(const CompressedApexInfo& _rhs) const { 33 return !(*this == _rhs); 34 } 35 inline bool operator>(const CompressedApexInfo& _rhs) const { 36 return _rhs < *this; 37 } 38 inline bool operator>=(const CompressedApexInfo& _rhs) const { 39 return !(*this < _rhs); 40 } 41 inline bool operator<=(const CompressedApexInfo& _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.apex.CompressedApexInfo"); 49 return DESCRIPTOR; 50 } toString()51 inline std::string toString() const { 52 std::ostringstream _aidl_os; 53 _aidl_os << "CompressedApexInfo{"; 54 _aidl_os << "moduleName: " << ::android::internal::ToString(moduleName); 55 _aidl_os << ", versionCode: " << ::android::internal::ToString(versionCode); 56 _aidl_os << ", decompressedSize: " << ::android::internal::ToString(decompressedSize); 57 _aidl_os << "}"; 58 return _aidl_os.str(); 59 } 60 }; // class CompressedApexInfo 61 } // namespace apex 62 } // namespace android 63