blob: 4ccb5ed61ada1d720995f2fa719ea6bc0f5146dc [file] [log] [blame]
Martijn Coenen1b7297c2016-05-19 09:23:46 +02001// 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
12namespace android {
13
14namespace hardware {
15
16class IMath : public hidl::IInterface {
17public:
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
23enum Call {
24 SAYHI = hidl::IBinder::FIRST_CALL_TRANSACTION + 0,
25
26DOCALC,
27};
28}; // class IMath
29
30} // namespace hardware
31
32} // namespace android
33
34#endif // HIDL_GENERATED_ANDROID_HARDWARE_TESTS_I_Math_H_