Searched refs:InputSanitizationUtils (Results 1 – 6 of 6) sorted by relevance
49 InputSanitizationUtils.sanitizeUpdateRateHz( in sanitizeUpdateRateHz_returnsZeroForStaticProperties()62 InputSanitizationUtils.sanitizeUpdateRateHz( in sanitizeUpdateRateHz_returnsZeroForOnChangeProperties()75 InputSanitizationUtils.sanitizeUpdateRateHz( in sanitizeUpdateRateHz_returnsMaxUpdateRateHzIfOver()90 InputSanitizationUtils.sanitizeUpdateRateHz( in sanitizeUpdateRateHz_returnsMinUpdateRateHzIfOver()105 InputSanitizationUtils.sanitizeUpdateRateHz( in sanitizeUpdateRateHz_returnsDefaultUpdateRateHz()125 assertThat(InputSanitizationUtils.isVurAllowed(featureFlags, config)).isTrue(); in testIsVurAllowed()136 assertThat(InputSanitizationUtils.isVurAllowed(featureFlags, config)).isFalse(); in testIsVurAllowed_featureDisabled()147 assertThat(InputSanitizationUtils.isVurAllowed(featureFlags, config)).isFalse(); in testIsVurAllowed_propertyNotContinuous()169 InputSanitizationUtils.sanitizeEnableVariableUpdateRate(featureFlags, config, in testSanitizeEnableVariableUpdateRate()185 assertThat(InputSanitizationUtils.sanitizeResolution(featureFlags, in testSanitizeResolution()[all …]
41 public final class InputSanitizationUtils { class43 private static final String TAG = InputSanitizationUtils.class.getSimpleName();47 private InputSanitizationUtils() { in InputSanitizationUtils() method in InputSanitizationUtils
29 import com.android.car.internal.property.InputSanitizationUtils;315 InputSanitizationUtils.requireIntegerPowerOf10Resolution(resolution); in setResolution()
72 import com.android.car.internal.property.InputSanitizationUtils;3343 carSubscription.updateRateHz = InputSanitizationUtils.sanitizeUpdateRateHz( in sanitizeSubscribeOptions()3347 carSubscription.resolution = InputSanitizationUtils.sanitizeResolution(mFeatureFlags, in sanitizeSubscribeOptions()3349 output.addAll(InputSanitizationUtils.sanitizeEnableVariableUpdateRate( in sanitizeSubscribeOptions()
71 import com.android.car.internal.property.InputSanitizationUtils;387 subscription.updateRateHz = InputSanitizationUtils.sanitizeUpdateRateHz( in validateAndSanitizeSubscriptions()389 subscription.resolution = InputSanitizationUtils.sanitizeResolution( in validateAndSanitizeSubscriptions()391 sanitizedSubscriptions.addAll(InputSanitizationUtils.sanitizeEnableVariableUpdateRate( in validateAndSanitizeSubscriptions()
41 import static com.android.car.internal.property.InputSanitizationUtils.sanitizeUpdateRateHz;