modified Same code location, different body
These chunks live at the same (file, symbol) in both versions
but have different content hashes — so the code definitely changed
between android-17.0.0_r1 and android-13.0.0_r84.
-
packages/services/Car/service/src/com/android/car/hal/HalPropValueBuilder.java HidlHalPropValue.HidlHalPropValue AOSP 17 android-17.0.0_r1
lines 927–936 0.75HidlHalPropValue(CarPropertyValue value, int halPropId, long timestamp, HalPropConfig config) { init(halPropId, value.getAreaId(), timestamp, VehiclePropertyStatus.AVAILABLAOSP 13 android-13.0.0_r84
lines 831–839 0.75HidlHalPropValue(CarPropertyValue value, int halPropId, HalPropConfig config) { init(halPropId, value.getAreaId(), 0, VehiclePropertyStatus.AVAILABLE); if (HalPropValue.isMixe -
packages/services/Car/service/src/com/android/car/hal/VehicleHal.java VehicleHal.setPropertyFromCommand AOSP 17 android-17.0.0_r1
lines 1340–1351 0.75public void setPropertyFromCommand(int propertyId, int areaId, String data, IndentingPrintWriter writer) throws IllegalArgumentException, ServiceSpecificException { long timestampNAOSP 13 android-13.0.0_r84
lines 667–677 0.75public void setPropertyFromCommand(int property, int areaId, String data, IndentingPrintWriter writer) throws IllegalArgumentException, ServiceSpecificException { long timestamp = -
packages/services/Car/service/src/com/android/car/hal/PropertyHalService.java PropertyHalService.setProperty AOSP 17 android-17.0.0_r1
lines 1300–1309 0.75public void setProperty(CarPropertyValue carPropertyValue) throws IllegalArgumentException, ServiceSpecificException { HalPropValue valueToSet; synchronized (mLock) {AOSP 13 android-13.0.0_r84
lines 278–292 0.75public void setProperty(CarPropertyValue prop) throws IllegalArgumentException, ServiceSpecificException { int halPropId = managerToHalPropId(prop.getPropertyId()); if (!is
only in 17 Removed or refactored away in 13
Matched the query in AOSP 17 (android-17.0.0_r1) but didn't appear in the top results for AOSP 13. They may have been removed, or refactored beyond the query's reach.
-
namespace { using ::android::base::StringPrintf; using ::android::hardware::automotive::vehicle::fromStableLargeParcelable; using ::android::hardware::automotive::vehicle::PendingRequestPool; using : -
@Override protected void configureMockedHal() { PropertyHandler handler = new PropertyHandler(); for (VehiclePropValue value : mDefaultPropValues.values()) { handler.on -
AidlHalPropValue(CarPropertyValue value, int halPropId, long timestamp, HalPropConfig config) { init(halPropId, value.getAreaId(), timestamp, VehiclePropertyStatus.AVAILABL -
public CarPropertyConfig<?> toCarPropertyConfig(int mgrPropertyId, PropertyHalServiceConfigs propertyHalServiceConfigs) { return toCarPropertyConfig(mgrPropertyId, propertyHalServi -
@GuardedBy("mLock") private HalPropValue carPropertyValueToHalPropValueLocked(CarPropertyValue carPropertyValue) { int mgrPropId = carPropertyValue.getPropertyId(); int halPropId = -
@Override public void injectVehicleProperties(List<CarPropertyValue> carPropertyValues) { CarServiceUtils.assertPermission(mContext, Car.PERMISSION_INJECT_VEHICLE_PROPERTIES); CarS -
@Override public void set(HalPropValue propValue) throws RemoteException, ServiceSpecificException { int propId = propValue.getPropId(); checkPropIdSupported(propId -
private void buildHalPropValueAndMaybeInvokeCallback(CarPropertyValue carPropertyValue) { int propId = carPropertyValue.getPropertyId(); int areaId = carPropertyValue.getAreaId(); -
packages/services/Car/tests/CarServiceUnitTest/src/com/android/car/hal/PropertyHalServiceTest.java 0.75
@Test public void setProperty_handlesHalAndMgrPropIdMismatch() { HalPropConfig mockPropConfig = mock(HalPropConfig.class); CarPropertyValue mockCarPropertyValue = mock(CarPropertyV -
@Override public void registerSupportedValuesChangeCallback(List<PropIdAreaId> propIdAreaIds, ISupportedValuesChangeCallback callback) { for (int i = 0; i < propIdAreaIds.size( -
namespace { using ::aidl::android::hardware::automotive::vehicle::GetValueRequest; using ::aidl::android::hardware::automotive::vehicle::GetValueRequests; using ::aidl::android::hardware::automotive:
only in 13 New in 13 (or refactored from elsewhere)
Matched the query in AOSP 13 (android-13.0.0_r84) but didn't appear in the top results for AOSP 17. Likely added in this version, or refactored from older code that no longer matches the query.
-
hardware/interfaces/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehicleProperty.aidl 0.76
package android.hardware.automotive.vehicle; import android.hardware.automotive.vehicle.VehiclePropertyType; /** * Declares all vehicle properties. VehicleProperty has a bitwise structure. * Each p -
hardware/interfaces/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehicleProperty.aidl 0.76
* greater than 1. When omitted, Android will default to 1. * * @change_mode VehiclePropertyChangeMode:ON_CHANGE * @access VehiclePropertyAccess:READ * @config -
hardware/interfaces/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehicleProperty.aidl 0.76
+ 0x00e00000, // VehiclePropertyGroup:SYSTEM,VehicleArea:GLOBAL,VehiclePropertyType:MIXED /** * OBD2 Freeze Frame Clear * * This property allows deletion of any of the f -
hardware/interfaces/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehicleProperty.aidl 0.76
* with a property change event; when the HAL is making the request, it must also do it through * a property change event (the main difference is that the request id will be positive in the -
hardware/interfaces/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehicleProperty.aidl 0.76
* @access VehiclePropertyAccess:READ_WRITE */ HVAC_DEFROSTER = 0x0504 + 0x10000000 + 0x03000000 + 0x00200000, // VehiclePropertyGroup:SYSTEM,VehicleArea:WINDOW,VehiclePropert -
hardware/interfaces/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehicleProperty.aidl 0.76
* onPropertyEvent() callbacks. * * For example, when a user uses the voice assistant to set HVAC temperature to 66.2 in * Fahrenheit. * First, an application will set this pro -
hardware/interfaces/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehicleProperty.aidl 0.76
+ 0x00400000, // VehiclePropertyGroup:SYSTEM,VehicleArea:SEAT,VehiclePropertyType:INT32 /** * Seat depth move * * Adjusts the seat depth. * * @change_mode Vehi -
hardware/interfaces/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehicleProperty.aidl 0.76
* car and a custom mechanism provided by the OEM, the request would be: * * int32[0]: 42 // request id * int32[1]: 10 (Android user id) * int32[2]: 0 (Android user flags) -
hardware/interfaces/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehicleProperty.aidl 0.76
* This property indicates the status of ETC card in this vehicle. * If the head unit is aware of an ETC card attached to the vehicle, * ELECTRONIC_TOLL_COLLECTION_CARD_TYPE gives that s -
hardware/interfaces/automotive/vehicle/aidl/android/hardware/automotive/vehicle/VehicleProperty.aidl 0.76
* @change_mode VehiclePropertyChangeMode:ON_CHANGE * @access VehiclePropertyAccess:READ */ EV_CHARGE_PORT_CONNECTED = 0x030B + 0x10000000 + 0x01000000 + 0x00200000, // V -
public PropertyHalService(VehicleHal vehicleHal) { mPropIds = new PropertyHalServiceIds(); mSubscribedHalPropIds = new HashSet<Integer>(); mVehicleHal = vehicleHal; if
unchanged Byte-identical across both versions
These chunks share the same content hash (chunk_id) in both versions — their bodies are byte-for-byte identical. The match is guaranteed by construction, not inferred from a similarity heuristic.
- packages/services/Car/service/src/com/android/car/CarShellCommand.java CarShellCommand.listVhalProps 2bc5a2d8bc97…