Searched refs:rawPropValues (Results 1 – 4 of 4) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/fakevhal/ |
D | FakeVehicleStubUnitTest.java | 784 RawPropValues rawPropValues = new RawPropValues(); in testSetMethodPropDefaultValueExist() local 785 rawPropValues.floatValues = new float[]{10}; in testSetMethodPropDefaultValueExist() 788 SystemClock.elapsedRealtimeNanos(), rawPropValues); in testSetMethodPropDefaultValueExist() 809 RawPropValues rawPropValues = new RawPropValues(); in testSetMethodPropDefaultValueNotExist() local 810 rawPropValues.int32Values = new int[]{32}; in testSetMethodPropDefaultValueNotExist() 813 SystemClock.elapsedRealtimeNanos(), rawPropValues); in testSetMethodPropDefaultValueNotExist() 838 RawPropValues rawPropValues = new RawPropValues(); in testSetMethodValueOutOfRange() local 839 rawPropValues.int32Values = new int[]{15}; in testSetMethodValueOutOfRange() 842 SystemClock.elapsedRealtimeNanos(), rawPropValues); in testSetMethodValueOutOfRange() 862 RawPropValues rawPropValues = new RawPropValues(); in testSetMethodGlobalPropWithAreaIdSetValueOutOfRange() local [all …]
|
D | FakeVhalConfigParserUnitTest.java | 521 RawPropValues rawPropValues = mFakeVhalConfigParser.parseJsonConfig(tempFile).get(286261504) in testParseDefaultValueFloat() local 525 assertThat(rawPropValues).isEqualTo(expectRawPropertyValues); in testParseDefaultValueFloat() 536 RawPropValues rawPropValues = mFakeVhalConfigParser.parseJsonConfig(tempFile).get(286261504) in testParseDefaultValueIntValuesString() local 539 assertThat(rawPropValues).isEqualTo(expectRawPropertyValues); in testParseDefaultValueIntValuesString()
|
/packages/services/Car/service/src/com/android/car/hal/fakevhal/ |
D | FakeVehicleStub.java | 424 RawPropValues rawPropValues = ((VehiclePropValue) propValue.toVehiclePropValue()).value; in set() local 427 if (!withinRange(propId, areaId, rawPropValues)) { in set() 433 SystemClock.elapsedRealtimeNanos(), rawPropValues); in set() 759 RawPropValues rawPropValues) { in buildHalPropValue() argument 764 propValue.value = rawPropValues; in buildHalPropValue() 845 private boolean withinRange(int propId, int areaId, RawPropValues rawPropValues) { in withinRange() argument 856 int[] int32Values = rawPropValues.int32Values; in withinRange() 857 long[] int64Values = rawPropValues.int64Values; in withinRange() 858 float[] floatValues = rawPropValues.floatValues; in withinRange() 1197 RawPropValues rawPropValues = ((VehiclePropValue) propValue.toVehiclePropValue()).value; in updateTimeStamp() local [all …]
|
D | FakeVhalConfigParser.java | 575 RawPropValues rawPropValues = new RawPropValues(); in parseDefaultValue() local 582 rawPropValues.int32Values = parseIntArrayValue(reader, fieldName, errors); in parseDefaultValue() 586 rawPropValues.int64Values = parseLongArrayValue(reader, fieldName, errors); in parseDefaultValue() 590 rawPropValues.floatValues = parseFloatArrayValue(reader, fieldName, errors); in parseDefaultValue() 594 rawPropValues.stringValue = parseStringValue(reader, fieldName, errors); in parseDefaultValue() 620 return rawPropValues; in parseDefaultValue()
|