Home
last modified time | relevance | path

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

/device/google/contexthub/sensorhal/
Dsensors.cpp46 SensorContext::SensorContext(const struct hw_module_t *module) in SensorContext() function in SensorContext
72 int SensorContext::close() { in close()
80 int SensorContext::activate(int handle, int enabled) { in activate()
91 int SensorContext::setDelay(int handle, int64_t delayNs) { in setDelay()
102 int SensorContext::poll(sensors_event_t *data, int count) { in poll()
111 int SensorContext::batch( in batch()
125 int SensorContext::flush(int handle) { in flush()
136 int SensorContext::register_direct_channel( in register_direct_channel()
148 int SensorContext::config_direct_report( in config_direct_report()
155 int SensorContext::CloseWrapper(struct hw_device_t *dev) { in CloseWrapper()
[all …]
Dsensors.h49 struct SensorContext { struct
52 explicit SensorContext(const struct hw_module_t *module); argument
163 DISALLOW_EVIL_CONSTRUCTORS(SensorContext); argument
/device/google/bramble/vibrator/drv2624/
DVibrator.cpp65 struct SensorContext { struct
85 SensorContext *context = reinterpret_cast<SensorContext *>(data); in GSensorCallback()
97 struct SensorContext context = {nullptr}; in PollGSensor()
/device/google/barbet/vibrator/drv2624/
DVibrator.cpp66 struct SensorContext { struct
89 SensorContext *context = reinterpret_cast<SensorContext *>(data); in GSensorCallback()
101 struct SensorContext context = {nullptr}; in PollGSensor()
/device/google/redfin/vibrator/drv2624/
DVibrator.cpp65 struct SensorContext { struct
85 SensorContext *context = reinterpret_cast<SensorContext *>(data); in GSensorCallback()
97 struct SensorContext context = {nullptr}; in PollGSensor()