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 29 -pout/soong/.intermediates/system/hardware/interfaces/media/android.media.audio.common.types_interface/4/preprocessed.aidl --ninja -d out/soong/.intermediates/frameworks/av/av-types-aidl-cpp-source/gen/staging/android/media/VolumeShaperOperation.cpp.d -h out/soong/.intermediates/frameworks/av/av-types-aidl-cpp-source/gen/include/staging -o out/soong/.intermediates/frameworks/av/av-types-aidl-cpp-source/gen/staging -Nframeworks/av/aidl frameworks/av/aidl/android/media/VolumeShaperOperation.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 <tuple> 16 #include <utils/String16.h> 17 18 namespace android { 19 namespace media { 20 class LIBBINDER_EXPORTED VolumeShaperOperation : public ::android::Parcelable { 21 public: 22 int32_t flags = 0; 23 int32_t replaceId = 0; 24 float xOffset = 0.000000f; 25 inline bool operator==(const VolumeShaperOperation& _rhs) const { 26 return std::tie(flags, replaceId, xOffset) == std::tie(_rhs.flags, _rhs.replaceId, _rhs.xOffset); 27 } 28 inline bool operator<(const VolumeShaperOperation& _rhs) const { 29 return std::tie(flags, replaceId, xOffset) < std::tie(_rhs.flags, _rhs.replaceId, _rhs.xOffset); 30 } 31 inline bool operator!=(const VolumeShaperOperation& _rhs) const { 32 return !(*this == _rhs); 33 } 34 inline bool operator>(const VolumeShaperOperation& _rhs) const { 35 return _rhs < *this; 36 } 37 inline bool operator>=(const VolumeShaperOperation& _rhs) const { 38 return !(*this < _rhs); 39 } 40 inline bool operator<=(const VolumeShaperOperation& _rhs) const { 41 return !(_rhs < *this); 42 } 43 44 ::android::status_t readFromParcel(const ::android::Parcel* _aidl_parcel) final; 45 ::android::status_t writeToParcel(::android::Parcel* _aidl_parcel) const final; getParcelableDescriptor()46 static const ::android::String16& getParcelableDescriptor() { 47 static const ::android::StaticString16 DESCRIPTOR (u"android.media.VolumeShaperOperation"); 48 return DESCRIPTOR; 49 } toString()50 inline std::string toString() const { 51 std::ostringstream _aidl_os; 52 _aidl_os << "VolumeShaperOperation{"; 53 _aidl_os << "flags: " << ::android::internal::ToString(flags); 54 _aidl_os << ", replaceId: " << ::android::internal::ToString(replaceId); 55 _aidl_os << ", xOffset: " << ::android::internal::ToString(xOffset); 56 _aidl_os << "}"; 57 return _aidl_os.str(); 58 } 59 }; // class VolumeShaperOperation 60 } // namespace media 61 } // namespace android 62