Felipe Leme | e83f9fb | 2016-11-15 15:08:47 -0800 | [diff] [blame^] | 1 | #ifndef ANDROID_HARDWARE_DUMPSTATE_V1_0_DUMPSTATEDEVICE_H |
| 2 | #define ANDROID_HARDWARE_DUMPSTATE_V1_0_DUMPSTATEDEVICE_H |
| 3 | |
| 4 | #include <android/hardware/dumpstate/1.0/IDumpstateDevice.h> |
| 5 | #include <hidl/MQDescriptor.h> |
| 6 | #include <hidl/Status.h> |
| 7 | |
| 8 | namespace android { |
| 9 | namespace hardware { |
| 10 | namespace dumpstate { |
| 11 | namespace V1_0 { |
| 12 | namespace implementation { |
| 13 | |
| 14 | using ::android::hardware::dumpstate::V1_0::IDumpstateDevice; |
| 15 | using ::android::hardware::hidl_array; |
| 16 | using ::android::hardware::hidl_string; |
| 17 | using ::android::hardware::hidl_vec; |
| 18 | using ::android::hardware::Return; |
| 19 | using ::android::hardware::Void; |
| 20 | using ::android::sp; |
| 21 | |
| 22 | struct DumpstateDevice : public IDumpstateDevice { |
| 23 | // Methods from ::android::hardware::dumpstate::V1_0::IDumpstateDevice follow. |
| 24 | Return<void> dumpstateBoard(const native_handle_t* fd) override; |
| 25 | |
| 26 | }; |
| 27 | |
| 28 | extern "C" IDumpstateDevice* HIDL_FETCH_IDumpstateDevice(const char* name); |
| 29 | |
| 30 | } // namespace implementation |
| 31 | } // namespace V1_0 |
| 32 | } // namespace dumpstate |
| 33 | } // namespace hardware |
| 34 | } // namespace android |
| 35 | |
| 36 | #endif // ANDROID_HARDWARE_DUMPSTATE_V1_0_DUMPSTATEDEVICE_H |