Martijn Coenen | 1b7297c | 2016-05-19 09:23:46 +0200 | [diff] [blame] | 1 | // AUTO_GENERATED FILE - DO NOT EDIT |
| 2 | // see system/tools/hidl/templates/ITemplate.h |
| 3 | #ifndef HIDL_GENERATED_ANDROID_HARDWARE_TESTS_I_Math_H_ |
| 4 | #define HIDL_GENERATED_ANDROID_HARDWARE_TESTS_I_Math_H_ |
| 5 | |
| 6 | #include <hwbinder/IBinder.h> |
| 7 | #include <hwbinder/IInterface.h> |
| 8 | #include <hwbinder/Status.h> |
| 9 | #include <cstdint> |
| 10 | #include <utils/StrongPointer.h> |
| 11 | |
| 12 | namespace android { |
| 13 | |
| 14 | namespace hardware { |
| 15 | |
| 16 | class IMath : public hidl::IInterface { |
| 17 | public: |
| 18 | DECLARE_META_INTERFACE(Math); |
| 19 | |
| 20 | virtual status_t sayHi( ) = 0; |
| 21 | virtual status_t doCalc(int32_t i , std::function<void(int32_t sum, int32_t product)> callback = nullptr) = 0; |
| 22 | |
| 23 | enum Call { |
| 24 | SAYHI = hidl::IBinder::FIRST_CALL_TRANSACTION + 0, |
| 25 | |
| 26 | DOCALC, |
| 27 | }; |
| 28 | }; // class IMath |
| 29 | |
| 30 | } // namespace hardware |
| 31 | |
| 32 | } // namespace android |
| 33 | |
| 34 | #endif // HIDL_GENERATED_ANDROID_HARDWARE_TESTS_I_Math_H_ |