Searched refs:COMMS_SENSOR_ACTIVITY (Results 1 – 3 of 3) sorted by relevance
/device/google/contexthub/sensorhal/ |
D | activity.cpp | 68 mHubConnection->queueActivate(COMMS_SENSOR_ACTIVITY, false /* enable */); in ActivityContext() 214 … COMMS_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() 218 … COMMS_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()
|
D | hubdefs.h | 48 COMMS_SENSOR_ACTIVITY = 14, enumerator
|
D | hubconnection.cpp | 157 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()
|