/hardware/libhardware/include/hardware/ |
D | hardware.h | 77 struct hw_module_t; 86 typedef struct hw_module_t { struct 154 } hw_module_t; typedef 158 int (*open)(const struct hw_module_t* module, const char* id, 190 struct hw_module_t* module; 219 int hw_get_module(const char *id, const struct hw_module_t **module); 234 const struct hw_module_t **module);
|
D | nfc.h | 69 struct hw_module_t common; 199 static inline int nfc_nci_open(const struct hw_module_t* module, in nfc_nci_open() 232 struct hw_module_t common; 286 static inline int nfc_pn544_open(const struct hw_module_t* module, in nfc_pn544_open()
|
D | nfc_tag.h | 41 struct hw_module_t common; 83 static inline int nfc_tag_open(const struct hw_module_t* module, in nfc_tag_open()
|
D | local_time_hal.h | 54 struct hw_module_t common; 108 const struct hw_module_t* module, in local_time_hw_device_open()
|
D | camera_common.h | 296 hw_module_t common; 425 int (*open_legacy)(const struct hw_module_t* module, const char* id,
|
D | sound_trigger.h | 60 struct hw_module_t common; 116 static inline int sound_trigger_hw_device_open(const struct hw_module_t* module, in sound_trigger_hw_device_open()
|
D | activity_recognition.h | 130 hw_module_t common; 211 static inline int activity_recognition_open(const hw_module_t* module, in activity_recognition_open()
|
/hardware/libhardware/ |
D | hardware.c | 68 const struct hw_module_t **pHmi) in load() 72 struct hw_module_t *hmi; in load() 89 hmi = (struct hw_module_t *)dlsym(handle, sym); in load() 146 const struct hw_module_t **module) in hw_get_module_by_class() 197 int hw_get_module(const char *id, const struct hw_module_t **module) in hw_get_module()
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | acoustics_default.cpp | 26 static int s_device_open(const hw_module_t*, const char*, hw_device_t**); 38 extern "C" hw_module_t HAL_MODULE_INFO_SYM = { 50 static int s_device_open(const hw_module_t* module, const char* name, in s_device_open() 62 dev->common.module = (hw_module_t *) module; in s_device_open()
|
/hardware/libhardware/tests/hardware/ |
D | struct-offset.cpp | 43 CHECK_MEMBER_AT(hw_module_t, tag, 0, 0); in CheckOffsets() 44 CHECK_MEMBER_AT(hw_module_t, module_api_version, 4, 4); in CheckOffsets() 45 CHECK_MEMBER_AT(hw_module_t, hal_api_version, 6, 6); in CheckOffsets() 46 CHECK_MEMBER_AT(hw_module_t, id, 8, 8); in CheckOffsets() 47 CHECK_MEMBER_AT(hw_module_t, name, 12, 16); in CheckOffsets() 48 CHECK_MEMBER_AT(hw_module_t, author, 16, 24); in CheckOffsets() 49 CHECK_MEMBER_AT(hw_module_t, methods, 20, 32); in CheckOffsets() 50 CHECK_MEMBER_AT(hw_module_t, dso, 24, 40); in CheckOffsets() 51 CHECK_MEMBER_AT(hw_module_t, reserved, 28, 48); in CheckOffsets()
|
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
D | gps.c | 41 static int open_gps(const struct hw_module_t* module, char const* name, in open_gps() 49 dev->common.module = (struct hw_module_t*)module; in open_gps() 60 struct hw_module_t HAL_MODULE_INFO_SYM = {
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
D | gps.c | 41 static int open_gps(const struct hw_module_t* module, char const* name, in open_gps() 53 dev->common.module = (struct hw_module_t*)module; in open_gps() 64 struct hw_module_t HAL_MODULE_INFO_SYM = {
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | gralloc.cpp | 34 int fb_device_open(const hw_module_t* module, const char* name, 37 static int gralloc_device_open(const hw_module_t* module, const char* name, 98 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open()
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | gralloc.cpp | 34 int fb_device_open(const hw_module_t* module, const char* name, 37 static int gralloc_device_open(const hw_module_t* module, const char* name, 98 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open()
|
/hardware/libhardware/modules/vibrator/ |
D | vibrator.c | 92 static int vibra_open(const hw_module_t* module, const char* id __unused, in vibra_open() 107 vibradev->common.module = (hw_module_t *) module; in vibra_open() 127 struct hw_module_t HAL_MODULE_INFO_SYM = {
|
/hardware/qcom/display/msm8974/libgralloc/ |
D | gralloc.cpp | 34 int fb_device_open(const hw_module_t* module, const char* name, 37 static int gralloc_device_open(const hw_module_t* module, const char* name, 97 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open()
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | gralloc.cpp | 34 int fb_device_open(const hw_module_t* module, const char* name, 37 static int gralloc_device_open(const hw_module_t* module, const char* name, 97 int gralloc_device_open(const hw_module_t* module, const char* name, in gralloc_device_open()
|
/hardware/libhardware/modules/tv_input/ |
D | tv_input.cpp | 35 static int tv_input_device_open(const struct hw_module_t* module, 113 static int tv_input_device_open(const struct hw_module_t* module, in tv_input_device_open() 126 dev->device.common.module = const_cast<hw_module_t*>(module); in tv_input_device_open()
|
/hardware/libhardware/modules/sensors/ |
D | multihal.cpp | 56 static std::vector<hw_module_t *> *sub_hw_modules = NULL; 450 static int open_sensors(const struct hw_module_t* module, const char* name, 515 sub_hw_modules = new std::vector<hw_module_t *>(); in lazy_init_modules() 528 struct hw_module_t* module = (hw_module_t*) dlsym(lib_handle, sym); in lazy_init_modules() 562 for (std::vector<hw_module_t*>::iterator it = sub_hw_modules->begin(); in lazy_init_sensors_list() 577 for (std::vector<hw_module_t*>::iterator it = sub_hw_modules->begin(); in lazy_init_sensors_list() 579 hw_module_t *hw_module = *it; in lazy_init_sensors_list() 644 static int open_sensors(const struct hw_module_t* hw_module, const char* name, in open_sensors() 655 dev->proxy_device.common.module = const_cast<hw_module_t*>(hw_module); in open_sensors() 666 for (std::vector<hw_module_t*>::iterator it = sub_hw_modules->begin(); in open_sensors()
|
/hardware/libhardware/modules/hwcomposer/ |
D | hwcomposer.cpp | 36 static int hwc_device_open(const struct hw_module_t* module, const char* name, 107 static int hwc_device_open(const struct hw_module_t* module, const char* name, in hwc_device_open() 121 dev->device.common.module = const_cast<hw_module_t*>(module); in hwc_device_open()
|
/hardware/libhardware/modules/nfc/ |
D | nfc_pn544_example.c | 31 static int nfc_open(const hw_module_t* module, const char* name, in nfc_open() 38 dev->common.module = (struct hw_module_t*) module; in nfc_open()
|
/hardware/libhardware/tests/fingerprint/ |
D | fingerprint_test_fixtures.h | 35 const hw_module_t *hw_module = NULL; in SetUp() 60 (const hw_module_t*)fp_module(), NULL, &device)) in SetUp()
|
/hardware/libhardware/tests/camera3/ |
D | camera3test_fixtures.h | 37 const hw_module_t *hw_module = NULL; in SetUp() 67 (const hw_module_t*)cam_module(), "0", &device)) in SetUp()
|
/hardware/libhardware/modules/fingerprint/ |
D | fingerprint.c | 51 static int fingerprint_open(const hw_module_t* module, const char __unused *id, in fingerprint_open() 64 dev->common.module = (struct hw_module_t*) module; in fingerprint_open()
|
/hardware/libhardware/modules/local_time/ |
D | local_time_hw.c | 66 static int ltdev_open(const hw_module_t* module, const char* name, in ltdev_open() 82 ltdev->device.common.module = (struct hw_module_t *) module; in ltdev_open()
|