Searched defs:device (Results 1 - 25 of 236) sorted by relevance

12345678910

/hardware/bsp/intel/peripheral/sensors/mraa/
H A DSensorsHAL.hpp40 * Sensor poll device
42 sensors_poll_device_1_t device; member in class:SensorContext
66 * @param id device identifier
67 * @param device where to store the device address
71 const char* id, struct hw_device_t **device);
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/tangier/
H A DTngDisplayQuery.cpp62 bool DisplayQuery::forceFbScaling(int device) argument
64 // RGB planes don't support scaling. Panel fitter can be used to scale frame buffer to device's resolution
72 if (!Hwcomposer::getInstance().getDrm()->getDisplayResolution(device, width, height)) {
/hardware/libhardware/modules/nfc/
H A Dnfc_pn544_example.c23 /* Close an opened pn544 device instance */
30 * Generic device handling
33 hw_device_t** device) {
50 *device = (hw_device_t*) dev;
32 nfc_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
/hardware/qcom/audio/msm8909/post_proc/
H A Dvirtualizer.h36 audio_devices_t device; member in struct:virtualizer_context_s
46 int virtualizer_set_device(effect_context_t *context, uint32_t device);
/hardware/qcom/audio/post_proc/
H A Dbass_boost.h32 uint32_t device; member in struct:bassboost_context_s
42 int bassboost_set_device(effect_context_t *context, uint32_t device);
H A Dvirtualizer.h32 uint32_t device; member in struct:virtualizer_context_s
42 int virtualizer_set_device(effect_context_t *context, uint32_t device);
/hardware/qcom/display/msm8084/libgralloc/
H A Dgralloc.cpp35 hw_device_t** device);
38 hw_device_t** device);
97 // Open Gralloc device
99 hw_device_t** device)
108 *device = &dev->common;
111 status = fb_device_open(module, name, device);
98 gralloc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
/hardware/qcom/display/msm8226/libgralloc/
H A Dgralloc.cpp35 hw_device_t** device);
38 hw_device_t** device);
97 // Open Gralloc device
99 hw_device_t** device)
111 *device = &dev->common;
114 status = fb_device_open(module, name, device);
98 gralloc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
/hardware/qcom/display/msm8909/libgralloc/
H A Dgralloc.cpp35 hw_device_t** device);
38 hw_device_t** device);
96 // Open Gralloc device
98 hw_device_t** device)
110 *device = &dev->common;
113 status = fb_device_open(module, name, device);
97 gralloc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
/hardware/qcom/display/msm8960/libgralloc/
H A Dgralloc.cpp35 hw_device_t** device);
38 hw_device_t** device);
96 // Open Gralloc device
98 hw_device_t** device)
107 *device = &dev->common;
110 status = fb_device_open(module, name, device);
97 gralloc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
/hardware/qcom/display/msm8994/libgralloc/
H A Dgralloc.cpp35 hw_device_t** device);
38 hw_device_t** device);
96 // Open Gralloc device
98 hw_device_t** device)
110 *device = &dev->common;
113 status = fb_device_open(module, name, device);
97 gralloc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
/hardware/qcom/display/msm8996/libgralloc/
H A Dgralloc.cpp35 hw_device_t** device);
38 hw_device_t** device);
96 // Open Gralloc device
98 hw_device_t** device)
110 *device = &dev->common;
113 status = fb_device_open(module, name, device);
97 gralloc_device_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
/hardware/qcom/gps/loc_api/libloc_api_50001/
H A Dgps.c43 struct hw_device_t** device)
57 *device = (struct hw_device_t*)dev;
42 open_gps(const struct hw_module_t* module, char const* name, struct hw_device_t** device) argument
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
H A Dgps.c43 struct hw_device_t** device)
57 *device = (struct hw_device_t*)dev;
42 open_gps(const struct hw_module_t* module, char const* name, struct hw_device_t** device) argument
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
H A Dgps.c43 struct hw_device_t** device)
57 *device = (struct hw_device_t*)dev;
42 open_gps(const struct hw_module_t* module, char const* name, struct hw_device_t** device) argument
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
H A Dgps.c43 struct hw_device_t** device)
53 *device = (struct hw_device_t*)dev;
42 open_gps(const struct hw_module_t* module, char const* name, struct hw_device_t** device) argument
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
H A Dgps.c43 struct hw_device_t** device)
57 *device = (struct hw_device_t*)dev;
42 open_gps(const struct hw_module_t* module, char const* name, struct hw_device_t** device) argument
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
H A Dgps.c43 struct hw_device_t** device)
57 *device = (struct hw_device_t*)dev;
42 open_gps(const struct hw_module_t* module, char const* name, struct hw_device_t** device) argument
/hardware/intel/img/hwcomposer/merrifield/ips/common/
H A DDrmConfig.cpp30 uint32_t DrmConfig::getDrmConnector(int device) argument
32 if (device == IDisplayDevice::DEVICE_PRIMARY)
34 else if (device == IDisplayDevice::DEVICE_EXTERNAL)
39 uint32_t DrmConfig::getDrmEncoder(int device) argument
41 if (device == IDisplayDevice::DEVICE_PRIMARY)
43 else if (device == IDisplayDevice::DEVICE_EXTERNAL)
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
H A DDrmConfig.cpp30 uint32_t DrmConfig::getDrmConnector(int device) argument
32 if (device == IDisplayDevice::DEVICE_PRIMARY)
34 else if (device == IDisplayDevice::DEVICE_EXTERNAL)
39 uint32_t DrmConfig::getDrmEncoder(int device) argument
41 if (device == IDisplayDevice::DEVICE_PRIMARY)
43 else if (device == IDisplayDevice::DEVICE_EXTERNAL)
/hardware/libhardware/include/hardware/
H A Dgatekeeper.h43 * Common methods of the gatekeeper device. As above, this must be the first
163 * no users will be enrolled on the device.
179 gatekeeper_device_t **device) {
181 (struct hw_device_t **) device);
184 static inline int gatekeeper_close(gatekeeper_device_t *device) { argument
185 return device->common.close(&device->common);
178 gatekeeper_open(const struct hw_module_t *module, gatekeeper_device_t **device) argument
H A Dvibrator.h32 * The id of the main vibrator device
39 * Common methods of the vibrator device. This *must* be the first member of
66 static inline int vibrator_open(const struct hw_module_t* module, vibrator_device_t** device) argument
68 return module->methods->open(module, VIBRATOR_DEVICE_ID_MAIN, (struct hw_device_t**)device);
/hardware/libhardware/modules/local_time/
H A Dlocal_time_hw.c32 struct local_time_hw_device device; member in struct:stub_local_time_device
61 static int ltdev_close(hw_device_t *device) argument
63 free(device);
68 hw_device_t** device)
81 ltdev->device.common.tag = HARDWARE_DEVICE_TAG;
82 ltdev->device.common.version = 0;
83 ltdev->device.common.module = (struct hw_module_t *) module;
84 ltdev->device.common.close = ltdev_close;
86 ltdev->device.get_local_time = ltdev_get_local_time;
87 ltdev->device
67 ltdev_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
[all...]
/hardware/libhardware/tests/fingerprint/
H A Dfingerprint_test_fixtures.h56 hw_device_t *device = NULL; local
60 (const hw_module_t*)fp_module(), NULL, &device))
61 << "Can't open fingerprint device";
62 ASSERT_TRUE(NULL != device)
63 << "Fingerprint open() returned a NULL device";
64 ASSERT_EQ(kVersion, device->version)
66 fp_device_ = reinterpret_cast<fingerprint_device_t*>(device);
/hardware/libhardware/tests/nusensors/
H A Dnusensors.cpp64 struct sensors_poll_device_t* device; local
73 err = sensors_open(&module->common, &device);
105 err = device->activate(device, list[i].handle, 0);
114 err = device->activate(device, list[i].handle, 1);
120 device->setDelay(device, list[i].handle, ms2ns(10));
124 int n = device->poll(device, buffe
[all...]

Completed in 4966 milliseconds

12345678910