Home
last modified time | relevance | path

Searched refs:mod (Results 1 – 15 of 15) sorted by relevance

/hardware/interfaces/keymaster/3.0/default/
DKeymasterDevice.cpp36 static int get_keymaster0_dev(keymaster0_device_t** dev, const hw_module_t* mod) { in get_keymaster0_dev() argument
37 int rc = keymaster0_open(mod, dev); in get_keymaster0_dev()
46 static int get_keymaster1_dev(keymaster1_device_t** dev, const hw_module_t* mod) { in get_keymaster1_dev() argument
47 int rc = keymaster1_open(mod, dev); in get_keymaster1_dev()
58 static int get_keymaster2_dev(keymaster2_device_t** dev, const hw_module_t* mod) { in get_keymaster2_dev() argument
59 int rc = keymaster2_open(mod, dev); in get_keymaster2_dev()
68 const hw_module_t* mod = nullptr; in createKeymaster3Device() local
70 int rc = hw_get_module_by_class(KEYSTORE_HARDWARE_MODULE_ID, NULL, &mod); in createKeymaster3Device()
77 if (mod->module_api_version < KEYMASTER_MODULE_API_VERSION_1_0) { in createKeymaster3Device()
79 if (get_keymaster0_dev(&dev, mod)) { in createKeymaster3Device()
[all …]
/hardware/libhardware/modules/usbcamera/
DCameraHAL.cpp93 int CameraHAL::open(const hw_module_t* mod, const char* name, hw_device_t** dev) { in open() argument
98 ALOGV("%s: module=%p, name=%s, device=%p", __func__, mod, name, dev); in open()
111 return mCameras[id]->open(mod, dev); in open()
128 static int open_dev(const hw_module_t* mod, const char* name, hw_device_t** dev) { in open_dev() argument
129 return gCameraHAL.open(mod, name, dev); in open_dev()
DCameraHAL.h46 int open(const hw_module_t* mod, const char* name, hw_device_t** dev);
/hardware/libhardware/modules/camera/3_0/
DCameraHAL.cpp89 int CameraHAL::open(const hw_module_t* mod, const char* name, hw_device_t** dev) in open() argument
94 ALOGV("%s: module=%p, name=%s, device=%p", __func__, mod, name, dev); in open()
107 return mCameras[id]->open(mod, dev); in open()
162 static int open_dev(const hw_module_t* mod, const char* name, hw_device_t** dev) in open_dev() argument
164 return gCameraHAL.open(mod, name, dev); in open_dev()
DCameraHAL.h42 int open(const hw_module_t* mod, const char* name, hw_device_t** dev);
/hardware/interfaces/broadcastradio/1.0/default/
DBroadcastRadio.cpp47 const hw_module_t *mod; in onFirstRef() local
62 rc = hw_get_module_by_class(RADIO_HARDWARE_MODULE_ID, classString, &mod); in onFirstRef()
69 rc = radio_hw_device_open(mod, &mHwDevice); in onFirstRef()
/hardware/interfaces/audio/core/all-versions/default/
DDevicesFactory.cpp84 const hw_module_t* mod; in loadAudioInterface() local
87 rc = hw_get_module_by_class(AUDIO_HARDWARE_MODULE_ID, if_name, &mod); in loadAudioInterface()
93 rc = audio_hw_device_open(mod, dev); in loadAudioInterface()
/hardware/libhardware/modules/camera/3_4/
Dv4l2_camera_hal.h53 int openDevice(const hw_module_t* mod, const char* name, hw_device_t** dev);
/hardware/broadcom/wlan/
D.gitignore20 *.mod.c
/hardware/libhardware/modules/audio_remote_submix/tests/
Dremote_submix_tests.cpp35 const hw_module_t *mod; in load_audio_interface() local
38 rc = hw_get_module_by_class(AUDIO_HARDWARE_MODULE_ID, if_name, &mod); in load_audio_interface()
44 rc = audio_hw_device_open(mod, dev); in load_audio_interface()
/hardware/libhardware/tests/keymaster/
Dkeymaster_test.cpp303 const hw_module_t* mod; in SetUpTestCase() local
304 ASSERT_EQ(0, hw_get_module_by_class(KEYSTORE_HARDWARE_MODULE_ID, NULL, &mod)) in SetUpTestCase()
307 std::cout << "Using keymaster module: " << mod->name << std::endl; in SetUpTestCase()
309 ASSERT_EQ(0, keymaster0_open(mod, &sDevice)) in SetUpTestCase()
312 ASSERT_EQ(KEYMASTER_MODULE_API_VERSION_0_2, mod->module_api_version) in SetUpTestCase()
/hardware/interfaces/soundtrigger/2.0/default/
DSoundTriggerHalImpl.cpp253 const hw_module_t* mod; in onFirstRef() local
256 rc = hw_get_module_by_class(SOUND_TRIGGER_HARDWARE_MODULE_ID, mModuleName, &mod); in onFirstRef()
262 rc = sound_trigger_hw_device_open(mod, &mHwDevice); in onFirstRef()
/hardware/interfaces/soundtrigger/2.2/default/
DSoundTriggerHw.cpp275 const hw_module_t* mod; in onFirstRef() local
278 rc = hw_get_module_by_class(SOUND_TRIGGER_HARDWARE_MODULE_ID, mModuleName, &mod); in onFirstRef()
284 rc = sound_trigger_hw_device_open(mod, &mHwDevice); in onFirstRef()
/hardware/interfaces/tests/expression/1.0/
DIExpression.hal123 mod = (29 % 3) == 2,
/hardware/interfaces/soundtrigger/2.3/default/
DSoundTriggerHw.cpp272 const hw_module_t* mod; in onFirstRef() local
275 rc = hw_get_module_by_class(SOUND_TRIGGER_HARDWARE_MODULE_ID, mModuleName, &mod); in onFirstRef()
281 rc = sound_trigger_hw_device_open(mod, &mHwDevice); in onFirstRef()