/hardware/interfaces/vr/1.0/default/ |
H A D | Vr.cpp | 46 const hw_module_t *hw_module = NULL; local 48 int ret = hw_get_module(VR_HARDWARE_MODULE_ID, &hw_module); 51 const_cast<hw_module_t*>(hw_module)));
|
/hardware/interfaces/memtrack/1.0/default/ |
H A D | Memtrack.cpp | 77 const hw_module_t* hw_module = nullptr; local 79 int err = hw_get_module(MEMTRACK_HARDWARE_MODULE_ID, &hw_module); 85 if (!hw_module->methods || !hw_module->methods->open) { 86 memtrack_module = reinterpret_cast<const memtrack_module_t*>(hw_module); 88 err = hw_module->methods->open(hw_module, MEMTRACK_HARDWARE_MODULE_ID,
|
/hardware/interfaces/ir/1.0/default/ |
H A D | ConsumerIr.cpp | 68 const hw_module_t *hw_module = NULL; local 70 int ret = hw_get_module(CONSUMERIR_HARDWARE_MODULE_ID, &hw_module); 75 ret = hw_module->methods->open(hw_module, CONSUMERIR_TRANSMITTER, (hw_device_t **) &dev);
|
/hardware/libhardware/tests/camera3/ |
H A D | camera3test_fixtures.h | 37 const hw_module_t *hw_module = NULL; local 38 ASSERT_EQ(0, hw_get_module(CAMERA_HARDWARE_MODULE_ID, &hw_module)) 40 ASSERT_TRUE(NULL != hw_module) 43 cam_module_ = reinterpret_cast<const camera_module_t*>(hw_module);
|
/hardware/libhardware/tests/fingerprint/ |
H A D | fingerprint_test_fixtures.h | 35 const hw_module_t *hw_module = NULL; local 36 ASSERT_EQ(0, hw_get_module(FINGERPRINT_HARDWARE_MODULE_ID, &hw_module)) 38 ASSERT_TRUE(NULL != hw_module) 41 fp_module_ = reinterpret_cast<const fingerprint_module_t*>(hw_module);
|
/hardware/interfaces/vibrator/1.0/default/ |
H A D | Vibrator.cpp | 70 const hw_module_t *hw_module = nullptr; local 72 int ret = hw_get_module(VIBRATOR_HARDWARE_MODULE_ID, &hw_module); 74 ret = vibrator_open(hw_module, &vib_device);
|
/hardware/interfaces/power/1.0/default/ |
H A D | Power.cpp | 148 const hw_module_t* hw_module = nullptr; local 150 int err = hw_get_module(POWER_HARDWARE_MODULE_ID, &hw_module); 156 if (!hw_module->methods || !hw_module->methods->open) { 158 const_cast<hw_module_t*>(hw_module)); 160 err = hw_module->methods->open( 161 hw_module, POWER_HARDWARE_MODULE_ID,
|
/hardware/interfaces/nfc/1.0/default/ |
H A D | Nfc.cpp | 81 const hw_module_t* hw_module = nullptr; local 83 ret = hw_get_module (NFC_NCI_HARDWARE_MODULE_ID, &hw_module); 85 ret = nfc_nci_open (hw_module, &nfc_device);
|
/hardware/interfaces/tv/input/1.0/default/ |
H A D | TvInput.cpp | 200 const hw_module_t* hw_module = nullptr; local 202 ret = hw_get_module(TV_INPUT_HARDWARE_MODULE_ID, &hw_module); 203 if (ret == 0 && hw_module->methods->open != nullptr) { 204 ret = hw_module->methods->open(hw_module, TV_INPUT_DEFAULT_DEVICE,
|
/hardware/libhardware/modules/radio/ |
H A D | radio_hal_tool.c | 170 const hw_module_t *hw_module = NULL; local 172 rc = hw_get_module_by_class(RADIO_HARDWARE_MODULE_ID, RADIO_HARDWARE_MODULE_ID_FM, &hw_module); 179 rc = radio_hw_device_open(hw_module, &dev);
|
/hardware/interfaces/audio/common/all-versions/default/include/common/all-versions/default/ |
H A D | HidlUtils.impl.h | 167 config->ext.device.hwModule = halConfig.ext.device.hw_module; 174 config->ext.mix.hwModule = halConfig.ext.mix.hw_module; 205 halConfig->ext.device.hw_module = config.ext.device.hwModule; 212 halConfig->ext.mix.hw_module = config.ext.mix.hwModule; 275 port->ext.device.hwModule = halPort.ext.device.hw_module; 282 port->ext.mix.hwModule = halPort.ext.mix.hw_module; 325 halPort->ext.device.hw_module = port.ext.device.hwModule; 332 halPort->ext.mix.hw_module = port.ext.mix.hwModule;
|
/hardware/interfaces/tv/cec/1.0/default/ |
H A D | HdmiCec.cpp | 397 const hw_module_t* hw_module = nullptr; local 399 ret = hw_get_module (HDMI_CEC_HARDWARE_MODULE_ID, &hw_module); 401 ret = hdmi_cec_open (hw_module, &hdmi_cec_device);
|
/hardware/libhardware/modules/sensors/ |
H A D | multihal.cpp | 712 hw_module_t *hw_module = *it; local 715 struct sensors_module_t *module = (struct sensors_module_t*) hw_module; 787 static int open_sensors(const struct hw_module_t* hw_module, const char* name, argument 798 dev->proxy_device.common.module = const_cast<hw_module_t*>(hw_module);
|