94a069e8dc
The dumpstate hal passes a hild_handle, but DumpstateDefault was expecting a native_handle_t*. This was exposed when Id7dbc646b50f132e240bfbba719a2d36585ccc35 caused the Android.mk file to be picked up. Bug: 31982882 Bug: 32089785 Test: builds Change-Id: I48c84b6d19a93ceb0641be517f378fd6aba45962
37 lines
1.1 KiB
C++
37 lines
1.1 KiB
C++
#ifndef ANDROID_HARDWARE_DUMPSTATE_V1_0_DUMPSTATEDEVICE_H
|
|
#define ANDROID_HARDWARE_DUMPSTATE_V1_0_DUMPSTATEDEVICE_H
|
|
|
|
#include <android/hardware/dumpstate/1.0/IDumpstateDevice.h>
|
|
#include <hidl/MQDescriptor.h>
|
|
#include <hidl/Status.h>
|
|
|
|
namespace android {
|
|
namespace hardware {
|
|
namespace dumpstate {
|
|
namespace V1_0 {
|
|
namespace implementation {
|
|
|
|
using ::android::hardware::dumpstate::V1_0::IDumpstateDevice;
|
|
using ::android::hardware::hidl_array;
|
|
using ::android::hardware::hidl_handle;
|
|
using ::android::hardware::hidl_string;
|
|
using ::android::hardware::hidl_vec;
|
|
using ::android::hardware::Return;
|
|
using ::android::hardware::Void;
|
|
using ::android::sp;
|
|
|
|
struct DumpstateDevice : public IDumpstateDevice {
|
|
// Methods from ::android::hardware::dumpstate::V1_0::IDumpstateDevice follow.
|
|
Return<void> dumpstateBoard(const hidl_handle& h) override;
|
|
|
|
};
|
|
|
|
extern "C" IDumpstateDevice* HIDL_FETCH_IDumpstateDevice(const char* name);
|
|
|
|
} // namespace implementation
|
|
} // namespace V1_0
|
|
} // namespace dumpstate
|
|
} // namespace hardware
|
|
} // namespace android
|
|
|
|
#endif // ANDROID_HARDWARE_DUMPSTATE_V1_0_DUMPSTATEDEVICE_H
|