Home
last modified time | relevance | path

Searched refs:hw_device_t (Results 1 – 25 of 117) sorted by relevance

12345

/hardware/libhardware/include/hardware/
Dhardware.h79 struct hw_device_t;
159 struct hw_device_t** device);
167 typedef struct hw_device_t { struct
200 int (*close)(struct hw_device_t* device); argument
202 } hw_device_t; typedef
Dnfc.h124 struct hw_device_t common;
202 (struct hw_device_t**) dev); in nfc_nci_open()
255 struct hw_device_t common;
289 (struct hw_device_t**) dev); in nfc_pn544_open()
Dvibrator.h44 struct hw_device_t common;
69 return module->methods->open(module, VIBRATOR_DEVICE_ID_MAIN, (struct hw_device_t**)device); in vibrator_open()
Dnfc_tag.h51 struct hw_device_t common;
86 (struct hw_device_t**)dev); in nfc_tag_open()
Dlocal_time_hal.h64 struct hw_device_t common;
112 (struct hw_device_t**)device); in local_time_hw_device_open()
Dsensors.h913 struct hw_device_t common;
933 struct hw_device_t common;
1001 SENSORS_HARDWARE_POLL, (struct hw_device_t**)device); in sensors_open()
1011 SENSORS_HARDWARE_POLL, (struct hw_device_t**)device); in sensors_open_1()
Dfb.h45 struct hw_device_t common;
163 GRALLOC_HARDWARE_FB0, (struct hw_device_t**)device); in framebuffer_open()
Dsound_trigger.h67 struct hw_device_t common;
120 (struct hw_device_t**)device); in sound_trigger_hw_device_open()
Dactivity_recognition.h161 hw_device_t common;
214 ACTIVITY_RECOGNITION_HARDWARE_INTERFACE, (hw_device_t**)device); in activity_recognition_open()
/hardware/qcom/audio/legacy/alsa_sound/
Dacoustics_default.cpp26 static int s_device_open(const hw_module_t*, const char*, hw_device_t**);
27 static int s_device_close(hw_device_t*);
51 hw_device_t** device) in s_device_open()
76 static int s_device_close(hw_device_t* device) in s_device_close()
/hardware/libhardware/modules/nfc/
Dnfc_pn544_example.c23 static int pn544_close(hw_device_t *dev) { in pn544_close()
32 hw_device_t** device) { in nfc_open()
49 *device = (hw_device_t*) dev; in nfc_open()
/hardware/libhardware/modules/fingerprint/
Dfingerprint.c24 static int fingerprint_close(hw_device_t *dev) in fingerprint_close()
52 hw_device_t** device) in fingerprint_open()
72 *device = (hw_device_t*) dev; in fingerprint_open()
/hardware/libhardware/modules/nfc-nci/
Dnfc_nci_example.c72 static int nfc_close(hw_device_t *dev) { in nfc_close()
78 hw_device_t** device) { in nfc_open()
96 *device = (hw_device_t*) dev; in nfc_open()
/hardware/qcom/display/msm8084/libgralloc/
Dgralloc.cpp35 hw_device_t** device);
38 hw_device_t** device);
99 hw_device_t** device) in gralloc_device_open()
/hardware/qcom/display/msm8226/libgralloc/
Dgralloc.cpp35 hw_device_t** device);
38 hw_device_t** device);
99 hw_device_t** device) in gralloc_device_open()
/hardware/libhardware/modules/vibrator/
Dvibrator.c86 static int vibra_close(hw_device_t *device) in vibra_close()
93 hw_device_t** device __unused) { in vibra_open()
114 *device = (hw_device_t *) vibradev; in vibra_open()
/hardware/qcom/display/msm8974/libgralloc/
Dgralloc.cpp35 hw_device_t** device);
38 hw_device_t** device);
98 hw_device_t** device) in gralloc_device_open()
/hardware/qcom/display/msm8960/libgralloc/
Dgralloc.cpp35 hw_device_t** device);
38 hw_device_t** device);
98 hw_device_t** device) in gralloc_device_open()
/hardware/libhardware/modules/consumerir/
Dconsumerir.c66 static int consumerir_close(hw_device_t *dev) in consumerir_close()
76 hw_device_t** device) in consumerir_open()
98 *device = (hw_device_t*) dev; in consumerir_open()
/hardware/libhardware/modules/tv_input/
Dtv_input.cpp36 const char* name, struct hw_device_t** device);
102 static int tv_input_device_close(struct hw_device_t *dev) in tv_input_device_close()
114 const char* name, struct hw_device_t** device) in tv_input_device_open()
/hardware/libhardware/modules/hwcomposer/
Dhwcomposer.cpp37 struct hw_device_t** device);
96 static int hwc_device_close(struct hw_device_t *dev) in hwc_device_close()
108 struct hw_device_t** device) in hwc_device_open()
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dgps.c42 struct hw_device_t** device) in open_gps()
52 *device = (struct hw_device_t*)dev; in open_gps()
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dgps.c42 struct hw_device_t** device) in open_gps()
56 *device = (struct hw_device_t*)dev; in open_gps()
/hardware/libhardware/modules/sensors/
Dmultihal.cpp189 void addSubHwDevice(struct hw_device_t*);
198 std::vector<hw_device_t*> sub_hw_devices;
210 void sensors_poll_context_t::addSubHwDevice(struct hw_device_t* sub_hw_device) { in addSubHwDevice()
402 for (std::vector<hw_device_t*>::iterator it = this->sub_hw_devices.begin(); in close()
404 hw_device_t* dev = *it; in close()
412 static int device__close(struct hw_device_t *dev) { in device__close()
451 struct hw_device_t** device);
645 struct hw_device_t** hw_device_out) { in open_sensors()
669 struct hw_device_t* sub_hw_device; in open_sensors()
/hardware/libhardware/tests/hardware/
Dstruct-offset.cpp53 CHECK_MEMBER_AT(hw_device_t, tag, 0, 0); in CheckOffsets()
54 CHECK_MEMBER_AT(hw_device_t, version, 4, 4); in CheckOffsets()
55 CHECK_MEMBER_AT(hw_device_t, module, 8, 8); in CheckOffsets()
56 CHECK_MEMBER_AT(hw_device_t, reserved, 12, 16); in CheckOffsets()
57 CHECK_MEMBER_AT(hw_device_t, close, 60, 112); in CheckOffsets()

12345