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/system/hardware/interfaces/media/android.media.audio.common.types_interface/4/preprocessed.aidl -pout/soong/.intermediates/hardware/interfaces/audio/aidl/android.hardware.audio.effect_interface/3/preprocessed.aidl -pout/soong/.intermediates/hardware/interfaces/audio/aidl/android.hardware.audio.core.sounddose_interface/3/preprocessed.aidl -pout/soong/.intermediates/hardware/interfaces/audio/aidl/android.hardware.audio.common_interface/4/preprocessed.aidl -pout/soong/.intermediates/hardware/interfaces/common/aidl/android.hardware.common_interface/2/preprocessed.aidl -pout/soong/.intermediates/hardware/interfaces/common/fmq/aidl/android.hardware.common.fmq_interface/1/preprocessed.aidl --previous_api_dir=hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.core/2 --previous_hash 003735b3fd3c94c53b02a6eb5e099731f7062610 --ninja -d out/soong/.intermediates/hardware/interfaces/audio/aidl/android.hardware.audio.core-V3-ndk-source/gen/staging/android/hardware/audio/core/IBluetoothA2dp.cpp.d -h out/soong/.intermediates/hardware/interfaces/audio/aidl/android.hardware.audio.core-V3-ndk-source/gen/include/staging -o out/soong/.intermediates/hardware/interfaces/audio/aidl/android.hardware.audio.core-V3-ndk-source/gen/staging -Nhardware/interfaces/audio/aidl hardware/interfaces/audio/aidl/android/hardware/audio/core/IBluetoothA2dp.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/VendorParameter.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 { 23 class VendorParameter; 24 } // namespace aidl::android::hardware::audio::core 25 namespace aidl { 26 namespace android { 27 namespace hardware { 28 namespace audio { 29 namespace core { 30 class IBluetoothA2dpDelegator; 31 32 class IBluetoothA2dp : public ::ndk::ICInterface { 33 public: 34 typedef IBluetoothA2dpDelegator DefaultDelegator; 35 static const char* descriptor; 36 IBluetoothA2dp(); 37 virtual ~IBluetoothA2dp(); 38 39 static inline const int32_t version = true ? 2 : 3; 40 static inline const std::string hash = true ? "003735b3fd3c94c53b02a6eb5e099731f7062610" : "notfrozen"; 41 static constexpr uint32_t TRANSACTION_isEnabled = FIRST_CALL_TRANSACTION + 0; 42 static constexpr uint32_t TRANSACTION_setEnabled = FIRST_CALL_TRANSACTION + 1; 43 static constexpr uint32_t TRANSACTION_supportsOffloadReconfiguration = FIRST_CALL_TRANSACTION + 2; 44 static constexpr uint32_t TRANSACTION_reconfigureOffload = FIRST_CALL_TRANSACTION + 3; 45 46 static std::shared_ptr<IBluetoothA2dp> fromBinder(const ::ndk::SpAIBinder& binder); 47 static binder_status_t writeToParcel(AParcel* parcel, const std::shared_ptr<IBluetoothA2dp>& instance); 48 static binder_status_t readFromParcel(const AParcel* parcel, std::shared_ptr<IBluetoothA2dp>* instance); 49 static bool setDefaultImpl(const std::shared_ptr<IBluetoothA2dp>& impl); 50 static const std::shared_ptr<IBluetoothA2dp>& getDefaultImpl(); 51 virtual ::ndk::ScopedAStatus isEnabled(bool* _aidl_return) = 0; 52 virtual ::ndk::ScopedAStatus setEnabled(bool in_enabled) = 0; 53 virtual ::ndk::ScopedAStatus supportsOffloadReconfiguration(bool* _aidl_return) = 0; 54 virtual ::ndk::ScopedAStatus reconfigureOffload(const std::vector<::aidl::android::hardware::audio::core::VendorParameter>& in_parameters) = 0; 55 virtual ::ndk::ScopedAStatus getInterfaceVersion(int32_t* _aidl_return) = 0; 56 virtual ::ndk::ScopedAStatus getInterfaceHash(std::string* _aidl_return) = 0; 57 private: 58 static std::shared_ptr<IBluetoothA2dp> default_impl; 59 }; 60 class IBluetoothA2dpDefault : public IBluetoothA2dp { 61 public: 62 ::ndk::ScopedAStatus isEnabled(bool* _aidl_return) override; 63 ::ndk::ScopedAStatus setEnabled(bool in_enabled) override; 64 ::ndk::ScopedAStatus supportsOffloadReconfiguration(bool* _aidl_return) override; 65 ::ndk::ScopedAStatus reconfigureOffload(const std::vector<::aidl::android::hardware::audio::core::VendorParameter>& in_parameters) override; 66 ::ndk::ScopedAStatus getInterfaceVersion(int32_t* _aidl_return) override; 67 ::ndk::ScopedAStatus getInterfaceHash(std::string* _aidl_return) override; 68 ::ndk::SpAIBinder asBinder() override; 69 bool isRemote() override; 70 }; 71 } // namespace core 72 } // namespace audio 73 } // namespace hardware 74 } // namespace android 75 } // namespace aidl 76