#ifndef ANDROID_HARDWARE_TESTS_FOO_V1_0_FOOCALLBACK_H #define ANDROID_HARDWARE_TESTS_FOO_V1_0_FOOCALLBACK_H #include #include #include #include namespace android { namespace hardware { namespace tests { namespace foo { namespace V1_0 { namespace implementation { using ::android::hardware::tests::foo::V1_0::IFooCallback; using ::android::hardware::Return; using ::android::hardware::Void; using ::android::hardware::hidl_vec; using ::android::hardware::hidl_string; using ::android::sp; struct FooCallback : public IFooCallback { FooCallback(); // Methods from ::android::hardware::tests::foo::V1_0::IFooCallback follow. Return heyItsYou(const sp& cb) override; Return heyItsYouIsntIt(const sp& cb) override; Return heyItsTheMeaningOfLife(uint8_t tmol) override; Return reportResults(int64_t ns, reportResults_cb _hidl_cb) override; Return youBlockedMeFor(const hidl_array& callerBlockedInfo) override; hidl_array invokeInfo; Mutex mLock; Condition mCond; }; extern "C" IFooCallback* HIDL_FETCH_IFooCallback(const char* name); } // namespace implementation } // namespace V1_0 } // namespace foo } // namespace tests } // namespace hardware } // namespace android #endif // ANDROID_HARDWARE_TESTS_FOO_V1_0_FOOCALLBACK_H