/packages/services/Car/tests/CarHiddenApiTest/src/android/car/hiddenapitest/ |
D | CarHvacManagerTest.java | 137 int max = property.getMaxValue(areaId) == null ? 0 : property.getMaxValue(areaId); in checkIntMinMax() 142 int max = property.getMaxValue() == null ? 0 : property.getMinValue(); in checkIntMinMax() 147 assertThat(property.getMaxValue(0x1 << i)).isNull(); in checkIntMinMax() 164 property.getMaxValue(areaId) == null ? 0f : property.getMinValue(areaId); in checkFloatMinMax() 169 float max = property.getMaxValue() == null ? 0f : property.getMinValue(); in checkFloatMinMax() 174 assertThat(property.getMaxValue(0x1 << i)).isNull(); in checkFloatMinMax()
|
D | CarCabinManagerTest.java | 141 int max = property.getMaxValue(areId); in checkIntMinMax() 146 int max = property.getMaxValue(); in checkIntMinMax() 151 assertThat(property.getMaxValue(0x1 << i)).isNull(); in checkIntMinMax()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/ |
D | HvacUtilsTest.java | 209 when(mAreaIdConfig1.getMaxValue()).thenReturn(1); in getLowestMaxValueForAllAreaIds_integer_returnsLowest() 210 when(mAreaIdConfig2.getMaxValue()).thenReturn(2); in getLowestMaxValueForAllAreaIds_integer_returnsLowest() 211 when(mAreaIdConfig3.getMaxValue()).thenReturn(3); in getLowestMaxValueForAllAreaIds_integer_returnsLowest() 221 when(mAreaIdConfig1.getMaxValue()).thenReturn(0); in getLowestMaxValueForAllAreaIds_integer_ignoresNullValues() 222 when(mAreaIdConfig2.getMaxValue()).thenReturn(1); in getLowestMaxValueForAllAreaIds_integer_ignoresNullValues() 223 when(mAreaIdConfig3.getMaxValue()).thenReturn(null); in getLowestMaxValueForAllAreaIds_integer_ignoresNullValues()
|
D | SeatTemperatureLevelButtonTest.java | 72 when(mAreaIdConfig.getMaxValue()).thenReturn(3); in setUp()
|
/packages/services/Car/tests/CarLibUnitTest/src/android/car/hardware/ |
D | CarPropertyConfigTest.java | 66 assertThat(config.getMaxValue(WINDOW_DRIVER)).isNull(); in createFloatPropertyConfig() 69 assertThat(config.getMaxValue(WINDOW_PASSENGER)).isEqualTo(20f); in createFloatPropertyConfig() 88 assertThat(configRead.getMaxValue(WINDOW_DRIVER)).isNull(); in testWriteReadFloat() 91 assertThat(configRead.getMaxValue(WINDOW_PASSENGER)).isEqualTo(20f); in testWriteReadFloat() 112 assertThat(configRead.getMaxValue(WINDOW_DRIVER)).isNull(); in testWriteReadIntegerValue() 115 assertThat(configRead.getMaxValue(WINDOW_PASSENGER)).isEqualTo(expectedMaxValue); in testWriteReadIntegerValue() 136 assertThat(configRead.getMaxValue(WINDOW_DRIVER)).isNull(); in testWriteReadLongValue() 139 assertThat(configRead.getMaxValue(WINDOW_PASSENGER)).isEqualTo(expectedMaxValue); in testWriteReadLongValue() 161 assertThat(configRead.getMaxValue(WINDOW_PASSENGER)).isNull(); in testWriteReadIntegerArray() 163 assertThat(configRead.getMaxValue(WINDOW_DRIVER)).isNull(); in testWriteReadIntegerArray()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/ |
D | HvacUtils.java | 93 if (lowestMaxValue == null || (areaIdConfig.getMaxValue() != null in getLowestMaxValueForAllAreaIds() 94 && (Integer) areaIdConfig.getMaxValue() < lowestMaxValue)) { in getLowestMaxValueForAllAreaIds() 95 lowestMaxValue = (Integer) areaIdConfig.getMaxValue(); in getLowestMaxValueForAllAreaIds()
|
D | SeatTemperatureLevelButton.java | 113 mTotalLevelCount = Math.min(areaIdConfig.getMaxValue(), mIcons.size()); in setConfigInfo()
|
/packages/services/Car/tests/CarLibUnitTest/src/android/car/hardware/property/ |
D | AreaIdConfigTest.java | 65 assertThat(AREA_ID_CONFIG.getMaxValue()).isEqualTo(MAX_VALUE); in getMaxValue_returnsExpectedValue() 70 assertThat(new AreaIdConfig.Builder<Long>(ACCESS, AREA_ID).build().getMaxValue()).isNull(); in getMaxValue_returnsNullIfNotSet() 110 expectThat((Integer) areaIdConfig.getMaxValue()).isEqualTo(MAX_VALUE); in writeToParcel_writesCorrectly() 136 expectThat(areaIdConfig.getMaxValue()).isEqualTo(MAX_VALUE); in testSetMaxSupportedValue()
|
D | MinMaxSupportedValueUnitTest.java | 33 expectThat(minMaxSupportedValue.getMaxValue()).isEqualTo(maxValue); in testMinMaxSupportedValue()
|
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/observations/ |
D | PrivateIntegerEncoder.java | 66 if (aggregateValue.getIntegerValue() > mReport.getMaxValue()) { in encode() 75 mReport.getMaxValue(), in encode()
|
D | PrivateIndexCalculations.java | 113 return min(report.getMaxValue(), max(report.getMinValue(), value)); in clipValue()
|
/packages/services/Car/car-lib/src/android/car/hardware/ |
D | CarPropertyConfig.java | 403 public T getMaxValue(int areaId) { in getMaxValue() method in CarPropertyConfig 405 return areaIdConfig == null ? null : areaIdConfig.getMaxValue(); in getMaxValue() 427 public T getMaxValue() { in getMaxValue() method in CarPropertyConfig 429 return areaIdConfig == null ? null : areaIdConfig.getMaxValue(); in getMaxValue() 567 @Nullable public T getMaxValue() { in getMaxValue() method
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | HalPropConfigTest.java | 298 assertThat(areaIdConfig.getMaxValue()).isNull(); in testToCarPropertyConfig_populatesGlobalAreaId() 317 assertThat(areaIdConfig.getMaxValue()).isEqualTo(MAX_INT32_VALUE); in testToCarPropertyConfig_convertsIntegerMinMax() 337 assertThat(areaIdConfig.getMaxValue()).isNull(); in testToCarPropertyConfig_doesNotConvertIntegerMinMaxIfBothZero() 356 assertThat(areaIdConfig.getMaxValue()).isEqualTo(MAX_INT64_VALUE); in testToCarPropertyConfig_convertsLongMinMax() 377 assertThat(areaIdConfig.getMaxValue()).isNull(); in testToCarPropertyConfig_doesNotConvertLongMinMaxIfBothZero() 396 assertThat(areaIdConfig.getMaxValue()).isEqualTo(MAX_FLOAT_VALUE); in testToCarPropertyConfig_convertsFloatMinMax() 417 assertThat(areaIdConfig.getMaxValue()).isNull(); in testToCarPropertyConfig_doesNotConvertFloatMinMaxIfBothZero() 437 assertThat(areaIdConfig.getMaxValue()).isNull(); in testToCarPropertyConfig_doesNotPopulateMinMaxForUnsupportedType()
|
/packages/services/Car/car-lib/src/android/car/hardware/property/ |
D | MinMaxSupportedValue.java | 60 public @Nullable T getMaxValue() { in getMaxValue() method in MinMaxSupportedValue
|
D | AreaIdConfig.java | 182 public T getMaxValue() {
|
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/registry/ |
D | RegistryValidator.java | 145 report.getMaxValue())) { in isValid() 152 report.getMaxValue()); in isValid()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarPropertyService.java | 213 @Nullable RawPropertyValue getMaxValue( in getMaxValue() method 227 public @Nullable RawPropertyValue getMaxValue( in getMaxValue() method in CarPropertyService.SystemMinMaxSupportedPropertyValueHelper 1512 .getMaxValue(minMaxSupportedPropertyValue); in validateValueRange() 1573 if (areaIdConfig.getMaxValue() != null) { in validateValueRangeBasedOnConfig() 1575 valueToSet, areaIdConfig.getMaxValue()), in validateValueRangeBasedOnConfig() 1580 areaIdConfig.getMaxValue()); in validateValueRangeBasedOnConfig()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarPropertyServiceUnitTest.java | 546 when(mMinMaxSupportedPropertyValueHelper.getMaxValue(any())).thenReturn( in testSetPropertiesAsync_valueLargerThanMaxValue_IntValue() 568 when(mMinMaxSupportedPropertyValueHelper.getMaxValue(any())).thenReturn( in testSetPropertiesAsync_valueLargerThanMaxValue_LongValue() 595 when(mMinMaxSupportedPropertyValueHelper.getMaxValue(any())).thenReturn( in testSetPropertiesAsync_valueLargerThanMaxValue_FloatValue() 1558 when(mMinMaxSupportedPropertyValueHelper.getMaxValue(any())).thenReturn( in setProperty_throwsExceptionIntSetValueWithinRange() 1588 when(mMinMaxSupportedPropertyValueHelper.getMaxValue(any())).thenReturn( in setProperty_throwsExceptionIntSetValueTooLarge() 1626 when(mMinMaxSupportedPropertyValueHelper.getMaxValue(any())).thenReturn( in setProperty_throwsExceptionLongSetValueTooLarge() 1664 when(mMinMaxSupportedPropertyValueHelper.getMaxValue(any())).thenReturn( in setProperty_throwsExceptionFloatSetValueTooLarge() 2094 expectThat(areaIdConfigCaptor.getValue().getMaxValue()).isNull(); in testGetMinMaxSupportedValue() 2130 expectThat(areaIdConfigCaptor.getValue().getMaxValue()).isNull(); in testGetSupportedValuesList()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/ |
D | HvacTestFragment.java | 384 mMaxFanSpeeds[i] = (Integer) prop.getMaxValue(mZonesForFanSpeed[i]); in configureFanSpeed() 449 mMaxDTemp = (Float) prop.getMaxValue(mZoneForSetTempD); in configureTempSetpoint() 476 mMaxPTemp = (Float) prop.getMaxValue(mZoneForSetTempP); in configureTempSetpoint()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryHeaderPreference.kt | 111 override fun getMaxValue(context: Context): Int = 100 in getMinValue() method in com.android.settings.fuelgauge.BatteryHeaderPreference
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | CallVolumePreference.kt | 113 override fun getMaxValue(context: Context) = in getWritePermit() method in com.android.settings.notification.CallVolumePreference
|
D | MediaVolumePreference.kt | 113 override fun getMaxValue(context: Context) = in getWritePermit() method in com.android.settings.notification.MediaVolumePreference
|
D | SeparateRingVolumePreference.kt | 130 override fun getMaxValue(context: Context) = in getWritePermit() method in com.android.settings.notification.SeparateRingVolumePreference
|
/packages/services/Car/tests/CarServiceTest/src/com/android/car/ |
D | CarPropertyManagerTest.java | 1496 assertThat(minMaxSupportedValue.getMaxValue()).isEqualTo(TEST_MAX_INT32_VALUE); in testGetMinMaxSupportedValue() 1510 assertThat(minMaxSupportedValue.getMaxValue()).isEqualTo(TEST_MAX_INT32_VALUE); in testGetMinMaxSupportedValue_noMinValueSpecified() 1524 assertThat(minMaxSupportedValue.getMaxValue()).isNull(); in testGetMinMaxSupportedValue_noMaxValueSpecified() 1538 assertThat(minMaxSupportedValue.getMaxValue()).isEqualTo(TEST_MAX_INT32_VALUE); in testGetMinMaxSupportedValue_supportedValueChange() 1546 assertThat(minMaxSupportedValue.getMaxValue()).isEqualTo(10); in testGetMinMaxSupportedValue_supportedValueChange() 1561 assertThat(minMaxSupportedValue.getMaxValue()).isEqualTo(TEST_MAX_INT32_VALUE); in testGetMinMaxSupportedValue_isSupportedValuesNotImplemented()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | BrightnessLevelPreference.kt | 132 override fun getMaxValue(context: Context) = 100 in getReadPermissions() method in com.android.settings.display.BrightnessLevelPreference
|