#ifndef ANDROID_HARDWARE_TESTS_BAZ_V1_0_BAZ_H #define ANDROID_HARDWARE_TESTS_BAZ_V1_0_BAZ_H #include #include #include namespace android { namespace hardware { namespace tests { namespace baz { namespace V1_0 { namespace implementation { // using ::android::hardware::tests::baz::V1_0::IBase; using ::android::hardware::tests::baz::V1_0::IBaz; using ::android::hardware::tests::baz::V1_0::IBazCallback; using ::android::hidl::base::V1_0::DebugInfo; using ::android::hidl::base::V1_0::IBase; using ::android::hardware::hidl_array; using ::android::hardware::hidl_memory; using ::android::hardware::hidl_string; using ::android::hardware::hidl_vec; using ::android::hardware::Return; using ::android::hardware::Void; using ::android::sp; struct Baz : public IBaz { // Methods from ::android::hardware::tests::baz::V1_0::IBase follow. Return isJava() override; Return someBaseMethod() override; Return someBoolMethod(bool x) override; Return someBoolArrayMethod(const hidl_array& x, someBoolArrayMethod_cb _hidl_cb) override; Return someBoolVectorMethod(const hidl_vec& x, someBoolVectorMethod_cb _hidl_cb) override; Return someOtherBaseMethod(const IBase::Foo& foo, someOtherBaseMethod_cb _hidl_cb) override; Return someMethodWithFooArrays(const hidl_array& fooInput, someMethodWithFooArrays_cb _hidl_cb) override; Return someMethodWithFooVectors(const hidl_vec& fooInput, someMethodWithFooVectors_cb _hidl_cb) override; Return someMethodWithVectorOfArray(const IBase::VectorOfArray& in, someMethodWithVectorOfArray_cb _hidl_cb) override; Return someMethodTakingAVectorOfArray(const hidl_vec>& in, someMethodTakingAVectorOfArray_cb _hidl_cb) override; Return transpose(const IBase::StringMatrix5x3& in, transpose_cb _hidl_cb) override; Return transpose2(const hidl_array& in, transpose2_cb _hidl_cb) override; Return takeAMask(IBase::BitField bf, uint8_t first, const IBase::MyMask& second, uint8_t third, takeAMask_cb _hidl_cb) override; Return testArrays( const IBase::LotsOfPrimitiveArrays &in, testArrays_cb _hidl_cb) override; Return testByteVecs( const hidl_vec &in, testByteVecs_cb _hidl_cb) override; Return testBooleanVecs( const hidl_vec &in, testBooleanVecs_cb _hidl_cb) override; Return testDoubleVecs( const hidl_vec &in, testDoubleVecs_cb _hidl_cb) override; // Methods from ::android::hardware::tests::baz::V1_0::IBaz follow. Return doThis(float param) override; Return doThatAndReturnSomething(int64_t param) override; Return doQuiteABit(int32_t a, int64_t b, float c, double d) override; Return doSomethingElse(const hidl_array& param, doSomethingElse_cb _hidl_cb) override; Return doStuffAndReturnAString(doStuffAndReturnAString_cb _hidl_cb) override; Return mapThisVector(const hidl_vec& param, mapThisVector_cb _hidl_cb) override; Return callMe(const sp& cb) override; Return callMeLater(const sp& cb) override; Return iAmFreeNow() override; Return dieNow() override; Return useAnEnum(IBaz::SomeEnum zzz) override; Return haveSomeStrings(const hidl_array& array, haveSomeStrings_cb _hidl_cb) override; Return haveAStringVec(const hidl_vec& vector, haveAStringVec_cb _hidl_cb) override; Return repeatBitfieldVec(const hidl_vec& vector, repeatBitfieldVec_cb _hidl_cb) override; Return returnABunchOfStrings(returnABunchOfStrings_cb _hidl_cb) override; Return returnABitField() override; Return size(uint32_t size) override; Return getNestedStructs(getNestedStructs_cb _hidl_cb) override; Return haveSomeStructWithInterface(const StructWithInterface& swi, haveSomeStructWithInterface_cb _hidl_cb) override; // Methods from ::android::hidl::base::V1_0::IBase follow. private: sp mStoredCallback; }; extern "C" IBaz* HIDL_FETCH_IBaz(const char* name); } // namespace implementation } // namespace V1_0 } // namespace baz } // namespace tests } // namespace hardware } // namespace android #endif // ANDROID_HARDWARE_TESTS_BAZ_V1_0_BAZ_H