Searched refs:hw_module (Results 1 – 3 of 3) sorted by relevance
35 const hw_module_t *hw_module = NULL; in SetUp() local36 ASSERT_EQ(0, hw_get_module(FINGERPRINT_HARDWARE_MODULE_ID, &hw_module)) in SetUp()38 ASSERT_TRUE(NULL != hw_module) in SetUp()41 fp_module_ = reinterpret_cast<const fingerprint_module_t*>(hw_module); in SetUp()
37 const hw_module_t *hw_module = NULL; in SetUp() local38 ASSERT_EQ(0, hw_get_module(CAMERA_HARDWARE_MODULE_ID, &hw_module)) in SetUp()40 ASSERT_TRUE(NULL != hw_module) in SetUp()43 cam_module_ = reinterpret_cast<const camera_module_t*>(hw_module); in SetUp()
579 hw_module_t *hw_module = *it; in lazy_init_sensors_list() local582 struct sensors_module_t *module = (struct sensors_module_t*) hw_module; in lazy_init_sensors_list()644 static int open_sensors(const struct hw_module_t* hw_module, const char* name, in open_sensors() argument655 dev->proxy_device.common.module = const_cast<hw_module_t*>(hw_module); in open_sensors()