/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,
|
/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/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/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/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/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);
|
/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 | 421 const hw_module_t *hw_module = NULL; local 422 int ret_code = hw_get_module(VEHICLE_HARDWARE_MODULE_ID, &hw_module); 428 vehicle_module_t *vehicle_module = (vehicle_module_t *)(hw_module); 430 ret_code = vehicle_module->common.methods->open(hw_module, NULL, &device);
|
/system/bt/bta/sys/ |
bta_sys_main.cc | 317 bta_sys_cb.sys_hw_module_active |= ((uint32_t)1 << p_sys_hw_msg->hw_module); 322 p_msg->hw_module = p_sys_hw_msg->hw_module; 327 bta_sys_cb.sys_hw_module_active |= ((uint32_t)1 << p_sys_hw_msg->hw_module); 330 if (bta_sys_cb.sys_hw_cback[p_sys_hw_msg->hw_module] != NULL) 331 bta_sys_cb.sys_hw_cback[p_sys_hw_msg->hw_module](BTA_SYS_HW_ON_EVT); 335 p_sys_hw_msg->hw_module, bta_sys_cb.sys_hw_module_active); 351 p_sys_hw_msg->hw_module, bta_sys_cb.sys_hw_module_active); 354 bta_sys_disable(p_sys_hw_msg->hw_module); 357 bta_sys_cb.sys_hw_module_active &= ~((uint32_t)1 << p_sys_hw_msg->hw_module); [all...] |
bta_sys.h | 162 tBTA_SYS_HW_MODULE hw_module; member in struct:__anon113277
|
/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/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/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/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,
|
/hardware/libhardware/modules/radio/ |
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);
|
/frameworks/av/services/audioflinger/ |
PatchPanel.cpp | 187 (removedPatch->mAudioPatch.sources[0].ext.device.hw_module != 188 patch->sources[0].ext.device.hw_module))) { 189 hwModule = removedPatch->mAudioPatch.sources[0].ext.device.hw_module; 193 (removedPatch->mAudioPatch.sinks[0].ext.device.hw_module != 194 patch->sinks[0].ext.device.hw_module)))) { 200 hwModule = removedPatch->mAudioPatch.sinks[0].ext.device.hw_module; 222 audio_module_handle_t srcModule = patch->sources[0].ext.device.hw_module; 233 patch->sinks[i].ext.mix.hw_module != srcModule) && 253 ((patch->sinks[0].ext.device.hw_module != srcModule) || 257 (patch->num_sinks != 0 && patch->sinks[0].ext.device.hw_module ! [all...] |
/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))) {
|
/hardware/interfaces/audio/common/2.0/default/ |
HidlUtils.cpp | 141 config->ext.device.hwModule = halConfig.ext.device.hw_module; 149 config->ext.mix.hwModule = halConfig.ext.mix.hw_module; 179 halConfig->ext.device.hw_module = config.ext.device.hwModule; 187 halConfig->ext.mix.hw_module = config.ext.mix.hwModule; 249 port->ext.device.hwModule = halPort.ext.device.hw_module; 257 port->ext.mix.hwModule = halPort.ext.mix.hw_module; 300 halPort->ext.device.hw_module = port.ext.device.hwModule; 308 halPort->ext.mix.hw_module = port.ext.mix.hwModule;
|
/device/generic/goldfish/hwcomposer/ |
hwcomposer.cpp | 317 hw_module_t const* hw_module; local 318 ret = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &hw_module); 323 ret = framebuffer_open(hw_module, &pdev->fbdev);
|
/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...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
AudioInputDescriptor.cpp | 87 dstConfig->ext.mix.hw_module = getModuleHandle(); 99 port->ext.mix.hw_module = getModuleHandle();
|
DeviceDescriptor.cpp | 251 dstConfig->ext.device.hw_module = mModule != 0 ? mModule->mHandle : AUDIO_MODULE_HANDLE_NONE; 262 port->ext.device.hw_module = mModule->mHandle;
|
/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);
|
/external/autotest/client/site_tests/graphics_Gralloc/src/ |
gralloctest.c | 260 hw_module_t const *hw_module; local 263 err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &hw_module); 267 gralloc_open(hw_module, &ctx->device); 268 ctx->module = (gralloc_module_t *)hw_module;
|
/hardware/libhardware/modules/sensors/ |
multihal.cpp | 720 hw_module_t *hw_module = *it; local 723 struct sensors_module_t *module = (struct sensors_module_t*) hw_module; 795 static int open_sensors(const struct hw_module_t* hw_module, const char* name, 806 dev->proxy_device.common.module = const_cast<hw_module_t*>(hw_module);
|