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

  /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/update_engine/
boot_control_android.cc 55 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) {
68 ret = hw_get_module(BOOT_CONTROL_HARDWARE_MODULE_ID, &hw_module);
75 module_ = reinterpret_cast<boot_control_module_t*>(const_cast<hw_module_t*>(hw_module));
79 << "'" << hw_module->name << "' "
80 << "version " << (hw_module->module_api_version>>8) << "."
81 << (hw_module->module_api_version&0xff) << " "
82 << "authored by '" << hw_module->author << "'."
    [all...]
  /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:__anon73673
  /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...]
  /bootable/recovery/update_verifier/
update_verifier.cpp 147 const hw_module_t* hw_module; local
148 if (hw_get_module("bootctrl", &hw_module) != 0) {
154 const_cast<hw_module_t*>(hw_module));
  /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 251 dstConfig->ext.device.hw_module = mModule != 0 ? mModule->mHandle : AUDIO_MODULE_HANDLE_NONE;
262 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 997 audio_module_handle_t hw_module; \/* module the device is attached to *\/ member in struct:audio_port_config_device_ext
1005 audio_module_handle_t hw_module; \/* module the stream is attached to *\/ member in struct:audio_port_config_mix_ext
1060 audio_module_handle_t hw_module; \/* module the device is attached to *\/ member in struct:audio_port_device_ext
1073 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 2504 milliseconds