blob: f94813da69d12859396f5ffcf6f2f24d9abc5456 [file] [log] [blame]
#ifndef HIDL_GENERATED_ANDROID_HARDWARE_MEDIA_C2_V1_0_BNHWCOMPONENT_H
#define HIDL_GENERATED_ANDROID_HARDWARE_MEDIA_C2_V1_0_BNHWCOMPONENT_H
#include <android/hardware/media/c2/1.0/IHwComponent.h>
namespace android {
namespace hardware {
namespace media {
namespace c2 {
namespace V1_0 {
struct BnHwComponent : public ::android::hidl::base::V1_0::BnHwBase {
explicit BnHwComponent(const ::android::sp<IComponent> &_hidl_impl);
explicit BnHwComponent(const ::android::sp<IComponent> &_hidl_impl, const std::string& HidlInstrumentor_package, const std::string& HidlInstrumentor_interface);
virtual ~BnHwComponent();
::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 IComponent 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<IComponent> getImpl() { return _hidl_mImpl; }
// Methods from ::android::hardware::media::c2::V1_0::IComponent follow.
static ::android::status_t _hidl_queue(
::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_flush(
::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_drain(
::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_setOutputSurface(
::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_connectToInputSurface(
::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_connectToOmxInputSurface(
::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_disconnectFromInputSurface(
::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_createBlockPool(
::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_destroyBlockPool(
::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_reset(
::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_release(
::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_getInterface(
::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_asInputSink(
::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::media::c2::V1_0::IComponent 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<IComponent> _hidl_mImpl;
};
} // namespace V1_0
} // namespace c2
} // namespace media
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_ANDROID_HARDWARE_MEDIA_C2_V1_0_BNHWCOMPONENT_H