Home
last modified time | relevance | path

Searched refs:getMinValue (Results 1 – 24 of 24) sorted by relevance

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarHvacManagerTest.java135 int min = property.getMinValue(areaId) == null ? 0 : property.getMinValue(areaId); in checkIntMinMax()
140 int min = property.getMinValue() == null ? 0 : property.getMinValue(); in checkIntMinMax()
141 int max = property.getMaxValue() == null ? 0 : property.getMinValue(); in checkIntMinMax()
145 assertThat(property.getMinValue(0x1 << i)).isNull(); in checkIntMinMax()
161 property.getMinValue(areaId) == null ? 0f : property.getMinValue(areaId); in checkFloatMinMax()
163 property.getMaxValue(areaId) == null ? 0f : property.getMinValue(areaId); in checkFloatMinMax()
167 float min = property.getMinValue() == null ? 0f : property.getMinValue(); in checkFloatMinMax()
168 float max = property.getMaxValue() == null ? 0f : property.getMinValue(); in checkFloatMinMax()
172 assertThat(property.getMinValue(0x1 << i)).isNull(); in checkFloatMinMax()
DCarPropertyConfigTest.java60 assertThat(config.getMinValue(WINDOW_DRIVER)).isNull(); in createFloatPropertyConfig()
63 assertThat(config.getMinValue(WINDOW_PASSENGER)).isEqualTo(10f); in createFloatPropertyConfig()
82 assertThat(configRead.getMinValue(WINDOW_DRIVER)).isNull(); in testWriteReadFloat()
85 assertThat(configRead.getMinValue(WINDOW_PASSENGER)).isEqualTo(10f); in testWriteReadFloat()
106 assertThat(configRead.getMinValue(WINDOW_DRIVER)).isNull(); in testWriteReadIntegerValue()
109 assertThat(configRead.getMinValue(WINDOW_PASSENGER)).isEqualTo(expectedMinValue); in testWriteReadIntegerValue()
130 assertThat(configRead.getMinValue(WINDOW_DRIVER)).isNull(); in testWriteReadLongValue()
133 assertThat(configRead.getMinValue(WINDOW_PASSENGER)).isEqualTo(expectedMinValue); in testWriteReadLongValue()
155 assertThat(configRead.getMinValue(WINDOW_PASSENGER)).isNull(); in testWriteReadIntegerArray()
157 assertThat(configRead.getMinValue(WINDOW_DRIVER)).isNull(); in testWriteReadIntegerArray()
[all …]
DCarCabinManagerTest.java139 int min = property.getMinValue(areId); in checkIntMinMax()
144 int min = property.getMinValue(); in checkIntMinMax()
149 assertThat(property.getMinValue(0x1 << i)).isNull(); in checkIntMinMax()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/
DHvacUtilsTest.java178 when(mAreaIdConfig1.getMinValue()).thenReturn(1); in getHighestMinValueForAllAreaIds_integer_returnsHighest()
179 when(mAreaIdConfig2.getMinValue()).thenReturn(2); in getHighestMinValueForAllAreaIds_integer_returnsHighest()
180 when(mAreaIdConfig3.getMinValue()).thenReturn(3); in getHighestMinValueForAllAreaIds_integer_returnsHighest()
190 when(mAreaIdConfig1.getMinValue()).thenReturn(1); in getHighestMinValueForAllAreaIds_integer_ignoresNullValues()
191 when(mAreaIdConfig2.getMinValue()).thenReturn(2); in getHighestMinValueForAllAreaIds_integer_ignoresNullValues()
192 when(mAreaIdConfig3.getMinValue()).thenReturn(null); in getHighestMinValueForAllAreaIds_integer_ignoresNullValues()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DHvacUtils.java71 if (highestMinValue == null || (areaIdConfig.getMinValue() != null in getHighestMinValueForAllAreaIds()
72 && (Integer) areaIdConfig.getMinValue() > highestMinValue)) { in getHighestMinValueForAllAreaIds()
73 highestMinValue = (Integer) areaIdConfig.getMinValue(); in getHighestMinValueForAllAreaIds()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/hardware/property/
DAreaIdConfigTest.java52 assertThat(AREA_ID_CONFIG.getMinValue()).isEqualTo(MIN_VALUE); in getMinValue_returnsExpectedValue()
57 assertThat(new AreaIdConfig.Builder<Long>(ACCESS, AREA_ID).build().getMinValue()).isNull(); in getMinValue_returnsNullIfNotSet()
108 assertThat((Integer) areaIdConfig.getMinValue()).isEqualTo(MIN_VALUE); in writeToParcel_writesCorrectly()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DHalPropConfigTest.java284 assertThat(areaIdConfig.getMinValue()).isNull(); in toCarPropertyConfig_populatesGlobalAreaId()
303 assertThat(areaIdConfig.getMinValue()).isEqualTo(MIN_INT32_VALUE); in toCarPropertyConfig_convertsIntegerMinMax()
323 assertThat(areaIdConfig.getMinValue()).isNull(); in toCarPropertyConfig_doesNotConvertIntegerMinMaxIfBothZero()
342 assertThat(areaIdConfig.getMinValue()).isEqualTo(MIN_INT64_VALUE); in toCarPropertyConfig_convertsLongMinMax()
363 assertThat(areaIdConfig.getMinValue()).isNull(); in toCarPropertyConfig_doesNotConvertLongMinMaxIfBothZero()
382 assertThat(areaIdConfig.getMinValue()).isEqualTo(MIN_FLOAT_VALUE); in toCarPropertyConfig_convertsFloatMinMax()
403 assertThat(areaIdConfig.getMinValue()).isNull(); in toCarPropertyConfig_doesNotConvertFloatMinMaxIfBothZero()
423 assertThat(areaIdConfig.getMinValue()).isNull(); in toCarPropertyConfig_doesNotPopulateMinMaxForUnsupportedType()
/packages/services/Car/car-lib/src/android/car/hardware/
DCarPropertyConfig.java354 public T getMinValue(int areaId) { in getMinValue() method in CarPropertyConfig
356 return areaIdConfig == null ? null : areaIdConfig.getMinValue(); in getMinValue()
379 public T getMinValue() { in getMinValue() method in CarPropertyConfig
381 return areaIdConfig == null ? null : areaIdConfig.getMinValue(); in getMinValue()
516 @Nullable public T getMinValue() { in getMinValue() method
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/observations/
DPrivateIntegerEncoder.java70 mReport.getMinValue(), in encode()
DPrivateIndexCalculations.java114 return min(report.getMaxValue(), max(report.getMinValue(), value)); in clipValue()
/packages/services/Car/service/src/com/android/car/
DCarPropertyService.java1244 if (areaIdConfig.getMinValue() != null) { in validateSetParameters()
1248 (Integer) valueToSet >= (Integer) areaIdConfig.getMinValue(); in validateSetParameters()
1251 (Long) valueToSet >= (Long) areaIdConfig.getMinValue(); in validateSetParameters()
1254 (Float) valueToSet >= (Float) areaIdConfig.getMinValue(); in validateSetParameters()
1260 toHexString(areaId), areaIdConfig.getMinValue()); in validateSetParameters()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/
DHvacTestFragment.java385 mMinFanSpeeds[i] = (Integer) prop.getMinValue(mZonesForFanSpeed[i]); in configureFanSpeed()
450 mMinDTemp = (Float) prop.getMinValue(mZoneForSetTempD); in configureTempSetpoint()
477 mMinPTemp = (Float) prop.getMinValue(mZoneForSetTempP); in configureTempSetpoint()
/packages/services/Car/car-lib/src/android/car/hardware/property/
DAreaIdConfig.java123 public T getMinValue() {
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarVendorExtensionManagerTest.java146 assertEquals(MIN_PROP_INT32, prop1.getMinValue()); in testPropertyList()
/packages/services/Car/car-lib/api/
Dcurrent.txt579 method @Deprecated @Nullable public T getMinValue(int);
580 method @Deprecated @Nullable public T getMinValue();
755 method @Nullable public T getMinValue();
Dlint-baseline.txt1434 UnflaggedApi: android.car.hardware.property.AreaIdConfig#getMinValue():
1435 …I must be flagged with @FlaggedApi: method android.car.hardware.property.AreaIdConfig.getMinValue()
/packages/services/Car/car-lib-module/api/
Dcurrent.txt579 method @Deprecated @Nullable public T getMinValue(int);
580 method @Deprecated @Nullable public T getMinValue();
755 method @Nullable public T getMinValue();
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiScoreCardTest.java637 assertEquals(111.0, signal.getElapsedMs().getMinValue(), TOL); in testAccessPointSerialization()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiScoreCard.java2458 minValue = Math.min(minValue, stats.getMinValue()); in merge()
/packages/services/Car/tests/carservice_unit_test/res/raw/
Dcar_hidden_apis_release_33.2.txt269 android.car.hardware CarPropertyConfig.AreaConfig T getMinValue()
Dcar_hidden_apis_release_33.1.txt269 android.car.hardware CarPropertyConfig.AreaConfig T getMinValue()
Dcar_hidden_apis.txt355 android.car.hardware CarPropertyConfig.AreaConfig T getMinValue()
Dcar_hidden_apis_release_33.3.txt295 android.car.hardware CarPropertyConfig.AreaConfig T getMinValue()
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt1242 method TIRAMISU_0 T getMinValue(int areaId);
1244 method TIRAMISU_0 T getMinValue();
1253 method TIRAMISU_0 T getMinValue();