18 #ifndef MIR_TEST_DOUBLES_MOCK_ANDROID_HW_H_
19 #define MIR_TEST_DOUBLES_MOCK_ANDROID_HW_H_
24 #include <hardware/hardware.h>
25 #include <gmock/gmock.h>
41 static int hw_open(
const struct hw_module_t* module,
const char*,
struct hw_device_t** device);
42 static int hw_close(
struct hw_device_t*);
52 static int hw_open(
const struct hw_module_t* module,
const char*,
struct hw_device_t** device);
53 static int hw_close(
struct hw_device_t*);
63 MOCK_METHOD2(hw_get_module,
int(
const char *
id,
const struct hw_module_t**));