/packages/services/Car/service/src/com/android/car/hal/property/ |
D | PropertyHalServiceConfigs.java | 82 public int halPropId; field in PropertyHalServiceConfigs.CarSvcPropertyConfig 100 && halPropId == other.halPropId in equals() 110 return propertyId + halPropId + Objects.hashCode(propertyName) in hashCode() 119 .append(", halPropId: ").append(halPropId) in toString() 175 if (config.halPropId != config.propertyId) { in PropertyHalServiceConfigs() 177 halPropIdMgrIds.add(config.halPropId); in PropertyHalServiceConfigs() 236 public Set<Integer> getAllPossibleSupportedEnumValues(int halPropId) { in getAllPossibleSupportedEnumValues() argument 237 if (!mHalPropIdToCarSvcConfig.contains(halPropId)) { in getAllPossibleSupportedEnumValues() 240 Set<Integer> dataEnums = mHalPropIdToCarSvcConfig.get(halPropId).dataEnums; in getAllPossibleSupportedEnumValues() 284 public PermissionCondition getReadPermission(int halPropId) { in getReadPermission() argument [all …]
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | PropertyHalService.java | 610 int halPropId = managerToHalPropId(mgrPropId); in parseGetAsyncResults() local 613 halPropConfig = mHalPropIdToPropConfig.get(halPropId); in parseGetAsyncResults() 986 int halPropId = managerToHalPropId(pendingRequest.getPropertyId()); in cleanupPendingAsyncSetRequestLocked() local 1008 if (!mHalPropIdToWaitingUpdateRequestInfo.contains(halPropId)) { in cleanupPendingAsyncSetRequestLocked() 1011 if (!mHalPropIdToWaitingUpdateRequestInfo.get(halPropId).remove(pendingRequest)) { in cleanupPendingAsyncSetRequestLocked() 1014 if (mHalPropIdToWaitingUpdateRequestInfo.get(halPropId).isEmpty()) { in cleanupPendingAsyncSetRequestLocked() 1015 mHalPropIdToWaitingUpdateRequestInfo.remove(halPropId); in cleanupPendingAsyncSetRequestLocked() 1019 new ArraySet<Integer>(Set.of(halPropId))); in cleanupPendingAsyncSetRequestLocked() 1095 int halPropId = managerToHalPropId(mgrPropId); in getProperty() local 1100 halPropConfig = mHalPropIdToPropConfig.get(halPropId); in getProperty() [all …]
|
D | DiagnosticHalService.java | 367 private HalPropConfig getPropConfig(int halPropId) { in getPropConfig() argument 370 config = mVehiclePropertyToConfig.get(halPropId, null); in getPropConfig() 375 private int[] getPropConfigArray(int halPropId) { in getPropConfigArray() argument 376 HalPropConfig propConfig = getPropConfig(halPropId); in getPropConfigArray() 399 private int getNumIntegerSensors(int halPropId) { in getNumIntegerSensors() argument 401 int[] configArray = getPropConfigArray(halPropId); in getNumIntegerSensors() 404 + "vendor-specific properties. Assuming 0.", halPropId); in getNumIntegerSensors() 411 private int getNumFloatSensors(int halPropId) { in getNumFloatSensors() argument 413 int[] configArray = getPropConfigArray(halPropId); in getNumFloatSensors() 416 + "vendor-specific properties. Assuming 0.", halPropId); in getNumFloatSensors()
|
D | HalServiceBase.java | 143 int getManagerPropId(int halPropId) { in getManagerPropId() argument 144 return mMap.getKey(halPropId, NOT_SUPPORTED_PROPERTY); in getManagerPropId()
|
D | HalPropValueBuilder.java | 356 public HalPropValue build(CarPropertyValue carPropertyValue, int halPropId, in build() argument 359 return new AidlHalPropValue(carPropertyValue, halPropId, config); in build() 361 return new HidlHalPropValue(carPropertyValue, halPropId, config); in build() 445 AidlHalPropValue(CarPropertyValue value, int halPropId, HalPropConfig config) { in AidlHalPropValue() argument 446 init(halPropId, value.getAreaId(), 0, VehiclePropertyStatus.AVAILABLE); in AidlHalPropValue() 448 if (HalPropValue.isMixedTypeProperty(halPropId)) { in AidlHalPropValue() 839 HidlHalPropValue(CarPropertyValue value, int halPropId, HalPropConfig config) { in HidlHalPropValue() argument 840 init(halPropId, value.getAreaId(), 0, VehiclePropertyStatus.AVAILABLE); in HidlHalPropValue() 842 if (HalPropValue.isMixedTypeProperty(halPropId)) { in HidlHalPropValue()
|
D | VehicleHal.java | 166 HalSubscribeOptions(int halPropId, int[] areaIds, float updateRateHz) { in HalSubscribeOptions() argument 167 this(halPropId, areaIds, updateRateHz, /* enableVariableUpdateRate= */ false, in HalSubscribeOptions() 171 HalSubscribeOptions(int halPropId, int[] areaIds, float updateRateHz, in HalSubscribeOptions() argument 173 this(halPropId, areaIds, updateRateHz, enableVariableUpdateRate, in HalSubscribeOptions() 177 HalSubscribeOptions(int halPropId, int[] areaIds, float updateRateHz, in HalSubscribeOptions() argument 179 mHalPropId = halPropId; in HalSubscribeOptions()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/property/ |
D | PropertyHalServiceConfigsUnitTest.java | 233 for (int halPropId : allSystemHalPropIds) { in testWritePermissionsExistInReadPermissionsForSystemProperty() 235 mPropertyHalServiceConfigs.getReadPermission(halPropId); in testWritePermissionsExistInReadPermissionsForSystemProperty() 240 mPropertyHalServiceConfigs.getWritePermission(halPropId); in testWritePermissionsExistInReadPermissionsForSystemProperty() 252 + VehiclePropertyIds.toString(halPropId) in testWritePermissionsExistInReadPermissionsForSystemProperty() 256 + VehiclePropertyIds.toString(halPropId) in testWritePermissionsExistInReadPermissionsForSystemProperty() 467 expectedConfig.halPropId = 2345; in testParseJsonConfig_validConfig() 511 expectedConfig.halPropId = 1234; in testParseJsonConfig_halPropIdDefaultEqualPropId() 546 expectedConfig.halPropId = 1234; in testParseJsonConfig_dataFlags()
|