Home
last modified time | relevance | path

Searched refs:sanitizedUpdateRateHz (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/car-lib/src/com/android/car/internal/property/
DInputSanitizationUtils.java57 float sanitizedUpdateRateHz = updateRateHz; in sanitizeUpdateRateHz() local
60 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()
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManager.java1577 float sanitizedUpdateRateHz = option.updateRateHz; in subscribePropertyEventsInternal() local
1584 if (sanitizedUpdateRateHz == 0) { in subscribePropertyEventsInternal()
1588 sanitizedUpdateRateHz, option.enableVariableUpdateRate, in subscribePropertyEventsInternal()