/* * This file is auto-generated. DO NOT MODIFY. * Using: /home/iscle/Android/Sdk/build-tools/35.0.1/aidl --lang=ndk -o generated -h generated/include --structured --stability=vintf --min_sdk_version=31 -I hardware_interfaces/common/aidl/aidl_api/android.hardware.common/current/ -I hardware_interfaces/common/fmq/aidl/aidl_api/android.hardware.common.fmq/current/ -I hardware_interfaces/audio/aidl/aidl_api/android.hardware.audio.common/current/ -I hardware_interfaces/audio/aidl/aidl_api/android.hardware.audio.effect/current/ -I system_hardware_interfaces/media/aidl_api/android.media.audio.common.types/current/ -I system_hardware_interfaces/media/aidl_api/android.media.audio.eraser.types/current/ system_hardware_interfaces/media/aidl_api/android.media.audio.common.types/current/android/media/audio/common/AudioHalVolumeGroup.aidl */ #pragma once #include #include #include #include #include #include #include #include #include #ifdef BINDER_STABILITY_SUPPORT #include #endif // BINDER_STABILITY_SUPPORT namespace aidl::android::media::audio::common { class AudioHalVolumeCurve; } // namespace aidl::android::media::audio::common namespace aidl { namespace android { namespace media { namespace audio { namespace common { class AudioHalVolumeGroup { public: typedef std::false_type fixed_size; static const char* descriptor; std::string name; int32_t minIndex = 0; int32_t maxIndex = 0; std::vector<::aidl::android::media::audio::common::AudioHalVolumeCurve> volumeCurves; binder_status_t readFromParcel(const AParcel* parcel); binder_status_t writeToParcel(AParcel* parcel) const; inline bool operator==(const AudioHalVolumeGroup& _rhs) const { return std::tie(name, minIndex, maxIndex, volumeCurves) == std::tie(_rhs.name, _rhs.minIndex, _rhs.maxIndex, _rhs.volumeCurves); } inline bool operator<(const AudioHalVolumeGroup& _rhs) const { return std::tie(name, minIndex, maxIndex, volumeCurves) < std::tie(_rhs.name, _rhs.minIndex, _rhs.maxIndex, _rhs.volumeCurves); } inline bool operator!=(const AudioHalVolumeGroup& _rhs) const { return !(*this == _rhs); } inline bool operator>(const AudioHalVolumeGroup& _rhs) const { return _rhs < *this; } inline bool operator>=(const AudioHalVolumeGroup& _rhs) const { return !(*this < _rhs); } inline bool operator<=(const AudioHalVolumeGroup& _rhs) const { return !(_rhs < *this); } static const ::ndk::parcelable_stability_t _aidl_stability = ::ndk::STABILITY_VINTF; enum : int32_t { INDEX_DEFERRED_TO_AUDIO_SERVICE = -1 }; inline std::string toString() const { std::ostringstream _aidl_os; _aidl_os << "AudioHalVolumeGroup{"; _aidl_os << "name: " << ::android::internal::ToString(name); _aidl_os << ", minIndex: " << ::android::internal::ToString(minIndex); _aidl_os << ", maxIndex: " << ::android::internal::ToString(maxIndex); _aidl_os << ", volumeCurves: " << ::android::internal::ToString(volumeCurves); _aidl_os << "}"; return _aidl_os.str(); } }; } // namespace common } // namespace audio } // namespace media } // namespace android } // namespace aidl