1 /* 2 * This file is auto-generated. DO NOT MODIFY. 3 * Using: out/host/linux-x86/bin/aidl --lang=ndk -Weverything -Wno-missing-permission-annotation -t --min_sdk_version 30 --ninja -d out/soong/.intermediates/packages/modules/StatsD/aidl/statsd-aidl-ndk-source/gen/staging/android/os/StatsDimensionsValueParcel.cpp.d -h out/soong/.intermediates/packages/modules/StatsD/aidl/statsd-aidl-ndk-source/gen/include/staging -o out/soong/.intermediates/packages/modules/StatsD/aidl/statsd-aidl-ndk-source/gen/staging -Npackages/modules/StatsD/aidl packages/modules/StatsD/aidl/android/os/StatsDimensionsValueParcel.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 <cstdint> 12 #include <memory> 13 #include <optional> 14 #include <string> 15 #include <vector> 16 #include <android/binder_interface_utils.h> 17 #include <android/binder_parcelable_utils.h> 18 #include <android/binder_to_string.h> 19 #include <aidl/android/os/StatsDimensionsValueParcel.h> 20 #ifdef BINDER_STABILITY_SUPPORT 21 #include <android/binder_stability.h> 22 #endif // BINDER_STABILITY_SUPPORT 23 24 namespace aidl::android::os { 25 class StatsDimensionsValueParcel; 26 } // namespace aidl::android::os 27 namespace aidl { 28 namespace android { 29 namespace os { 30 class StatsDimensionsValueParcel { 31 public: 32 typedef std::false_type fixed_size; 33 static const char* descriptor; 34 35 int32_t field = 0; 36 int32_t valueType = 0; 37 std::string stringValue; 38 int32_t intValue = 0; 39 int64_t longValue = 0L; 40 bool boolValue = false; 41 float floatValue = 0.000000f; 42 std::vector<::aidl::android::os::StatsDimensionsValueParcel> tupleValue; 43 44 binder_status_t readFromParcel(const AParcel* parcel); 45 binder_status_t writeToParcel(AParcel* parcel) const; 46 47 inline bool operator==(const StatsDimensionsValueParcel& _rhs) const { 48 return std::tie(field, valueType, stringValue, intValue, longValue, boolValue, floatValue, tupleValue) == std::tie(_rhs.field, _rhs.valueType, _rhs.stringValue, _rhs.intValue, _rhs.longValue, _rhs.boolValue, _rhs.floatValue, _rhs.tupleValue); 49 } 50 inline bool operator<(const StatsDimensionsValueParcel& _rhs) const { 51 return std::tie(field, valueType, stringValue, intValue, longValue, boolValue, floatValue, tupleValue) < std::tie(_rhs.field, _rhs.valueType, _rhs.stringValue, _rhs.intValue, _rhs.longValue, _rhs.boolValue, _rhs.floatValue, _rhs.tupleValue); 52 } 53 inline bool operator!=(const StatsDimensionsValueParcel& _rhs) const { 54 return !(*this == _rhs); 55 } 56 inline bool operator>(const StatsDimensionsValueParcel& _rhs) const { 57 return _rhs < *this; 58 } 59 inline bool operator>=(const StatsDimensionsValueParcel& _rhs) const { 60 return !(*this < _rhs); 61 } 62 inline bool operator<=(const StatsDimensionsValueParcel& _rhs) const { 63 return !(_rhs < *this); 64 } 65 66 static const ::ndk::parcelable_stability_t _aidl_stability = ::ndk::STABILITY_LOCAL; toString()67 inline std::string toString() const { 68 std::ostringstream _aidl_os; 69 _aidl_os << "StatsDimensionsValueParcel{"; 70 _aidl_os << "field: " << ::android::internal::ToString(field); 71 _aidl_os << ", valueType: " << ::android::internal::ToString(valueType); 72 _aidl_os << ", stringValue: " << ::android::internal::ToString(stringValue); 73 _aidl_os << ", intValue: " << ::android::internal::ToString(intValue); 74 _aidl_os << ", longValue: " << ::android::internal::ToString(longValue); 75 _aidl_os << ", boolValue: " << ::android::internal::ToString(boolValue); 76 _aidl_os << ", floatValue: " << ::android::internal::ToString(floatValue); 77 _aidl_os << ", tupleValue: " << ::android::internal::ToString(tupleValue); 78 _aidl_os << "}"; 79 return _aidl_os.str(); 80 } 81 }; 82 } // namespace os 83 } // namespace android 84 } // namespace aidl 85