Searched defs:rate_level (Results 1 - 2 of 2) sorted by relevance

/device/google/contexthub/sensorhal/
H A Dsensors.cpp167 int rate_level = config->rate_level; local
168 return mHubConnection->configDirectReport(sensor_handle, channel_handle, rate_level);
H A Dhubconnection.cpp1965 int HubConnection::configDirectReport(int sensor_handle, int channel_handle, int rate_level) { argument
1966 if (sensor_handle == -1 && rate_level == SENSOR_DIRECT_RATE_STOP) {
1975 if (rate_level > SENSOR_DIRECT_RATE_FAST) {
1976 rate_level = SENSOR_DIRECT_RATE_FAST;
1992 if (rate_level != SENSOR_DIRECT_RATE_STOP) {
1993 j->second.insert(std::make_pair(channel_handle, rate_level));
2002 if (rate_level == SENSOR_DIRECT_RATE_STOP) {

Completed in 35 milliseconds