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 --structured --version 3 --hash notfrozen -t --stability vintf --min_sdk_version current -pout/soong/.intermediates/hardware/interfaces/audio/aidl/android.hardware.audio.core.sounddose_interface/3/preprocessed.aidl --previous_api_dir=hardware/interfaces/audio/aidl/sounddose/aidl_api/android.hardware.audio.sounddose/2 --previous_hash f4469ffc7efc70957cbc2c7175c55adda2272f70 --ninja -d out/soong/.intermediates/hardware/interfaces/audio/aidl/sounddose/android.hardware.audio.sounddose-V3-ndk-source/gen/staging/android/hardware/audio/sounddose/ISoundDoseFactory.cpp.d -h out/soong/.intermediates/hardware/interfaces/audio/aidl/sounddose/android.hardware.audio.sounddose-V3-ndk-source/gen/include/staging -o out/soong/.intermediates/hardware/interfaces/audio/aidl/sounddose/android.hardware.audio.sounddose-V3-ndk-source/gen/staging -Nhardware/interfaces/audio/aidl/sounddose hardware/interfaces/audio/aidl/sounddose/android/hardware/audio/sounddose/ISoundDoseFactory.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 <aidl/android/hardware/audio/core/sounddose/ISoundDose.h>
18 #ifdef BINDER_STABILITY_SUPPORT
19 #include <android/binder_stability.h>
20 #endif  // BINDER_STABILITY_SUPPORT
21 
22 namespace aidl::android::hardware::audio::core::sounddose {
23 class ISoundDose;
24 }  // namespace aidl::android::hardware::audio::core::sounddose
25 namespace aidl {
26 namespace android {
27 namespace hardware {
28 namespace audio {
29 namespace sounddose {
30 class ISoundDoseFactoryDelegator;
31 
32 class ISoundDoseFactory : public ::ndk::ICInterface {
33 public:
34   typedef ISoundDoseFactoryDelegator DefaultDelegator;
35   static const char* descriptor;
36   ISoundDoseFactory();
37   virtual ~ISoundDoseFactory();
38 
39   static inline const int32_t version = true ? 2 : 3;
40   static inline const std::string hash = true ? "f4469ffc7efc70957cbc2c7175c55adda2272f70" : "notfrozen";
41   static constexpr uint32_t TRANSACTION_getSoundDose = FIRST_CALL_TRANSACTION + 0;
42 
43   static std::shared_ptr<ISoundDoseFactory> fromBinder(const ::ndk::SpAIBinder& binder);
44   static binder_status_t writeToParcel(AParcel* parcel, const std::shared_ptr<ISoundDoseFactory>& instance);
45   static binder_status_t readFromParcel(const AParcel* parcel, std::shared_ptr<ISoundDoseFactory>* instance);
46   static bool setDefaultImpl(const std::shared_ptr<ISoundDoseFactory>& impl);
47   static const std::shared_ptr<ISoundDoseFactory>& getDefaultImpl();
48   virtual ::ndk::ScopedAStatus getSoundDose(const std::string& in_module, std::shared_ptr<::aidl::android::hardware::audio::core::sounddose::ISoundDose>* _aidl_return) = 0;
49   virtual ::ndk::ScopedAStatus getInterfaceVersion(int32_t* _aidl_return) = 0;
50   virtual ::ndk::ScopedAStatus getInterfaceHash(std::string* _aidl_return) = 0;
51 private:
52   static std::shared_ptr<ISoundDoseFactory> default_impl;
53 };
54 class ISoundDoseFactoryDefault : public ISoundDoseFactory {
55 public:
56   ::ndk::ScopedAStatus getSoundDose(const std::string& in_module, std::shared_ptr<::aidl::android::hardware::audio::core::sounddose::ISoundDose>* _aidl_return) override;
57   ::ndk::ScopedAStatus getInterfaceVersion(int32_t* _aidl_return) override;
58   ::ndk::ScopedAStatus getInterfaceHash(std::string* _aidl_return) override;
59   ::ndk::SpAIBinder asBinder() override;
60   bool isRemote() override;
61 };
62 }  // namespace sounddose
63 }  // namespace audio
64 }  // namespace hardware
65 }  // namespace android
66 }  // namespace aidl
67