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/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/tv/tuner/aidl/aidl_api/android.hardware.tv.tuner/2 --previous_hash f8d74c149f04e76b6d622db2bd8e465dae24b08c --ninja -d out/soong/.intermediates/hardware/interfaces/tv/tuner/aidl/android.hardware.tv.tuner-V3-ndk-source/gen/staging/android/hardware/tv/tuner/IFilter.cpp.d -h out/soong/.intermediates/hardware/interfaces/tv/tuner/aidl/android.hardware.tv.tuner-V3-ndk-source/gen/include/staging -o out/soong/.intermediates/hardware/interfaces/tv/tuner/aidl/android.hardware.tv.tuner-V3-ndk-source/gen/staging -Nhardware/interfaces/tv/tuner/aidl hardware/interfaces/tv/tuner/aidl/android/hardware/tv/tuner/IFilter.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/common/NativeHandle.h> 18 #include <aidl/android/hardware/common/fmq/MQDescriptor.h> 19 #include <aidl/android/hardware/common/fmq/SynchronizedReadWrite.h> 20 #include <aidl/android/hardware/tv/tuner/AvStreamType.h> 21 #include <aidl/android/hardware/tv/tuner/DemuxFilterSettings.h> 22 #include <aidl/android/hardware/tv/tuner/FilterDelayHint.h> 23 #include <aidl/android/hardware/tv/tuner/IFilter.h> 24 #ifdef BINDER_STABILITY_SUPPORT 25 #include <android/binder_stability.h> 26 #endif // BINDER_STABILITY_SUPPORT 27 28 namespace aidl::android::hardware::common { 29 class NativeHandle; 30 } // namespace aidl::android::hardware::common 31 namespace aidl::android::hardware::common::fmq { 32 template <typename T, typename Flavor> 33 class MQDescriptor; 34 } // namespace aidl::android::hardware::common::fmq 35 namespace aidl::android::hardware::tv::tuner { 36 class FilterDelayHint; 37 class IFilter; 38 } // namespace aidl::android::hardware::tv::tuner 39 namespace aidl { 40 namespace android { 41 namespace hardware { 42 namespace tv { 43 namespace tuner { 44 class IFilterDelegator; 45 46 class IFilter : public ::ndk::ICInterface { 47 public: 48 typedef IFilterDelegator DefaultDelegator; 49 static const char* descriptor; 50 IFilter(); 51 virtual ~IFilter(); 52 53 static inline const int32_t version = true ? 2 : 3; 54 static inline const std::string hash = true ? "f8d74c149f04e76b6d622db2bd8e465dae24b08c" : "notfrozen"; 55 static constexpr uint32_t TRANSACTION_getQueueDesc = FIRST_CALL_TRANSACTION + 0; 56 static constexpr uint32_t TRANSACTION_close = FIRST_CALL_TRANSACTION + 1; 57 static constexpr uint32_t TRANSACTION_configure = FIRST_CALL_TRANSACTION + 2; 58 static constexpr uint32_t TRANSACTION_configureAvStreamType = FIRST_CALL_TRANSACTION + 3; 59 static constexpr uint32_t TRANSACTION_configureIpCid = FIRST_CALL_TRANSACTION + 4; 60 static constexpr uint32_t TRANSACTION_configureMonitorEvent = FIRST_CALL_TRANSACTION + 5; 61 static constexpr uint32_t TRANSACTION_start = FIRST_CALL_TRANSACTION + 6; 62 static constexpr uint32_t TRANSACTION_stop = FIRST_CALL_TRANSACTION + 7; 63 static constexpr uint32_t TRANSACTION_flush = FIRST_CALL_TRANSACTION + 8; 64 static constexpr uint32_t TRANSACTION_getAvSharedHandle = FIRST_CALL_TRANSACTION + 9; 65 static constexpr uint32_t TRANSACTION_getId = FIRST_CALL_TRANSACTION + 10; 66 static constexpr uint32_t TRANSACTION_getId64Bit = FIRST_CALL_TRANSACTION + 11; 67 static constexpr uint32_t TRANSACTION_releaseAvHandle = FIRST_CALL_TRANSACTION + 12; 68 static constexpr uint32_t TRANSACTION_setDataSource = FIRST_CALL_TRANSACTION + 13; 69 static constexpr uint32_t TRANSACTION_setDelayHint = FIRST_CALL_TRANSACTION + 14; 70 71 static std::shared_ptr<IFilter> fromBinder(const ::ndk::SpAIBinder& binder); 72 static binder_status_t writeToParcel(AParcel* parcel, const std::shared_ptr<IFilter>& instance); 73 static binder_status_t readFromParcel(const AParcel* parcel, std::shared_ptr<IFilter>* instance); 74 static bool setDefaultImpl(const std::shared_ptr<IFilter>& impl); 75 static const std::shared_ptr<IFilter>& getDefaultImpl(); 76 virtual ::ndk::ScopedAStatus getQueueDesc(::aidl::android::hardware::common::fmq::MQDescriptor<int8_t, ::aidl::android::hardware::common::fmq::SynchronizedReadWrite>* out_queue) = 0; 77 virtual ::ndk::ScopedAStatus close() = 0; 78 virtual ::ndk::ScopedAStatus configure(const ::aidl::android::hardware::tv::tuner::DemuxFilterSettings& in_settings) = 0; 79 virtual ::ndk::ScopedAStatus configureAvStreamType(const ::aidl::android::hardware::tv::tuner::AvStreamType& in_avStreamType) = 0; 80 virtual ::ndk::ScopedAStatus configureIpCid(int32_t in_ipCid) = 0; 81 virtual ::ndk::ScopedAStatus configureMonitorEvent(int32_t in_monitorEventTypes) = 0; 82 virtual ::ndk::ScopedAStatus start() = 0; 83 virtual ::ndk::ScopedAStatus stop() = 0; 84 virtual ::ndk::ScopedAStatus flush() = 0; 85 virtual ::ndk::ScopedAStatus getAvSharedHandle(::aidl::android::hardware::common::NativeHandle* out_avMemory, int64_t* _aidl_return) = 0; 86 virtual ::ndk::ScopedAStatus getId(int32_t* _aidl_return) = 0; 87 virtual ::ndk::ScopedAStatus getId64Bit(int64_t* _aidl_return) = 0; 88 virtual ::ndk::ScopedAStatus releaseAvHandle(const ::aidl::android::hardware::common::NativeHandle& in_avMemory, int64_t in_avDataId) = 0; 89 virtual ::ndk::ScopedAStatus setDataSource(const std::shared_ptr<::aidl::android::hardware::tv::tuner::IFilter>& in_filter) = 0; 90 virtual ::ndk::ScopedAStatus setDelayHint(const ::aidl::android::hardware::tv::tuner::FilterDelayHint& in_hint) = 0; 91 virtual ::ndk::ScopedAStatus getInterfaceVersion(int32_t* _aidl_return) = 0; 92 virtual ::ndk::ScopedAStatus getInterfaceHash(std::string* _aidl_return) = 0; 93 private: 94 static std::shared_ptr<IFilter> default_impl; 95 }; 96 class IFilterDefault : public IFilter { 97 public: 98 ::ndk::ScopedAStatus getQueueDesc(::aidl::android::hardware::common::fmq::MQDescriptor<int8_t, ::aidl::android::hardware::common::fmq::SynchronizedReadWrite>* out_queue) override; 99 ::ndk::ScopedAStatus close() override; 100 ::ndk::ScopedAStatus configure(const ::aidl::android::hardware::tv::tuner::DemuxFilterSettings& in_settings) override; 101 ::ndk::ScopedAStatus configureAvStreamType(const ::aidl::android::hardware::tv::tuner::AvStreamType& in_avStreamType) override; 102 ::ndk::ScopedAStatus configureIpCid(int32_t in_ipCid) override; 103 ::ndk::ScopedAStatus configureMonitorEvent(int32_t in_monitorEventTypes) override; 104 ::ndk::ScopedAStatus start() override; 105 ::ndk::ScopedAStatus stop() override; 106 ::ndk::ScopedAStatus flush() override; 107 ::ndk::ScopedAStatus getAvSharedHandle(::aidl::android::hardware::common::NativeHandle* out_avMemory, int64_t* _aidl_return) override; 108 ::ndk::ScopedAStatus getId(int32_t* _aidl_return) override; 109 ::ndk::ScopedAStatus getId64Bit(int64_t* _aidl_return) override; 110 ::ndk::ScopedAStatus releaseAvHandle(const ::aidl::android::hardware::common::NativeHandle& in_avMemory, int64_t in_avDataId) override; 111 ::ndk::ScopedAStatus setDataSource(const std::shared_ptr<::aidl::android::hardware::tv::tuner::IFilter>& in_filter) override; 112 ::ndk::ScopedAStatus setDelayHint(const ::aidl::android::hardware::tv::tuner::FilterDelayHint& in_hint) override; 113 ::ndk::ScopedAStatus getInterfaceVersion(int32_t* _aidl_return) override; 114 ::ndk::ScopedAStatus getInterfaceHash(std::string* _aidl_return) override; 115 ::ndk::SpAIBinder asBinder() override; 116 bool isRemote() override; 117 }; 118 } // namespace tuner 119 } // namespace tv 120 } // namespace hardware 121 } // namespace android 122 } // namespace aidl 123