/packages/services/Car/service/src/com/android/car/hal/ |
D | DiagnosticHalService.java | 170 protected int getTokenForProperty(HalPropConfig propConfig) { in getTokenForProperty() argument 171 int propId = propConfig.getPropId(); in getTokenForProperty() 176 mVehiclePropertyToConfig.put(propId, propConfig); in getTokenForProperty() 178 + Arrays.toString(propConfig.getConfigArray())); in getTokenForProperty() 182 mVehiclePropertyToConfig.put(propId, propConfig); in getTokenForProperty() 184 + Arrays.toString(propConfig.getConfigArray())); in getTokenForProperty() 195 int[] configArray = propConfig.getConfigArray(); in getTokenForProperty() 282 HalPropConfig propConfig; in requestDiagnosticStart() local 284 propConfig = mSensorTypeToConfig.get(sensorType); in requestDiagnosticStart() 286 if (propConfig == null) { in requestDiagnosticStart() [all …]
|
/packages/services/Car/libs/vehicle-hal-support-lib/src/com/android/car/hal/test/ |
D | AidlVehiclePropConfigBuilder.java | 34 private AidlVehiclePropConfigBuilder(VehiclePropConfig propConfig) { in AidlVehiclePropConfigBuilder() argument 35 mConfig = clone(propConfig); in AidlVehiclePropConfigBuilder() 47 private VehiclePropConfig clone(VehiclePropConfig propConfig) { in clone() argument 50 newConfig.prop = propConfig.prop; in clone() 51 newConfig.access = propConfig.access; in clone() 52 newConfig.changeMode = propConfig.changeMode; in clone() 53 newConfig.configString = propConfig.configString; in clone() 54 newConfig.minSampleRate = propConfig.minSampleRate; in clone() 55 newConfig.maxSampleRate = propConfig.maxSampleRate; in clone() 56 newConfig.configArray = propConfig.configArray.clone(); in clone() [all …]
|
D | HidlVehiclePropConfigBuilder.java | 46 private VehiclePropConfig clone(VehiclePropConfig propConfig) { in clone() argument 49 newConfig.prop = propConfig.prop; in clone() 50 newConfig.access = propConfig.access; in clone() 51 newConfig.changeMode = propConfig.changeMode; in clone() 52 newConfig.configString = propConfig.configString; in clone() 53 newConfig.minSampleRate = propConfig.minSampleRate; in clone() 54 newConfig.maxSampleRate = propConfig.maxSampleRate; in clone() 55 newConfig.configArray.addAll(propConfig.configArray); in clone() 56 for (VehicleAreaConfig area : propConfig.areaConfigs) { in clone()
|
D | DiagnosticEventBuilder.java | 105 public DiagnosticEventBuilder(VehiclePropConfig propConfig) { in DiagnosticEventBuilder() argument 106 this(propConfig.prop, propConfig.configArray[0], propConfig.configArray[1]); in DiagnosticEventBuilder()
|
/packages/services/Car/tools/emulator/ |
D | diagnostic_builder.py | 55 def __init__(self, propConfig): argument 58 self.numIntSensors = propConfig.config[0].config_array[0] + \ 60 self.numFloatSensors = propConfig.config[0].config_array[1] + \
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | VmsHalServiceTest.java | 111 VehiclePropConfig propConfig = new VehiclePropConfig(); in initHalService() local 112 propConfig.prop = VehicleProperty.VEHICLE_MAP_SERVICE; in initHalService() 113 HalPropConfig halPropConfig = new AidlHalPropConfig(propConfig); in initHalService() 165 VehiclePropConfig propConfig = new VehiclePropConfig(); in testCoreId_IntegerOverflow() local 166 propConfig.prop = VehicleProperty.VEHICLE_MAP_SERVICE; in testCoreId_IntegerOverflow() 167 HalPropConfig halPropConfig = new AidlHalPropConfig(propConfig); in testCoreId_IntegerOverflow()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/fakevhal/ |
D | FakeVehicleStubUnitTest.java | 197 HalPropConfig propConfig = getPropConfigByPropId(allPropConfig, in testGetAllPropConfigsWithCustomConfigHasExistingPropId() local 200 expect.that(propConfig.getPropId()).isEqualTo(VehicleProperty.TIRE_PRESSURE); in testGetAllPropConfigsWithCustomConfigHasExistingPropId() 201 expect.that(propConfig.getMaxSampleRate()).isEqualTo(2.5f); in testGetAllPropConfigsWithCustomConfigHasExistingPropId() 217 HalPropConfig propConfig = getPropConfigByPropId(allPropConfig, 123); in testGetAllPropConfigsWithCustomConfigHasNonExistingPropId() local 219 expect.that(propConfig.getPropId()).isEqualTo(123); in testGetAllPropConfigsWithCustomConfigHasNonExistingPropId() 220 expect.that(propConfig.getMaxSampleRate()).isEqualTo(5.0f); in testGetAllPropConfigsWithCustomConfigHasNonExistingPropId() 235 HalPropConfig propConfig = getPropConfigByPropId(fakeVehicleStub.getAllPropConfigs(), in testGetAllPropConfigsWithSpecialProp() local 239 expect.that(propConfig.getAccess()).isEqualTo(VehiclePropertyAccess.READ_WRITE); in testGetAllPropConfigsWithSpecialProp() 1721 ConfigDeclaration propConfig = new ConfigDeclaration( in createParseResult() local 1723 parseResult.put(propId, propConfig); in createParseResult()
|
/packages/services/Car/service/src/com/android/car/hal/fakevhal/ |
D | FakeVhalConfigParser.java | 264 ConfigDeclaration propConfig = parseEachProperty(reader, index, errors); in parseJsonConfig() 265 if (propConfig == null) { in parseJsonConfig() 274 allPropConfigs.put(propConfig.getConfig().prop, propConfig); in parseJsonConfig()
|
D | FakeVehicleStub.java | 731 HalPropConfig propConfig = realVehiclePropConfigs[i]; in overrideConfigsForSpecialProp() local 732 int propId = propConfig.getPropId(); in overrideConfigsForSpecialProp() 734 fakePropConfigsByPropId.put(propConfig.getPropId(), propConfig); in overrideConfigsForSpecialProp() local
|
/packages/services/Car/service/src/com/android/car/telemetry/publisher/ |
D | VehiclePropertyPublisher.java | 344 PropertyData(CarPropertyConfig propConfig) { in PropertyData() argument 345 config = propConfig; in PropertyData()
|
/packages/services/Car/car-lib/src/android/car/hardware/property/ |
D | CarPropertyManager.java | 2058 CarPropertyConfig<?> propConfig = configs.getConfigs().get(0); in getAreaId() local 2060 if (propConfig.isGlobalProperty()) { in getAreaId() 2066 for (int areaId : propConfig.getAreaIds()) { in getAreaId()
|