Home
last modified time | relevance | path

Searched refs:sensors_poll_device_t (Results 1 – 8 of 8) sorted by relevance

/hardware/libhardware/include/hardware/
Dsensors.h553 struct sensors_poll_device_t { struct
555 int (*activate)(struct sensors_poll_device_t *dev, argument
557 int (*setDelay)(struct sensors_poll_device_t *dev, argument
559 int (*poll)(struct sensors_poll_device_t *dev, argument
571 struct sensors_poll_device_t v0;
589 int (*activate)(struct sensors_poll_device_t *dev,
598 int (*setDelay)(struct sensors_poll_device_t *dev,
610 int (*poll)(struct sensors_poll_device_t *dev,
715 struct sensors_poll_device_t** device) { in sensors_open()
720 static inline int sensors_close(struct sensors_poll_device_t* device) { in sensors_close()
/hardware/libhardware/modules/sensors/dynamic_sensor/
Dsensors.h61 struct sensors_poll_device_t *dev, int handle, int enabled);
64 struct sensors_poll_device_t *dev, int handle, int64_t delayNs);
67 struct sensors_poll_device_t *dev, sensors_event_t *data, int count);
Dsensors.cpp86 struct sensors_poll_device_t *dev, int handle, int enabled) { in ActivateWrapper()
92 struct sensors_poll_device_t *dev, int handle, int64_t delayNs) { in SetDelayWrapper()
98 struct sensors_poll_device_t *dev, sensors_event_t *data, int count) { in PollWrapper()
/hardware/libhardware/modules/sensors/
Dmultihal.cpp133 sensors_poll_device_t* device;
140 sensors_poll_device_t* device = ctx->device; in writerTask()
213 sensors_poll_device_t* get_v0_device_by_handle(int global_handle);
229 taskContext->device = (sensors_poll_device_t*) sub_hw_device; in addSubHwDevice()
238 sensors_poll_device_t* sensors_poll_context_t::get_v0_device_by_handle(int global_handle) { in get_v0_device_by_handle()
243 return (sensors_poll_device_t*) this->sub_hw_devices[sub_index]; in get_v0_device_by_handle()
265 sensors_poll_device_t* v0 = this->get_v0_device_by_handle(handle); in get_device_version_by_handle()
314 sensors_poll_device_t* v0 = this->get_v0_device_by_handle(handle); in activate()
329 sensors_poll_device_t* v0 = this->get_v0_device_by_handle(handle); in setDelay()
537 static int device__activate(struct sensors_poll_device_t *dev, int handle, in device__activate()
[all …]
/hardware/invensense/65xx/libsensors_iio/
Dsensors_mpl.cpp344 static int poll__activate(struct sensors_poll_device_t *dev, in poll__activate()
351 static int poll__setDelay(struct sensors_poll_device_t *dev, in poll__setDelay()
359 static int poll__poll(struct sensors_poll_device_t *dev, in poll__poll()
/hardware/invensense/6515/libsensors_iio/
Dsensors_mpl.cpp399 static int poll__activate(struct sensors_poll_device_t *dev, in poll__activate()
406 static int poll__setDelay(struct sensors_poll_device_t *dev, in poll__setDelay()
414 static int poll__poll(struct sensors_poll_device_t *dev, in poll__poll()
/hardware/interfaces/sensors/1.0/default/
DSensors.cpp155 reinterpret_cast<sensors_poll_device_t *>(mSensorDevice), in activate()
192 reinterpret_cast<sensors_poll_device_t *>(mSensorDevice), in poll()
/hardware/libhardware/tests/nusensors/
Dnusensors.cpp65 struct sensors_poll_device_t* device; in main()