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

  /bootable/recovery/update_verifier/
update_verifier.cpp 48 const hw_module_t* hw_module; local
49 if (hw_get_module("bootctrl", &hw_module) != 0) {
55 const_cast<hw_module_t*>(hw_module));
  /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 418 const hw_module_t *hw_module = NULL; local
419 int ret_code = hw_get_module(VEHICLE_HARDWARE_MODULE_ID, &hw_module);
425 vehicle_module_t *vehicle_module = (vehicle_module_t *)(hw_module);
427 ret_code = vehicle_module->common.methods->open(hw_module, NULL, &device);
  /system/extras/bootctl/
bootctl.c 55 static int do_hal_info(const hw_module_t *hw_module)
61 hw_module->name,
62 hw_module->author,
63 hw_module->module_api_version>>8,
64 hw_module->module_api_version&0xff);
171 const hw_module_t *hw_module; local
180 ret = hw_get_module("bootctrl", &hw_module);
185 module = (boot_control_module_t*) hw_module;
189 return do_hal_info(hw_module);
  /system/bt/bta/sys/
bta_sys_main.c 338 bta_sys_cb.sys_hw_module_active |= ((UINT32)1 << p_sys_hw_msg->hw_module );
343 p_msg->hw_module = p_sys_hw_msg->hw_module;
350 bta_sys_cb.sys_hw_module_active |= ((UINT32)1 << p_sys_hw_msg->hw_module );
353 if (bta_sys_cb.sys_hw_cback[p_sys_hw_msg->hw_module ]!= NULL )
354 bta_sys_cb.sys_hw_cback[p_sys_hw_msg->hw_module ]( BTA_SYS_HW_ON_EVT );
358 p_sys_hw_msg->hw_module, bta_sys_cb.sys_hw_module_active);
375 p_sys_hw_msg->hw_module, bta_sys_cb.sys_hw_module_active );
378 bta_sys_disable( p_sys_hw_msg->hw_module );
382 bta_sys_cb.sys_hw_module_active &= ~((UINT32)1 << p_sys_hw_msg->hw_module );
    [all...]
bta_sys.h 162 tBTA_SYS_HW_MODULE hw_module; member in struct:__anon72144
  /system/update_engine/
boot_control_android.cc 69 const hw_module_t* hw_module; local
72 ret = hw_get_module(BOOT_CONTROL_HARDWARE_MODULE_ID, &hw_module);
78 module_ = reinterpret_cast<boot_control_module_t*>(const_cast<hw_module_t*>(hw_module));
82 << "'" << hw_module->name << "' "
83 << "version " << (hw_module->module_api_version>>8) << "."
84 << (hw_module->module_api_version&0xff) << " "
85 << "authored by '" << hw_module->author << "'.";
  /frameworks/av/services/audioflinger/
PatchPanel.cpp 188 audio_module_handle_t srcModule = patch->sources[0].ext.device.hw_module;
199 patch->sinks[i].ext.mix.hw_module != srcModule) &&
219 ((patch->sinks[0].ext.device.hw_module != srcModule) ||
223 (patch->num_sinks != 0 && patch->sinks[0].ext.device.hw_module !=
224 patch->sources[1].ext.mix.hw_module)) {
244 patch->sinks[0].ext.device.hw_module,
324 audio_module_handle_t srcModule = patch->sources[0].ext.mix.hw_module;
341 if (patch->sinks[i].ext.device.hw_module != srcModule) {
562 audio_module_handle_t srcModule = patch->sources[0].ext.device.hw_module;
597 audio_module_handle_t srcModule = patch->sources[0].ext.mix.hw_module;
    [all...]
Threads.cpp     [all...]
  /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);
  /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))) {
  /system/core/fingerprintd/
FingerprintDaemonProxy.cpp 197 const hw_module_t *hw_module = NULL; local
198 if (0 != (err = hw_get_module(FINGERPRINT_HARDWARE_MODULE_ID, &hw_module))) {
202 if (NULL == hw_module) {
207 mModule = reinterpret_cast<const fingerprint_module_t*>(hw_module);
216 if (0 != (err = mModule->common.methods->open(hw_module, NULL, &device))) {
  /external/libnfc-nci/src/adaptation/
NfcAdaptation.cpp 318 const hw_module_t* hw_module = NULL; local
331 ret = hw_get_module (nci_hal_module, &hw_module);
334 ret = nfc_nci_open (hw_module, &mHalDeviceContext);
  /frameworks/av/services/audiopolicy/common/managerdefinitions/src/
AudioInputDescriptor.cpp 89 dstConfig->ext.mix.hw_module = getModuleHandle();
101 port->ext.mix.hw_module = getModuleHandle();
DeviceDescriptor.cpp 252 dstConfig->ext.device.hw_module = mModule != 0 ? mModule->mHandle : AUDIO_MODULE_HANDLE_NONE;
263 port->ext.device.hw_module = mModule->mHandle;
AudioOutputDescriptor.cpp 174 dstConfig->ext.mix.hw_module = getModuleHandle();
183 port->ext.mix.hw_module = getModuleHandle();
  /hardware/libhardware/modules/sensors/
multihal.cpp 561 hw_module_t *hw_module = *it; local
564 struct sensors_module_t *module = (struct sensors_module_t*) hw_module;
626 static int open_sensors(const struct hw_module_t* hw_module, const char* name,
637 dev->proxy_device.common.module = const_cast<hw_module_t*>(hw_module);
  /external/libnfc-nxp/Linux_x86/
phDal4Nfc.c 537 const hw_module_t* hw_module; local
544 ret = hw_get_module(NFC_HARDWARE_MODULE_ID, &hw_module);
549 ret = nfc_pn544_open(hw_module, &pn544_dev);
551 ALOGE("Could not open pn544 hw_module");
    [all...]
  /system/media/audio/include/system/
audio.h 996 audio_module_handle_t hw_module; \/* module the device is attached to *\/ member in struct:audio_port_config_device_ext
1004 audio_module_handle_t hw_module; \/* module the stream is attached to *\/ member in struct:audio_port_config_mix_ext
1059 audio_module_handle_t hw_module; \/* module the device is attached to *\/ member in struct:audio_port_device_ext
1072 audio_module_handle_t hw_module; \/* module the stream is attached to *\/ member in struct:audio_port_mix_ext
    [all...]
  /packages/apps/Nfc/nxp/jni/
com_android_nfc_NativeNfcManager.cpp 311 const hw_module_t* hw_module; local
322 ret = hw_get_module(NFC_HARDWARE_MODULE_ID, &hw_module);
327 ret = nfc_pn544_open(hw_module, &pn544_dev);
329 ALOGE("Could not open pn544 hw_module.");
    [all...]
  /system/bt/bta/dm/
bta_dm_act.c 289 sys_enable_event->hw_module = BTA_SYS_HW_BLUETOOTH;
    [all...]
  /frameworks/av/services/audiopolicy/managerdefault/
AudioPolicyManager.cpp     [all...]

Completed in 530 milliseconds