Searched refs:sanitizedUpdateRateHz (Results 1 – 2 of 2) sorted by relevance
57 float sanitizedUpdateRateHz = updateRateHz; in sanitizeUpdateRateHz() local60 sanitizedUpdateRateHz = CarPropertyManager.SENSOR_RATE_ONCHANGE; in sanitizeUpdateRateHz()61 } else if (sanitizedUpdateRateHz > carPropertyConfig.getMaxSampleRate()) { in sanitizeUpdateRateHz()62 sanitizedUpdateRateHz = carPropertyConfig.getMaxSampleRate(); in sanitizeUpdateRateHz()63 } else if (sanitizedUpdateRateHz < carPropertyConfig.getMinSampleRate()) { in sanitizeUpdateRateHz()64 sanitizedUpdateRateHz = carPropertyConfig.getMinSampleRate(); in sanitizeUpdateRateHz()66 return sanitizedUpdateRateHz; in sanitizeUpdateRateHz()
1577 float sanitizedUpdateRateHz = option.updateRateHz; in subscribePropertyEventsInternal() local1584 if (sanitizedUpdateRateHz == 0) { in subscribePropertyEventsInternal()1588 sanitizedUpdateRateHz, option.enableVariableUpdateRate, in subscribePropertyEventsInternal()