Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DHalPropConfigTest.java79 private static final float MAX_FLOAT_VALUE = 40.0f; field in HalPropConfigTest
148 hidlAreaConfig.maxFloatValue = MAX_FLOAT_VALUE; in getTestHidlAreaConfig()
161 aidlAreaConfig.maxFloatValue = MAX_FLOAT_VALUE; in getTestAidlAreaConfig()
176 aidlAreaConfig.maxFloatValue = MAX_FLOAT_VALUE; in getTestInvalidAidlAreaConfig()
213 assertThat(halAreaConfig.getMaxFloatValue()).isEqualTo(MAX_FLOAT_VALUE); in testAidlHalPropConfigWithArea()
258 assertThat(halAreaConfig.getMaxFloatValue()).isEqualTo(MAX_FLOAT_VALUE); in testHidlHalPropConfigWithArea()
383 assertThat(areaIdConfig.getMaxValue()).isEqualTo(MAX_FLOAT_VALUE); in toCarPropertyConfig_convertsFloatMinMax()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPropertyServiceUnitTest.java138 private static final float MAX_FLOAT_VALUE = 5.5f; field in CarPropertyServiceUnitTest
211 .setMinValue(MIN_FLOAT_VALUE).setMaxValue(MAX_FLOAT_VALUE).build()) in setUp()
1422 MAX_FLOAT_VALUE + 1), mICarPropertyEventListener)); in setProperty_throwsExceptionBecauseOfFloatSetValueIsGreaterThanMaxValue()