Iscle 8ca8a8b778 Revert "More stupid stuff"
This reverts commit d4f8e8791228c6d59da4b4e58b1f1ecc1e4faf65.
2025-04-21 12:55:06 +02:00

80 lines
3.6 KiB
C++

/*
* 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.eraser.types/current/android/media/audio/eraser/Configuration.aidl
*/
#pragma once
#include <cstdint>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include <android/binder_interface_utils.h>
#include <android/binder_parcelable_utils.h>
#include <android/binder_to_string.h>
#include <aidl/android/media/audio/eraser/ClassificationConfig.h>
#include <aidl/android/media/audio/eraser/IEraserCallback.h>
#include <aidl/android/media/audio/eraser/Mode.h>
#ifdef BINDER_STABILITY_SUPPORT
#include <android/binder_stability.h>
#endif // BINDER_STABILITY_SUPPORT
namespace aidl::android::media::audio::eraser {
class ClassificationConfig;
class IEraserCallback;
} // namespace aidl::android::media::audio::eraser
namespace aidl {
namespace android {
namespace media {
namespace audio {
namespace eraser {
class Configuration {
public:
typedef std::false_type fixed_size;
static const char* descriptor;
::aidl::android::media::audio::eraser::Mode mode = ::aidl::android::media::audio::eraser::Mode::ERASER;
std::vector<::aidl::android::media::audio::eraser::ClassificationConfig> classificationConfigs;
int32_t maxClassificationMetadata = 5;
std::shared_ptr<::aidl::android::media::audio::eraser::IEraserCallback> callback;
binder_status_t readFromParcel(const AParcel* parcel);
binder_status_t writeToParcel(AParcel* parcel) const;
inline bool operator==(const Configuration& _rhs) const {
return std::tie(mode, classificationConfigs, maxClassificationMetadata, callback) == std::tie(_rhs.mode, _rhs.classificationConfigs, _rhs.maxClassificationMetadata, _rhs.callback);
}
inline bool operator<(const Configuration& _rhs) const {
return std::tie(mode, classificationConfigs, maxClassificationMetadata, callback) < std::tie(_rhs.mode, _rhs.classificationConfigs, _rhs.maxClassificationMetadata, _rhs.callback);
}
inline bool operator!=(const Configuration& _rhs) const {
return !(*this == _rhs);
}
inline bool operator>(const Configuration& _rhs) const {
return _rhs < *this;
}
inline bool operator>=(const Configuration& _rhs) const {
return !(*this < _rhs);
}
inline bool operator<=(const Configuration& _rhs) const {
return !(_rhs < *this);
}
static const ::ndk::parcelable_stability_t _aidl_stability = ::ndk::STABILITY_VINTF;
inline std::string toString() const {
std::ostringstream _aidl_os;
_aidl_os << "Configuration{";
_aidl_os << "mode: " << ::android::internal::ToString(mode);
_aidl_os << ", classificationConfigs: " << ::android::internal::ToString(classificationConfigs);
_aidl_os << ", maxClassificationMetadata: " << ::android::internal::ToString(maxClassificationMetadata);
_aidl_os << ", callback: " << ::android::internal::ToString(callback);
_aidl_os << "}";
return _aidl_os.str();
}
};
} // namespace eraser
} // namespace audio
} // namespace media
} // namespace android
} // namespace aidl