Home
last modified time | relevance | path

Searched refs:COMMS_SENSOR_ACTIVITY (Results 1 – 3 of 3) sorted by relevance

/device/google/contexthub/sensorhal/
Dactivity.cpp68 mHubConnection->queueActivate(COMMS_SENSOR_ACTIVITY, false /* enable */); in ActivityContext()
214COMMS_SENSOR_ACTIVITY, SENSOR_FLAG_ON_CHANGE_MODE, 1000000, max_batch_report_latency_ns); in enableActivityEvent()
215 mHubConnection->queueActivate(COMMS_SENSOR_ACTIVITY, true /* enable */); in enableActivityEvent()
218COMMS_SENSOR_ACTIVITY, SENSOR_FLAG_ON_CHANGE_MODE, 1000000, max_batch_report_latency_ns); in enableActivityEvent()
247 mHubConnection->queueActivate(COMMS_SENSOR_ACTIVITY, false /* enable */); in disableActivityEvent()
260 mHubConnection->queueFlush(COMMS_SENSOR_ACTIVITY); in flush()
Dhubdefs.h48 COMMS_SENSOR_ACTIVITY = 14, enumerator
Dhubconnection.cpp157 mSensorState[COMMS_SENSOR_ACTIVITY].sensorType = SENS_TYPE_ACTIVITY; in HubConnection()
158 mSensorState[COMMS_SENSOR_ACTIVITY].rate = SENSOR_RATE_ONCHANGE; in HubConnection()
338 case COMMS_SENSOR_ACTIVITY: in processSample()
758 sensor = COMMS_SENSOR_ACTIVITY; in processBuf()
824 if (sensor == COMMS_SENSOR_ACTIVITY) { in processBuf()