| #ifndef HIDL_GENERATED_ANDROID_HARDWARE_GRAPHICS_MAPPER_V4_0_BNHWMAPPER_H |
| #define HIDL_GENERATED_ANDROID_HARDWARE_GRAPHICS_MAPPER_V4_0_BNHWMAPPER_H |
| |
| #include <android/hardware/graphics/mapper/4.0/IHwMapper.h> |
| |
| namespace android { |
| namespace hardware { |
| namespace graphics { |
| namespace mapper { |
| namespace V4_0 { |
| |
| struct BnHwMapper : public ::android::hidl::base::V1_0::BnHwBase { |
| explicit BnHwMapper(const ::android::sp<IMapper> &_hidl_impl); |
| explicit BnHwMapper(const ::android::sp<IMapper> &_hidl_impl, const std::string& HidlInstrumentor_package, const std::string& HidlInstrumentor_interface); |
| |
| virtual ~BnHwMapper(); |
| |
| ::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 IMapper 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<IMapper> getImpl() { return _hidl_mImpl; } |
| // Methods from ::android::hardware::graphics::mapper::V4_0::IMapper follow. |
| static ::android::status_t _hidl_createDescriptor( |
| ::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_importBuffer( |
| ::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_freeBuffer( |
| ::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_validateBufferSize( |
| ::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_getTransportSize( |
| ::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_lock( |
| ::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_unlock( |
| ::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_flushLockedBuffer( |
| ::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_rereadLockedBuffer( |
| ::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_isSupported( |
| ::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_get( |
| ::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_set( |
| ::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_getFromBufferDescriptorInfo( |
| ::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_listSupportedMetadataTypes( |
| ::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_dumpBuffer( |
| ::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_dumpBuffers( |
| ::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_getReservedRegion( |
| ::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::mapper::V4_0::IMapper 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<IMapper> _hidl_mImpl; |
| }; |
| |
| } // namespace V4_0 |
| } // namespace mapper |
| } // namespace graphics |
| } // namespace hardware |
| } // namespace android |
| |
| #endif // HIDL_GENERATED_ANDROID_HARDWARE_GRAPHICS_MAPPER_V4_0_BNHWMAPPER_H |