Home
last modified time | relevance | path

Searched refs:InputSanitizationUtils (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/property/
DInputSanitizationUtilsUnitTest.java49 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 …]
/packages/services/Car/car-lib/src/com/android/car/internal/property/
DInputSanitizationUtils.java41 public final class InputSanitizationUtils { class
43 private static final String TAG = InputSanitizationUtils.class.getSimpleName();
47 private InputSanitizationUtils() { in InputSanitizationUtils() method in InputSanitizationUtils
/packages/services/Car/car-lib/src/android/car/hardware/property/
DSubscription.java29 import com.android.car.internal.property.InputSanitizationUtils;
315 InputSanitizationUtils.requireIntegerPowerOf10Resolution(resolution); in setResolution()
DCarPropertyManager.java72 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()
/packages/services/Car/service/src/com/android/car/
DCarPropertyService.java71 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()
/packages/services/Car/service/src/com/android/car/hal/
DPropertyHalService.java41 import static com.android.car.internal.property.InputSanitizationUtils.sanitizeUpdateRateHz;