Single-version search →
1 unchanged · 3 modified · 0 moved · 11 only in 17 · 11 only in 13

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.

  1. packages/services/Car/service/src/com/android/car/hal/HalPropValueBuilder.java HidlHalPropValue.HidlHalPropValue

    AOSP 17 android-17.0.0_r1

    HidlHalPropValue.HidlHalPropValue ·constructor ·java · first seen r1
    HidlHalPropValue(CarPropertyValue value, int halPropId, long timestamp,
                    HalPropConfig config) {
                init(halPropId, value.getAreaId(), timestamp, VehiclePropertyStatus.AVAILABL

    AOSP 13 android-13.0.0_r84

    HidlHalPropValue.HidlHalPropValue ·constructor ·java · first seen r1
    HidlHalPropValue(CarPropertyValue value, int halPropId, HalPropConfig config) {
                init(halPropId, value.getAreaId(), 0, VehiclePropertyStatus.AVAILABLE);
    
                if (HalPropValue.isMixe
  2. packages/services/Car/service/src/com/android/car/hal/VehicleHal.java VehicleHal.setPropertyFromCommand

    AOSP 17 android-17.0.0_r1

    VehicleHal.setPropertyFromCommand ·method ·java · first seen r1
    public void setPropertyFromCommand(int propertyId, int areaId, String data,
                IndentingPrintWriter writer) throws IllegalArgumentException, ServiceSpecificException {
            long timestampN

    AOSP 13 android-13.0.0_r84

    VehicleHal.setPropertyFromCommand ·method ·java · first seen r16
    public void setPropertyFromCommand(int property, int areaId, String data,
                IndentingPrintWriter writer) throws IllegalArgumentException, ServiceSpecificException {
            long timestamp = 
  3. packages/services/Car/service/src/com/android/car/hal/PropertyHalService.java PropertyHalService.setProperty

    AOSP 17 android-17.0.0_r1

    PropertyHalService.setProperty ·method ·java · first seen r1
    public void setProperty(CarPropertyValue carPropertyValue)
                throws IllegalArgumentException, ServiceSpecificException {
            HalPropValue valueToSet;
            synchronized (mLock) {
         

    AOSP 13 android-13.0.0_r84

    PropertyHalService.setProperty ·method ·java · first seen r1
    public 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.

  1. (anonymous)· lines 38–75 ·cpp · AOSP 17
    namespace {
    
    using ::android::base::StringPrintf;
    using ::android::hardware::automotive::vehicle::fromStableLargeParcelable;
    using ::android::hardware::automotive::vehicle::PendingRequestPool;
    using :
  2. CarPropertyServiceTest.configureMockedHal· lines 109–123 ·java · AOSP 17
    @Override
        protected void configureMockedHal() {
            PropertyHandler handler = new PropertyHandler();
            for (VehiclePropValue value : mDefaultPropValues.values()) {
                handler.on
  3. AidlHalPropValue.AidlHalPropValue· lines 524–533 ·java · AOSP 17
    AidlHalPropValue(CarPropertyValue value, int halPropId, long timestamp,
                    HalPropConfig config) {
                init(halPropId, value.getAreaId(), timestamp, VehiclePropertyStatus.AVAILABL
  4. HalPropConfig.toCarPropertyConfig· lines 113–117 ·java · AOSP 17
    public CarPropertyConfig<?> toCarPropertyConfig(int mgrPropertyId,
                PropertyHalServiceConfigs propertyHalServiceConfigs) {
            return toCarPropertyConfig(mgrPropertyId, propertyHalServi
  5. PropertyHalService.carPropertyValueToHalPropValueLocked· lines 2527–2536 ·java · AOSP 17
    @GuardedBy("mLock")
        private HalPropValue carPropertyValueToHalPropValueLocked(CarPropertyValue carPropertyValue) {
            int mgrPropId = carPropertyValue.getPropertyId();
            int halPropId =
  6. CarPropertyService.injectVehicleProperties· lines 1424–1429 ·java · AOSP 17
    @Override
        public void injectVehicleProperties(List<CarPropertyValue> carPropertyValues) {
            CarServiceUtils.assertPermission(mContext, Car.PERMISSION_INJECT_VEHICLE_PROPERTIES);
            CarS
  7. FakeVehicleStub.set· lines 315–344 ·java · AOSP 17
    @Override
        public void set(HalPropValue propValue) throws RemoteException,
                    ServiceSpecificException {
            int propId = propValue.getPropId();
            checkPropIdSupported(propId
  8. SimulationVehicleStub.buildHalPropValueAndMaybeInvokeCallback· lines 223–243 ·java · AOSP 17
    private void buildHalPropValueAndMaybeInvokeCallback(CarPropertyValue carPropertyValue) {
            int propId = carPropertyValue.getPropertyId();
            int areaId = carPropertyValue.getAreaId();
        
  9. PropertyHalServiceTest.setProperty_handlesHalAndMgrPropIdMismatch· lines 2602–2620 ·java · AOSP 17
    @Test
        public void setProperty_handlesHalAndMgrPropIdMismatch() {
            HalPropConfig mockPropConfig = mock(HalPropConfig.class);
            CarPropertyValue mockCarPropertyValue = mock(CarPropertyV
  10. CarPropertyService.registerSupportedValuesChangeCallback· lines 1320–1331 ·java · AOSP 17
    @Override
        public void registerSupportedValuesChangeCallback(List<PropIdAreaId> propIdAreaIds,
                ISupportedValuesChangeCallback callback) {
            for (int i = 0; i < propIdAreaIds.size(
  11. (anonymous)· lines 46–118 ·cpp · AOSP 17
    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.

  1. aidl (part 1/10)· lines 1–2844 ·aidl · AOSP 13 · first seen r1
    package android.hardware.automotive.vehicle;
    
    import android.hardware.automotive.vehicle.VehiclePropertyType;
    /**
     * Declares all vehicle properties. VehicleProperty has a bitwise structure.
     * Each p
  2. aidl (part 5/10)· lines 1–2844 ·aidl · AOSP 13 · first seen r1
         *                  greater than 1. When omitted, Android will default to 1.
         *
         * @change_mode VehiclePropertyChangeMode:ON_CHANGE
         * @access VehiclePropertyAccess:READ
         * @config
  3. aidl (part 7/10)· lines 1–2844 ·aidl · AOSP 13 · first seen r1
                + 0x00e00000, // VehiclePropertyGroup:SYSTEM,VehicleArea:GLOBAL,VehiclePropertyType:MIXED
        /**
         * OBD2 Freeze Frame Clear
         *
         * This property allows deletion of any of the f
  4. aidl (part 8/10)· lines 1–2844 ·aidl · AOSP 13 · first seen r1
         * 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
     
  5. aidl (part 3/10)· lines 1–2844 ·aidl · AOSP 13 · first seen r1
         * @access VehiclePropertyAccess:READ_WRITE
         */
        HVAC_DEFROSTER = 0x0504 + 0x10000000 + 0x03000000
                + 0x00200000, // VehiclePropertyGroup:SYSTEM,VehicleArea:WINDOW,VehiclePropert
  6. aidl (part 4/10)· lines 1–2844 ·aidl · AOSP 13 · first seen r1
         * 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
  7. aidl (part 6/10)· lines 1–2844 ·aidl · AOSP 13 · first seen r1
                + 0x00400000, // VehiclePropertyGroup:SYSTEM,VehicleArea:SEAT,VehiclePropertyType:INT32
        /**
         * Seat depth move
         *
         * Adjusts the seat depth.
         *
         * @change_mode Vehi
  8. aidl (part 9/10)· lines 1–2844 ·aidl · AOSP 13 · first seen r1
         * 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)
    
  9. aidl (part 10/10)· lines 1–2844 ·aidl · AOSP 13 · first seen r1
         * 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
  10. aidl (part 2/10)· lines 1–2844 ·aidl · AOSP 13 · first seen r1
         * @change_mode VehiclePropertyChangeMode:ON_CHANGE
         * @access VehiclePropertyAccess:READ
         */
        EV_CHARGE_PORT_CONNECTED = 0x030B + 0x10000000 + 0x01000000
                + 0x00200000, // V
  11. PropertyHalService.PropertyHalService· lines 127–135 ·java · AOSP 13 · first seen r1
    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.

Want this comparison inside Claude Code, Cursor, or Cline? MCP setup →