Home
last modified time | relevance | path

Searched refs:SensorContext (Results 1 – 2 of 2) sorted by relevance

/hardware/libhardware/modules/sensors/dynamic_sensor/
Dsensors.cpp31 SensorContext::SensorContext(const struct hw_module_t *module) { in SensorContext() function in SensorContext
51 int SensorContext::close() { in close()
56 int SensorContext::activate(int handle, int enabled) { in activate()
60 int SensorContext::setDelay(int handle, int64_t delayNs) { in setDelay()
64 int SensorContext::poll(sensors_event_t *data, int count) { in poll()
68 int SensorContext::batch( in batch()
75 int SensorContext::flush(int handle) { in flush()
80 int SensorContext::CloseWrapper(struct hw_device_t *dev) { in CloseWrapper()
81 return reinterpret_cast<SensorContext *>(dev)->close(); in CloseWrapper()
85 int SensorContext::ActivateWrapper( in ActivateWrapper()
[all …]
Dsensors.h37 class SensorContext {
41 explicit SensorContext(const struct hw_module_t *module);
84 DISALLOW_EVIL_CONSTRUCTORS(SensorContext);