Searched refs:hw_module (Results 1 – 6 of 6) sorted by relevance
/hardware/libhardware/tests/fingerprint/ |
D | fingerprint_test_fixtures.h | 35 const hw_module_t *hw_module = NULL; in SetUp() local 36 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()
|
/hardware/libhardware/tests/camera3/ |
D | camera3test_fixtures.h | 37 const hw_module_t *hw_module = NULL; in SetUp() local 38 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()
|
/hardware/libhardware/tests/vehicle/ |
D | vehicle_test_fixtures.h | 35 const hw_module_t *hw_module = NULL; in SetUp() local 36 ASSERT_EQ(0, hw_get_module(VEHICLE_HARDWARE_MODULE_ID, &hw_module)) in SetUp() 38 ASSERT_TRUE(NULL != hw_module) in SetUp() 41 vehicle_module_ = reinterpret_cast<const vehicle_module_t*>(hw_module); in SetUp()
|
D | vehicle-hal-tool.c | 418 const hw_module_t *hw_module = NULL; in main() local 419 int ret_code = hw_get_module(VEHICLE_HARDWARE_MODULE_ID, &hw_module); in main() 425 vehicle_module_t *vehicle_module = (vehicle_module_t *)(hw_module); in main() 427 ret_code = vehicle_module->common.methods->open(hw_module, NULL, &device); in main()
|
/hardware/libhardware/modules/radio/ |
D | radio_hal_tool.c | 168 const hw_module_t *hw_module = NULL; in main() local 170 rc = hw_get_module_by_class(RADIO_HARDWARE_MODULE_ID, RADIO_HARDWARE_MODULE_ID_FM, &hw_module); in main() 177 rc = radio_hw_device_open(hw_module, &dev); in main()
|
/hardware/libhardware/modules/sensors/ |
D | multihal.cpp | 561 hw_module_t *hw_module = *it; in lazy_init_sensors_list() local 564 struct sensors_module_t *module = (struct sensors_module_t*) hw_module; in lazy_init_sensors_list() 626 static int open_sensors(const struct hw_module_t* hw_module, const char* name, in open_sensors() argument 637 dev->proxy_device.common.module = const_cast<hw_module_t*>(hw_module); in open_sensors()
|