/hardware/interfaces/keymaster/3.0/default/ |
D | KeymasterDevice.cpp | 36 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/ |
D | CameraHAL.cpp | 93 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()
|
D | CameraHAL.h | 46 int open(const hw_module_t* mod, const char* name, hw_device_t** dev);
|
/hardware/libhardware/modules/camera/3_0/ |
D | CameraHAL.cpp | 89 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()
|
D | CameraHAL.h | 42 int open(const hw_module_t* mod, const char* name, hw_device_t** dev);
|
/hardware/interfaces/broadcastradio/1.0/default/ |
D | BroadcastRadio.cpp | 47 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/ |
D | DevicesFactory.cpp | 84 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/ |
D | v4l2_camera_hal.h | 53 int openDevice(const hw_module_t* mod, const char* name, hw_device_t** dev);
|
/hardware/libhardware/modules/audio_remote_submix/tests/ |
D | remote_submix_tests.cpp | 35 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/ |
D | keymaster_test.cpp | 303 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/ |
D | SoundTriggerHalImpl.cpp | 253 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/ |
D | SoundTriggerHw.cpp | 275 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/ |
D | IExpression.hal | 123 mod = (29 % 3) == 2,
|
/hardware/google/av/codec2/vndk/util/ |
D | C2InterfaceUtils.cpp | 56 static DiffType mod(T low, T high, T step) { in mod() function 65 static DiffType mod(T low, T high, T step) { in mod() function 103 return _C2TypedSupportedRangeHelper<T>::mod(_mMin, value, _mStep) == 0; in contains()
|