Home
last modified time | relevance | path

Searched refs:getPropertyType (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/
DHvacUtilsTest.java171 when(mFloatCarPropertyConfig.getPropertyType()).thenReturn(Float.class); in getHighestMinValueForAllAreaIds_nonInteger_returnsNull()
181 when(mIntegerCarPropertyConfig.getPropertyType()).thenReturn(Integer.class); in getHighestMinValueForAllAreaIds_integer_returnsHighest()
193 when(mIntegerCarPropertyConfig.getPropertyType()).thenReturn(Integer.class); in getHighestMinValueForAllAreaIds_integer_ignoresNullValues()
202 when(mFloatCarPropertyConfig.getPropertyType()).thenReturn(Float.class); in getLowestMaxValueForAllAreaIds_nonInteger_returnsNull()
212 when(mIntegerCarPropertyConfig.getPropertyType()).thenReturn(Integer.class); in getLowestMaxValueForAllAreaIds_integer_returnsLowest()
224 when(mIntegerCarPropertyConfig.getPropertyType()).thenReturn(Integer.class); in getLowestMaxValueForAllAreaIds_integer_ignoresNullValues()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarCabinManagerTest.java58 if (supportedTypes.contains(property.getPropertyType())) { in testAllCabinProperties()
72 assertThat(property.getPropertyType()).isAssignableTo(Boolean.class); in assertTypeAndZone()
80 assertThat(property.getPropertyType()).isAssignableTo(Boolean.class); in assertTypeAndZone()
119 assertThat(property.getPropertyType()).isAssignableTo(Integer.class); in assertTypeAndZone()
DCarPropertyConfigTest.java56 assertThat(config.getPropertyType()).isEqualTo(Float.class); in createFloatPropertyConfig()
78 assertThat(configRead.getPropertyType()).isEqualTo(Float.class); in testWriteReadFloat()
103 assertThat(configRead.getPropertyType()).isEqualTo(Integer.class); in testWriteReadIntegerValue()
127 assertThat(configRead.getPropertyType()).isEqualTo(Long.class); in testWriteReadLongValue()
151 assertThat(configRead.getPropertyType()).isEqualTo(Integer[].class); in testWriteReadIntegerArray()
201 assertThat(configRead.getPropertyType()).isEqualTo(Object.class); in testWriteReadMixedType()
DCarHvacManagerTest.java56 if (supportedTypes.contains(property.getPropertyType())) { in testAllHvacProperties()
119 property.getPropertyId()).that(property.getPropertyType()).isEqualTo(clazz); in checkTypeAndGlobal()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DHvacUtils.java66 if (!carPropertyConfig.getPropertyType().equals(Integer.class)) { in getHighestMinValueForAllAreaIds()
88 if (!carPropertyConfig.getPropertyType().equals(Integer.class)) { in getLowestMaxValueForAllAreaIds()
/packages/services/Car/service/src/com/android/car/
DCarPropertyService.java576 carPropertyConfig.getPropertyType()); in getAndDispatchPropertyInitValue()
1237 valueToSet.getClass().equals(carPropertyConfig.getPropertyType()), in validateSetParameters()
1246 if (carPropertyConfig.getPropertyType().equals(Integer.class)) { in validateSetParameters()
1249 } else if (carPropertyConfig.getPropertyType().equals(Long.class)) { in validateSetParameters()
1252 } else if (carPropertyConfig.getPropertyType().equals(Float.class)) { in validateSetParameters()
1266 if (carPropertyConfig.getPropertyType().equals(Integer.class)) { in validateSetParameters()
1269 } else if (carPropertyConfig.getPropertyType().equals(Long.class)) { in validateSetParameters()
1272 } else if (carPropertyConfig.getPropertyType().equals(Float.class)) { in validateSetParameters()
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/
DFakeCarPropertyService.java205 Class<?> type = getPropertyType(propId); in addProperty()
324 private static Class<?> getPropertyType(int propId) { in getPropertyType() method in FakeCarPropertyService
/packages/services/Car/car-lib/src/android/car/hardware/
DCarPropertyConfig.java239 public Class<T> getPropertyType() { in getPropertyType() method in CarPropertyConfig
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarVendorExtensionManagerTest.java145 assertEquals(Integer.class, prop1.getPropertyType()); in testPropertyList()
/packages/services/Car/car-lib/api/
Dcurrent.txt582 method @NonNull public Class<T> getPropertyType();
Dlint-baseline.txt1172 UnflaggedApi: android.car.hardware.CarPropertyConfig#getPropertyType():
1173 …I must be flagged with @FlaggedApi: method android.car.hardware.CarPropertyConfig.getPropertyType()
/packages/services/Car/car-lib-module/api/
Dcurrent.txt582 method @NonNull public Class<T> getPropertyType();
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt1236 method TIRAMISU_0 Class<T> getPropertyType();