blob: 5241fa9bacf1eef1a6f6467b4d24c2c137f156e0 [file] [log] [blame]
#ifndef HIDL_GENERATED_ANDROID_HARDWARE_GRAPHICS_BUFFERQUEUE_V2_0_BNHWGRAPHICBUFFERPRODUCER_H
#define HIDL_GENERATED_ANDROID_HARDWARE_GRAPHICS_BUFFERQUEUE_V2_0_BNHWGRAPHICBUFFERPRODUCER_H
#include <android/hardware/graphics/bufferqueue/2.0/IHwGraphicBufferProducer.h>
namespace android {
namespace hardware {
namespace graphics {
namespace bufferqueue {
namespace V2_0 {
struct BnHwGraphicBufferProducer : public ::android::hidl::base::V1_0::BnHwBase {
explicit BnHwGraphicBufferProducer(const ::android::sp<IGraphicBufferProducer> &_hidl_impl);
explicit BnHwGraphicBufferProducer(const ::android::sp<IGraphicBufferProducer> &_hidl_impl, const std::string& HidlInstrumentor_package, const std::string& HidlInstrumentor_interface);
virtual ~BnHwGraphicBufferProducer();
::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 IGraphicBufferProducer 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<IGraphicBufferProducer> getImpl() { return _hidl_mImpl; }
// Methods from ::android::hardware::graphics::bufferqueue::V2_0::IGraphicBufferProducer follow.
static ::android::status_t _hidl_setMaxDequeuedBufferCount(
::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_requestBuffer(
::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_setAsyncMode(
::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_dequeueBuffer(
::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_detachBuffer(
::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_detachNextBuffer(
::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_attachBuffer(
::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_queueBuffer(
::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_cancelBuffer(
::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_query(
::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_connect(
::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_disconnect(
::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_allocateBuffers(
::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_allowAllocation(
::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_setGenerationNumber(
::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_setDequeueTimeout(
::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_getUniqueId(
::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_getConsumerName(
::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::graphics::bufferqueue::V2_0::IGraphicBufferProducer 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<IGraphicBufferProducer> _hidl_mImpl;
};
} // namespace V2_0
} // namespace bufferqueue
} // namespace graphics
} // namespace hardware
} // namespace android
#endif // HIDL_GENERATED_ANDROID_HARDWARE_GRAPHICS_BUFFERQUEUE_V2_0_BNHWGRAPHICBUFFERPRODUCER_H