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/VolumeShaperState.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/VolumeShaperState.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 <tuple> 15 #include <utils/String16.h> 16 17 namespace android { 18 namespace media { 19 class LIBBINDER_EXPORTED VolumeShaperState : public ::android::Parcelable { 20 public: 21 float volume = 0.000000f; 22 float xOffset = 0.000000f; 23 inline bool operator==(const VolumeShaperState& _rhs) const { 24 return std::tie(volume, xOffset) == std::tie(_rhs.volume, _rhs.xOffset); 25 } 26 inline bool operator<(const VolumeShaperState& _rhs) const { 27 return std::tie(volume, xOffset) < std::tie(_rhs.volume, _rhs.xOffset); 28 } 29 inline bool operator!=(const VolumeShaperState& _rhs) const { 30 return !(*this == _rhs); 31 } 32 inline bool operator>(const VolumeShaperState& _rhs) const { 33 return _rhs < *this; 34 } 35 inline bool operator>=(const VolumeShaperState& _rhs) const { 36 return !(*this < _rhs); 37 } 38 inline bool operator<=(const VolumeShaperState& _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.media.VolumeShaperState"); 46 return DESCRIPTOR; 47 } toString()48 inline std::string toString() const { 49 std::ostringstream _aidl_os; 50 _aidl_os << "VolumeShaperState{"; 51 _aidl_os << "volume: " << ::android::internal::ToString(volume); 52 _aidl_os << ", xOffset: " << ::android::internal::ToString(xOffset); 53 _aidl_os << "}"; 54 return _aidl_os.str(); 55 } 56 }; // class VolumeShaperState 57 } // namespace media 58 } // namespace android 59