Single-version search →
0 unchanged · 4 modified · 0 moved · 11 only in 17 · 10 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/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
  2. packages/services/Car/service/src/com/android/car/CarPropertyService.java CarPropertyService.init

    AOSP 17 android-17.0.0_r1

    CarPropertyService.init ·method ·java · first seen r1
    @Override
        public void init() {
            synchronized (mLock) {
                // Cache the configs list to avoid subsequent binder calls
                mPropertyIdToCarPropertyConfig = mPropertyHalServic

    AOSP 13 android-13.0.0_r84

    CarPropertyService.init ·method ·java · first seen r1
    @Override
        public void init() {
            synchronized (mLock) {
                // Cache the configs list and permissions to avoid subsequent binder calls
                mConfigs = mHal.getPropertyList();
    
  3. packages/services/Car/service/src/com/android/car/CarPropertyService.java CarPropertyService.getPropertyList

    AOSP 17 android-17.0.0_r1

    CarPropertyService.getPropertyList ·method ·java · first seen r1
    @NonNull
        @Override
        public CarPropertyConfigList getPropertyList() {
            int[] allPropIds;
            // Avoid permission checking under lock.
            synchronized (mLock) {
                allPro

    AOSP 13 android-13.0.0_r84

    CarPropertyService.getPropertyList ·method ·java · first seen r1
    @NonNull
        @Override
        public List<CarPropertyConfig> getPropertyList() {
            int[] allPropId;
            // Avoid permission checking under lock.
            synchronized (mLock) {
                allPr
  4. packages/services/Car/service/src/com/android/car/CarPropertyService.java CarPropertyService.setProperty

    AOSP 17 android-17.0.0_r1

    CarPropertyService.setProperty ·method ·java · first seen r1
    @Override
        public void setProperty(CarPropertyValue carPropertyValue,
                ICarPropertyEventListener iCarPropertyEventListener)
                throws IllegalArgumentException, ServiceSpecificEx

    AOSP 13 android-13.0.0_r84

    CarPropertyService.setProperty ·method ·java · first seen r50
    @Override
        public void setProperty(CarPropertyValue prop, ICarPropertyEventListener listener)
                throws IllegalArgumentException, ServiceSpecificException {
            int propId = prop.getPr

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. CarPropertyService.registerSupportedValuesChangeCallback· lines 1320–1331 ·java · AOSP 17
    @Override
        public void registerSupportedValuesChangeCallback(List<PropIdAreaId> propIdAreaIds,
                ISupportedValuesChangeCallback callback) {
            for (int i = 0; i < propIdAreaIds.size(
  2. CarPropertyService.getAndDispatchInitialValue· lines 648–666 ·java · AOSP 17
    @Override
        public void getAndDispatchInitialValue(List<PropIdAreaId> propIdAreaIds,
                ICarPropertyEventListener carPropertyEventListener) {
            requireNonNull(propIdAreaIds);
            
  3. FakeCarPropertyService.getAndDispatchInitialValue· lines 170–182 ·java · AOSP 17
    @Override
        public void getAndDispatchInitialValue(List<PropIdAreaId> propIdAreaIds,
                ICarPropertyEventListener carPropertyEventListener) throws RemoteException {
            List<CarProperty
  4. CarPropertyService.getMinMaxSupportedValue· lines 1287–1291 ·java · AOSP 17
    @Override
        public MinMaxSupportedPropertyValue getMinMaxSupportedValue(int propertyId, int areaId) {
            var areaIdConfig = verifyGetSupportedValueRequestAndGetAreaIdConfig(propertyId, areaId);
  5. CarPropertyService.injectVehicleProperties· lines 1424–1429 ·java · AOSP 17
    @Override
        public void injectVehicleProperties(List<CarPropertyValue> carPropertyValues) {
            CarServiceUtils.assertPermission(mContext, Car.PERMISSION_INJECT_VEHICLE_PROPERTIES);
            CarS
  6. CarPropertyService.getSupportedValuesList· lines 1305–1309 ·java · AOSP 17
    @Override
        public @Nullable List<RawPropertyValue> getSupportedValuesList(int propertyId, int areaId) {
            var areaIdConfig = verifyGetSupportedValueRequestAndGetAreaIdConfig(propertyId, areaI
  7. CarPropertyServiceTest.configureMockedHal· lines 109–123 ·java · AOSP 17
    @Override
        protected void configureMockedHal() {
            PropertyHandler handler = new PropertyHandler();
            for (VehiclePropValue value : mDefaultPropValues.values()) {
                handler.on
  8. PropertyHalService.carPropertyValueToHalPropValueLocked· lines 2527–2536 ·java · AOSP 17
    @GuardedBy("mLock")
        private HalPropValue carPropertyValueToHalPropValueLocked(CarPropertyValue carPropertyValue) {
            int mgrPropId = carPropertyValue.getPropertyId();
            int halPropId =
  9. VehicleHal.onInjectionPropertyEvent· lines 1362–1368 ·java · AOSP 17
    @Override
        public void onInjectionPropertyEvent(List<HalPropValue> propValues) {
            // Note that this function runs from a binder thread and should not do heavy works.
            Binder.clearCall
  10. VehicleHal.registerSupportedValuesChange· lines 2316–2339 ·java · AOSP 17
    public void registerSupportedValuesChange(HalServiceBase service,
                List<PropIdAreaId> propIdAreaIds) {
            var propertyHandlers = mPropertyHandlersRef.get();
            for (int i = 0; i <
  11. CarPropertyService.getLastInjectedVehicleProperty· lines 1416–1422 ·java · AOSP 17
    @Override
        @Nullable
        public CarPropertyValue getLastInjectedVehicleProperty(int propertyId) {
            CarServiceUtils.assertPermission(mContext, Car.PERMISSION_INJECT_VEHICLE_PROPERTIES);
         

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. CarPropertyManager.CarPropertyManager· lines 219–254 ·java · AOSP 13 · first seen r16
    public CarPropertyManager(Car car, @NonNull ICarProperty service) {
            super(car);
            mService = service;
            mAppTargetSdk = getContext().getApplicationInfo().targetSdkVersion;
    
           
  2. PropertyHalService.getProperty· lines 175–193 ·java · AOSP 13 · first seen r1
    @Nullable
        public CarPropertyValue getProperty(int mgrPropId, int areaId)
                throws IllegalArgumentException, ServiceSpecificException {
            int halPropId = managerToHalPropId(mgrPropI
  3. CarPropertyService.getAndDispatchPropertyInitValue· lines 311–341 ·java · AOSP 13 · first seen r1
    private void getAndDispatchPropertyInitValue(CarPropertyConfig config, Client client) {
            List<CarPropertyEvent> events = new ArrayList<>();
            int propId = config.getPropertyId();
            
  4. CarPropertyService.getPropertySafe· lines 533–544 ·java · AOSP 13 · first seen r1
    public CarPropertyValue getPropertySafe(int prop, int zone) {
            synchronized (mLock) {
                if (mConfigs.get(prop) == null) {
                    // Do not attempt to register an invalid prop
  5. CarPropertyService.checkPropertyAccessibility· lines 608–625 ·java · AOSP 13 · first seen r1
    private void checkPropertyAccessibility(int propId) {
            // Checks if the car implemented the property or not.
            synchronized (mLock) {
                if (mConfigs.get(propId) == null) {
         
  6. PropertyHandler· lines 975–1025 ·java · AOSP 13 · first seen r1
    private class PropertyHandler implements VehicleHalPropertyHandler {
            HashMap<Integer, VehiclePropValue> mMap = new HashMap<>();
            @Override
            public synchronized void onPropertySet
  7. GetSetValuesCallback· lines 458–492 ·java · AOSP 13 · first seen r1
    private final class GetSetValuesCallback extends IVehicleCallback.Stub {
    
            @Override
            public void onGetValues(GetValueResults responses) throws RemoteException {
                AidlVehicleS
  8. VehicleHalPropertyHandler· lines 60–69 ·java · AOSP 13 · first seen r1
    public interface VehicleHalPropertyHandler {
            default void onPropertySet(VehiclePropValue value) {}
            default VehiclePropValue onPropertyGet(VehiclePropValue value) {
                return n
  9. PropertyHalService.onHalEvents· lines 407–442 ·java · AOSP 13 · first seen r1
    @Override
        public void onHalEvents(List<HalPropValue> values) {
            PropertyHalListener listener;
            synchronized (mLock) {
                listener = mListener;
            }
            if (listener
  10. AidlSubscriptionClient· lines 341–410 ·java · AOSP 13 · first seen r1
    private class AidlSubscriptionClient extends IVehicleCallback.Stub
                implements SubscriptionClient {
            private final HalClientCallback mCallback;
            private final HalPropValueBuil

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