blob: 366888d54c80fe9b584c63e8dcc294a516cf4de7 [file] [log] [blame]
Felipe Lemee83f9fb2016-11-15 15:08:47 -08001#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
8namespace android {
9namespace hardware {
10namespace dumpstate {
11namespace V1_0 {
12namespace implementation {
13
14using ::android::hardware::dumpstate::V1_0::IDumpstateDevice;
15using ::android::hardware::hidl_array;
16using ::android::hardware::hidl_string;
17using ::android::hardware::hidl_vec;
18using ::android::hardware::Return;
19using ::android::hardware::Void;
20using ::android::sp;
21
22struct 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
28extern "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