Single-version search →
2 files in both · 3 only in 13 · 2 only in 17 · 1373 ms

in both Files changed across versions

These files exist in both AOSP 13 and 17 and matched the query. Compare the excerpts side‑by‑side to see how they evolved.

  1. packages/services/Car/service/src/com/android/car/CarPropertyService.java 5 matches in 13 · 7 matches in 17

    AOSP 13 android-13.0.0_r84

    java
    @Override
        public void setProperty(CarPropertyValue prop, ICarPropertyEventListener listener)
                throws IllegalArgumentException, ServiceSpecificException {
            int propId = prop.getPr
    java
    @Override
        public void init() {
            synchronized (mLock) {
                // Cache the configs list and permissions to avoid subsequent binder calls
                mConfigs = mHal.getPropertyList();
    
    java
    @NonNull
        @Override
        public List<CarPropertyConfig> getPropertyList() {
            int[] allPropId;
            // Avoid permission checking under lock.
            synchronized (mLock) {
                allPr
    java
    private void getAndDispatchPropertyInitValue(CarPropertyConfig config, Client client) {
            List<CarPropertyEvent> events = new ArrayList<>();
            int propId = config.getPropertyId();
            
    java
    public CarPropertyValue getPropertySafe(int prop, int zone) {
            synchronized (mLock) {
                if (mConfigs.get(prop) == null) {
                    // Do not attempt to register an invalid prop

    AOSP 17 android-17.0.0_r1

    java
    @Override
        public void registerSupportedValuesChangeCallback(List<PropIdAreaId> propIdAreaIds,
                ISupportedValuesChangeCallback callback) {
            for (int i = 0; i < propIdAreaIds.size(
    java
    @Override
        public void getAndDispatchInitialValue(List<PropIdAreaId> propIdAreaIds,
                ICarPropertyEventListener carPropertyEventListener) {
            requireNonNull(propIdAreaIds);
            
    java
    @Override
        public MinMaxSupportedPropertyValue getMinMaxSupportedValue(int propertyId, int areaId) {
            var areaIdConfig = verifyGetSupportedValueRequestAndGetAreaIdConfig(propertyId, areaId);
    java
    @Override
        public void injectVehicleProperties(List<CarPropertyValue> carPropertyValues) {
            CarServiceUtils.assertPermission(mContext, Car.PERMISSION_INJECT_VEHICLE_PROPERTIES);
            CarS
    java
    @Override
        public @Nullable List<RawPropertyValue> getSupportedValuesList(int propertyId, int areaId) {
            var areaIdConfig = verifyGetSupportedValueRequestAndGetAreaIdConfig(propertyId, areaI
    java
    @Override
        public void init() {
            synchronized (mLock) {
                // Cache the configs list to avoid subsequent binder calls
                mPropertyIdToCarPropertyConfig = mPropertyHalServic
    java
    @NonNull
        @Override
        public CarPropertyConfigList getPropertyList() {
            int[] allPropIds;
            // Avoid permission checking under lock.
            synchronized (mLock) {
                allPro
  2. packages/services/Car/service/src/com/android/car/hal/PropertyHalService.java 2 matches in 13 · 1 match in 17

    AOSP 13 android-13.0.0_r84

    java
    public void setProperty(CarPropertyValue prop)
                throws IllegalArgumentException, ServiceSpecificException {
            int halPropId = managerToHalPropId(prop.getPropertyId());
            if (!is
    java
    @Nullable
        public CarPropertyValue getProperty(int mgrPropId, int areaId)
                throws IllegalArgumentException, ServiceSpecificException {
            int halPropId = managerToHalPropId(mgrPropI

    AOSP 17 android-17.0.0_r1

    java
    public void setProperty(CarPropertyValue carPropertyValue)
                throws IllegalArgumentException, ServiceSpecificException {
            HalPropValue valueToSet;
            synchronized (mLock) {
         

only in 13 Files matched only in AOSP 13

These files matched the query in AOSP 13 but didn't appear in the top results for AOSP 17. They may have been removed, renamed, or refactored beyond the query's reach.

  1. Lines 1–302 · java · AOSP 13
    package android.car.testapi;
    
    import static android.car.hardware.property.CarPropertyEvent.PROPERTY_EVENT_PROPERTY_CHANGE;
    
    import static java.lang.Integer.toHexString;
    
    import android.annotation.Null
  2. Lines 219–254 · java · AOSP 13
    public CarPropertyManager(Car car, @NonNull ICarProperty service) {
            super(car);
            mService = service;
            mAppTargetSdk = getContext().getApplicationInfo().targetSdkVersion;
    
           
  3. Lines 975–1025 · java · AOSP 13
    private class PropertyHandler implements VehicleHalPropertyHandler {
            HashMap<Integer, VehiclePropValue> mMap = new HashMap<>();
            @Override
            public synchronized void onPropertySet

only in 17 Files matched only in AOSP 17

These files matched the query in AOSP 17 but didn't appear in the top results for AOSP 13. They may be new in this version, or refactored from older files that no longer match the query.

  1. Lines 170–182 · java · AOSP 17
    @Override
        public void getAndDispatchInitialValue(List<PropIdAreaId> propIdAreaIds,
                ICarPropertyEventListener carPropertyEventListener) throws RemoteException {
            List<CarProperty
  2. Lines 109–123 · java · AOSP 17
    @Override
        protected void configureMockedHal() {
            PropertyHandler handler = new PropertyHandler();
            for (VehiclePropValue value : mDefaultPropValues.values()) {
                handler.on

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