/hardware/interfaces/vibrator/1.0/default/ |
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/vr/1.0/default/ |
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/libhardware/tests/fingerprint/ |
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);
|
/system/update_engine/ |
boot_control_recovery.cc | 57 const hw_module_t* hw_module; local 62 hw_module = &HAL_MODULE_INFO_SYM; 64 if (!hw_module || 65 strcmp(BOOT_CONTROL_HARDWARE_MODULE_ID, hw_module->id) != 0) { 74 const_cast<hw_module_t*>(hw_module)); 78 << "'" << hw_module->name << "' " 79 << "version " << (hw_module->module_api_version >> 8) << "." 80 << (hw_module->module_api_version & 0xff) << " " 81 << "authored by '" << hw_module->author << "'.";
|
/hardware/interfaces/ir/1.0/default/ |
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/interfaces/memtrack/1.0/default/ |
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/nfc/1.0/default/ |
Nfc.cpp | 83 const hw_module_t* hw_module = nullptr; local 85 ret = hw_get_module (NFC_NCI_HARDWARE_MODULE_ID, &hw_module); 87 ret = nfc_nci_open (hw_module, &nfc_device);
|
/hardware/libhardware/tests/camera3/ |
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/vehicle/ |
vehicle_test_fixtures.h | 35 const hw_module_t *hw_module = NULL; local 36 ASSERT_EQ(0, hw_get_module(VEHICLE_HARDWARE_MODULE_ID, &hw_module)) 38 ASSERT_TRUE(NULL != hw_module) 41 vehicle_module_ = reinterpret_cast<const vehicle_module_t*>(hw_module);
|
vehicle-hal-tool.c | 419 const hw_module_t *hw_module = NULL; local 420 int ret_code = hw_get_module(VEHICLE_HARDWARE_MODULE_ID, &hw_module); 426 vehicle_module_t *vehicle_module = (vehicle_module_t *)(hw_module); 428 ret_code = vehicle_module->common.methods->open(hw_module, NULL, &device);
|
/hardware/interfaces/power/1.0/default/ |
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/libhardware/modules/radio/ |
radio_hal_tool.c | 168 const hw_module_t *hw_module = NULL; local 170 rc = hw_get_module_by_class(RADIO_HARDWARE_MODULE_ID, RADIO_HARDWARE_MODULE_ID_FM, &hw_module); 177 rc = radio_hw_device_open(hw_module, &dev);
|
/hardware/interfaces/tv/cec/1.0/default/ |
HdmiCec.cpp | 390 const hw_module_t* hw_module = nullptr; local 392 ret = hw_get_module (HDMI_CEC_HARDWARE_MODULE_ID, &hw_module); 394 ret = hdmi_cec_open (hw_module, &hdmi_cec_device);
|
/hardware/interfaces/tv/input/1.0/default/ |
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,
|
/device/generic/goldfish/hwcomposer/ |
hwcomposer.cpp | 316 hw_module_t const* hw_module; local 317 ret = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &hw_module); 322 ret = framebuffer_open(hw_module, &pdev->fbdev);
|
/frameworks/base/services/core/jni/ |
com_android_server_fingerprint_FingerprintService.cpp | 202 const hw_module_t *hw_module = NULL; local 203 if (0 != (err = hw_get_module(FINGERPRINT_HARDWARE_MODULE_ID, &hw_module))) { 207 if (NULL == hw_module) { 212 gContext.module = reinterpret_cast<const fingerprint_module_t*>(hw_module); 221 if (0 != (err = gContext.module->common.methods->open(hw_module, NULL, &device))) {
|
/external/autotest/client/site_tests/graphics_Gralloc/src/ |
gralloctest.c | 237 hw_module_t const* hw_module; local 240 err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &hw_module); 243 gralloc_open(hw_module, device); 244 *module = (gralloc_module_t *) hw_module;
|
/hardware/libhardware/modules/sensors/ |
multihal.cpp | 612 hw_module_t *hw_module = *it; local 615 struct sensors_module_t *module = (struct sensors_module_t*) hw_module; 681 static int open_sensors(const struct hw_module_t* hw_module, const char* name, 692 dev->proxy_device.common.module = const_cast<hw_module_t*>(hw_module);
|
/system/bt/bta/sys/ |
bta_sys.h | 159 tBTA_SYS_HW_MODULE hw_module; member in struct:__anon105854
|
/system/media/audio/include/system/ |
audio.h | 384 audio_module_handle_t hw_module; /* module the device is attached to */ member in struct:audio_port_config_device_ext 392 audio_module_handle_t hw_module; /* module the stream is attached to */ member in struct:audio_port_config_mix_ext 437 audio_module_handle_t hw_module; /* module the device is attached to */ member in struct:audio_port_device_ext 444 audio_module_handle_t hw_module; /* module the stream is attached to */ member in struct:audio_port_mix_ext [all...] |