| #ifndef HIDL_GENERATED_ANDROID_HARDWARE_AUDIO_V6_0_BNHWSTREAM_H |
| #define HIDL_GENERATED_ANDROID_HARDWARE_AUDIO_V6_0_BNHWSTREAM_H |
| |
| #include <android/hardware/audio/6.0/IHwStream.h> |
| |
| namespace android { |
| namespace hardware { |
| namespace audio { |
| namespace V6_0 { |
| |
| struct BnHwStream : public ::android::hidl::base::V1_0::BnHwBase { |
| explicit BnHwStream(const ::android::sp<IStream> &_hidl_impl); |
| explicit BnHwStream(const ::android::sp<IStream> &_hidl_impl, const std::string& HidlInstrumentor_package, const std::string& HidlInstrumentor_interface); |
| |
| virtual ~BnHwStream(); |
| |
| ::android::status_t onTransact( |
| uint32_t _hidl_code, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| uint32_t _hidl_flags = 0, |
| TransactCallback _hidl_cb = nullptr) override; |
| |
| |
| /** |
| * The pure class is what this class wraps. |
| */ |
| typedef IStream Pure; |
| |
| /** |
| * Type tag for use in template logic that indicates this is a 'native' class. |
| */ |
| typedef ::android::hardware::details::bnhw_tag _hidl_tag; |
| |
| ::android::sp<IStream> getImpl() { return _hidl_mImpl; } |
| // Methods from ::android::hardware::audio::V6_0::IStream follow. |
| static ::android::status_t _hidl_getFrameSize( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_getFrameCount( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_getBufferSize( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_getSampleRate( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_getSupportedSampleRates( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_setSampleRate( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_getChannelMask( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_getSupportedChannelMasks( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_setChannelMask( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_getFormat( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_getSupportedFormats( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_setFormat( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_getAudioProperties( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_addEffect( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_removeEffect( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_standby( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_getDevices( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_setDevices( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_setHwAvSync( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_getParameters( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_setParameters( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_start( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_stop( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_createMmapBuffer( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_getMmapPosition( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| static ::android::status_t _hidl_close( |
| ::android::hidl::base::V1_0::BnHwBase* _hidl_this, |
| const ::android::hardware::Parcel &_hidl_data, |
| ::android::hardware::Parcel *_hidl_reply, |
| TransactCallback _hidl_cb); |
| |
| |
| |
| private: |
| // Methods from ::android::hardware::audio::V6_0::IStream follow. |
| |
| // Methods from ::android::hidl::base::V1_0::IBase follow. |
| ::android::hardware::Return<void> ping(); |
| using getDebugInfo_cb = ::android::hidl::base::V1_0::IBase::getDebugInfo_cb; |
| ::android::hardware::Return<void> getDebugInfo(getDebugInfo_cb _hidl_cb); |
| |
| ::android::sp<IStream> _hidl_mImpl; |
| }; |
| |
| } // namespace V6_0 |
| } // namespace audio |
| } // namespace hardware |
| } // namespace android |
| |
| #endif // HIDL_GENERATED_ANDROID_HARDWARE_AUDIO_V6_0_BNHWSTREAM_H |