Home
last modified time | relevance | path

Searched refs:vehiclePropConfig (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/fakevhal/
DFakeVhalConfigParserUnitTest.java595 VehiclePropConfig vehiclePropConfig = new VehiclePropConfig(); in testParseAreaConfigValueHasNoAccessLevel() local
596 vehiclePropConfig.prop = 286261504; in testParseAreaConfigValueHasNoAccessLevel()
597 vehiclePropConfig.access = AccessForVehicleProperty.values.get(286261504); in testParseAreaConfigValueHasNoAccessLevel()
603 vehiclePropConfig.areaConfigs = new VehicleAreaConfig[]{vehicleAreaConfig}; in testParseAreaConfigValueHasNoAccessLevel()
608 ConfigDeclaration expectConfigDeclaration = new ConfigDeclaration(vehiclePropConfig, in testParseAreaConfigValueHasNoAccessLevel()
623 VehiclePropConfig vehiclePropConfig = new VehiclePropConfig(); in testParseAreaConfigValueHasAccessLevel() local
624 vehiclePropConfig.prop = 286261504; in testParseAreaConfigValueHasAccessLevel()
625 vehiclePropConfig.access = AccessForVehicleProperty.values.get(286261504); in testParseAreaConfigValueHasAccessLevel()
631 vehiclePropConfig.areaConfigs = new VehicleAreaConfig[]{vehicleAreaConfig}; in testParseAreaConfigValueHasAccessLevel()
636 ConfigDeclaration expectConfigDeclaration = new ConfigDeclaration(vehiclePropConfig, in testParseAreaConfigValueHasAccessLevel()
[all …]
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DFakeVhalConfigParser.java313 VehiclePropConfig vehiclePropConfig = new VehiclePropConfig(); in parseEachProperty() local
314 vehiclePropConfig.prop = VehicleProperty.INVALID; in parseEachProperty()
329 vehiclePropConfig.prop = parseIntValue(reader, fieldName, errors); in parseEachProperty()
332 vehiclePropConfig.configString = parseStringValue(reader, fieldName, in parseEachProperty()
336 vehiclePropConfig.minSampleRate = parseFloatValue(reader, fieldName, in parseEachProperty()
340 vehiclePropConfig.maxSampleRate = parseFloatValue(reader, fieldName, in parseEachProperty()
344 vehiclePropConfig.access = parseIntValue(reader, fieldName, errors); in parseEachProperty()
348 vehiclePropConfig.changeMode = parseIntValue(reader, fieldName, errors); in parseEachProperty()
352 vehiclePropConfig.configArray = parseIntArrayValue(reader, fieldName, in parseEachProperty()
359 vehiclePropConfig.areaConfigs = parseAreaConfigs(reader, in parseEachProperty()
[all …]
DFakeVehicleStub.java616 VehiclePropConfig vehiclePropConfig = configDeclarationsByPropId.valueAt(i).getConfig(); in extractPropConfigs() local
617 propConfigsByPropId.put(vehiclePropConfig.prop, in extractPropConfigs()
618 new AidlHalPropConfig(vehiclePropConfig)); in extractPropConfigs()