Home
last modified time | relevance | path

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

/packages/services/Car/car-lib/src/android/car/hardware/
DCarPropertyValue.java119 Class<?> valueClass; in CarPropertyValue() local
121 valueClass = Class.forName(valueClassName); in CarPropertyValue()
126 if (String.class.equals(valueClass)) { in CarPropertyValue()
129 } else if (byte[].class.equals(valueClass)) { in CarPropertyValue()
132 mValue = (T) in.readValue(valueClass.getClassLoader()); in CarPropertyValue()
160 Class<?> valueClass = mValue == null ? null : mValue.getClass(); in writeToParcel() local
161 dest.writeString(valueClass == null ? null : valueClass.getName()); in writeToParcel()
164 if (String.class.equals(valueClass)) { in writeToParcel()
166 } else if (byte[].class.equals(valueClass)) { in writeToParcel()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DCarPropertyTest.java174 Class valueClass = expectedEvent.getValue().getClass(); in testHvacHardButtonOperations() local
175 propMgr.setProperty(valueClass, in testHvacHardButtonOperations()
180 CarPropertyValue receivedEvent = propMgr.getProperty(valueClass, in testHvacHardButtonOperations()