Home
last modified time | relevance | path

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

/device/google/contexthub/sensorhal/
Dsensors.cpp150 int rate_level = config->rate_level; in config_direct_report() local
151 return mHubConnection->configDirectReport(sensor_handle, channel_handle, rate_level); in config_direct_report()
Dhubconnection.h319 int configDirectReport(int sensor_handle, int channel_handle, int rate_level);
Dhubconnection.cpp2099 int HubConnection::configDirectReport(int sensor_handle, int channel_handle, int rate_level) { in configDirectReport() argument
2100 if (sensor_handle == -1 && rate_level == SENSOR_DIRECT_RATE_STOP) { in configDirectReport()
2109 if (rate_level > SENSOR_DIRECT_RATE_FAST) { in configDirectReport()
2110 rate_level = SENSOR_DIRECT_RATE_FAST; in configDirectReport()
2126 if (rate_level != SENSOR_DIRECT_RATE_STOP) { in configDirectReport()
2127 j->second.insert(std::make_pair(channel_handle, (DirectChannelTimingInfo){0, rate_level})); in configDirectReport()
2136 if (rate_level == SENSOR_DIRECT_RATE_STOP) { in configDirectReport()