HomeSort by relevance Sort by last modified time
    Searched refs:hw_module (Results 1 - 25 of 26) sorted by null

1 2

  /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 56 const hw_module_t* hw_module; local
61 hw_module = &HAL_MODULE_INFO_SYM;
63 if (!hw_module ||
64 strcmp(BOOT_CONTROL_HARDWARE_MODULE_ID, hw_module->id) != 0) {
73 const_cast<hw_module_t*>(hw_module));
77 << "'" << hw_module->name << "' "
78 << "version " << (hw_module->module_api_version >> 8) << "."
79 << (hw_module->module_api_version & 0xff) << " "
80 << "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);
  /system/bt/bta/sys/
bta_sys_main.cc 321 bta_sys_cb.sys_hw_module_active |= ((uint32_t)1 << p_sys_hw_msg->hw_module);
326 p_msg->hw_module = p_sys_hw_msg->hw_module;
331 bta_sys_cb.sys_hw_module_active |= ((uint32_t)1 << p_sys_hw_msg->hw_module);
334 if (bta_sys_cb.sys_hw_cback[p_sys_hw_msg->hw_module] != NULL)
335 bta_sys_cb.sys_hw_cback[p_sys_hw_msg->hw_module](BTA_SYS_HW_ON_EVT);
339 p_sys_hw_msg->hw_module, bta_sys_cb.sys_hw_module_active);
355 p_sys_hw_msg->hw_module, bta_sys_cb.sys_hw_module_active);
358 bta_sys_disable(p_sys_hw_msg->hw_module);
361 bta_sys_cb.sys_hw_module_active &= ~((uint32_t)1 << p_sys_hw_msg->hw_module);
    [all...]
bta_sys.h 163 tBTA_SYS_HW_MODULE hw_module; member in struct:__anon1677
  /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 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/
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...]
Threads.cpp     [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/all-versions/default/include/common/all-versions/default/
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;
  /device/generic/goldfish/hwcomposer/
hwcomposer.cpp 322 hw_module_t const* hw_module; local
323 ret = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &hw_module);
328 ret = framebuffer_open(hw_module, &pdev->fbdev);
  /hardware/interfaces/tv/cec/1.0/default/
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);
  /system/media/audio/include/system/
audio.h 393 audio_module_handle_t hw_module; /* module the device is attached to */ member in struct:audio_port_config_device_ext
401 audio_module_handle_t hw_module; /* module the stream is attached to */ member in struct:audio_port_config_mix_ext
446 audio_module_handle_t hw_module; /* module the device is attached to */ member in struct:audio_port_device_ext
453 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 84 dstConfig->ext.mix.hw_module = getModuleHandle();
96 port->ext.mix.hw_module = getModuleHandle();
DeviceDescriptor.cpp 249 dstConfig->ext.device.hw_module =
261 port->ext.device.hw_module = mModule->getHandle();
AudioOutputDescriptor.cpp 175 dstConfig->ext.mix.hw_module = getModuleHandle();
184 port->ext.mix.hw_module = getModuleHandle();
  /hardware/libhardware/modules/sensors/
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,
798 dev->proxy_device.common.module = const_cast<hw_module_t*>(hw_module);
  /system/bt/bta/dm/
bta_dm_act.cc 275 sys_enable_event->hw_module = BTA_SYS_HW_BLUETOOTH;
    [all...]

Completed in 412 milliseconds

1 2