Home
last modified time | relevance | path

Searched refs:hw_module (Results 1 – 7 of 7) sorted by relevance

/system/update_engine/
Dboot_control_android.cc55 const hw_module_t* hw_module; in Init() local
61 hw_module = &HAL_MODULE_INFO_SYM; in Init()
63 if (!hw_module || in Init()
64 strcmp(BOOT_CONTROL_HARDWARE_MODULE_ID, hw_module->id) != 0) { in Init()
68 ret = hw_get_module(BOOT_CONTROL_HARDWARE_MODULE_ID, &hw_module); in Init()
75 module_ = reinterpret_cast<boot_control_module_t*>(const_cast<hw_module_t*>(hw_module)); in Init()
79 << "'" << hw_module->name << "' " in Init()
80 << "version " << (hw_module->module_api_version>>8) << "." in Init()
81 << (hw_module->module_api_version&0xff) << " " in Init()
82 << "authored by '" << hw_module->author << "'."; in Init()
/system/bt/bta/sys/
Dbta_sys_main.c338 bta_sys_cb.sys_hw_module_active |= ((UINT32)1 << p_sys_hw_msg->hw_module ); in bta_sys_hw_api_enable()
343 p_msg->hw_module = p_sys_hw_msg->hw_module; in bta_sys_hw_api_enable()
350 bta_sys_cb.sys_hw_module_active |= ((UINT32)1 << p_sys_hw_msg->hw_module ); in bta_sys_hw_api_enable()
353 if (bta_sys_cb.sys_hw_cback[p_sys_hw_msg->hw_module ]!= NULL ) in bta_sys_hw_api_enable()
354 bta_sys_cb.sys_hw_cback[p_sys_hw_msg->hw_module ]( BTA_SYS_HW_ON_EVT ); in bta_sys_hw_api_enable()
358 p_sys_hw_msg->hw_module, bta_sys_cb.sys_hw_module_active); in bta_sys_hw_api_enable()
375 p_sys_hw_msg->hw_module, bta_sys_cb.sys_hw_module_active ); in bta_sys_hw_api_disable()
378 bta_sys_disable( p_sys_hw_msg->hw_module ); in bta_sys_hw_api_disable()
382 bta_sys_cb.sys_hw_module_active &= ~((UINT32)1 << p_sys_hw_msg->hw_module ); in bta_sys_hw_api_disable()
389 if( bta_sys_cb.sys_hw_cback[p_sys_hw_msg->hw_module ]!= NULL ) in bta_sys_hw_api_disable()
[all …]
Dbta_sys.h162 tBTA_SYS_HW_MODULE hw_module; member
/system/extras/bootctl/
Dbootctl.c55 static int do_hal_info(const hw_module_t *hw_module) in do_hal_info() argument
61 hw_module->name, in do_hal_info()
62 hw_module->author, in do_hal_info()
63 hw_module->module_api_version>>8, in do_hal_info()
64 hw_module->module_api_version&0xff); in do_hal_info()
171 const hw_module_t *hw_module; in main() local
180 ret = hw_get_module("bootctrl", &hw_module); in main()
185 module = (boot_control_module_t*) hw_module; in main()
189 return do_hal_info(hw_module); in main()
/system/core/fingerprintd/
DFingerprintDaemonProxy.cpp197 const hw_module_t *hw_module = NULL; in openHal() local
198 if (0 != (err = hw_get_module(FINGERPRINT_HARDWARE_MODULE_ID, &hw_module))) { in openHal()
202 if (NULL == hw_module) { in openHal()
207 mModule = reinterpret_cast<const fingerprint_module_t*>(hw_module); in openHal()
216 if (0 != (err = mModule->common.methods->open(hw_module, NULL, &device))) { in openHal()
/system/media/audio/include/system/
Daudio.h997 audio_module_handle_t hw_module; /* module the device is attached to */ member
1005 audio_module_handle_t hw_module; /* module the stream is attached to */ member
1060 audio_module_handle_t hw_module; /* module the device is attached to */ member
1073 audio_module_handle_t hw_module; /* module the stream is attached to */ member
/system/bt/bta/dm/
Dbta_dm_act.c289 sys_enable_event->hw_module = BTA_SYS_HW_BLUETOOTH; in bta_dm_enable()
3369 sys_enable_event->hw_module = BTA_SYS_HW_BLUETOOTH; in bta_dm_disable_conn_down_timer_cback()