AI comparison
Grounded in the excerpts below · verify against the source
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.
-
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
lines 578–604 0.76@Override public void setProperty(CarPropertyValue prop, ICarPropertyEventListener listener) throws IllegalArgumentException, ServiceSpecificException { int propId = prop.getPrlines 200–211 0.74@Override public void init() { synchronized (mLock) { // Cache the configs list and permissions to avoid subsequent binder calls mConfigs = mHal.getPropertyList();lines 423–435 0.73@NonNull @Override public List<CarPropertyConfig> getPropertyList() { int[] allPropId; // Avoid permission checking under lock. synchronized (mLock) { allPrlines 311–341 0.73private void getAndDispatchPropertyInitValue(CarPropertyConfig config, Client client) { List<CarPropertyEvent> events = new ArrayList<>(); int propId = config.getPropertyId();lines 533–544 0.72public CarPropertyValue getPropertySafe(int prop, int zone) { synchronized (mLock) { if (mConfigs.get(prop) == null) { // Do not attempt to register an invalid propAOSP 17 android-17.0.0_r1
lines 1320–1331 0.77@Override public void registerSupportedValuesChangeCallback(List<PropIdAreaId> propIdAreaIds, ISupportedValuesChangeCallback callback) { for (int i = 0; i < propIdAreaIds.size(lines 648–666 0.75@Override public void getAndDispatchInitialValue(List<PropIdAreaId> propIdAreaIds, ICarPropertyEventListener carPropertyEventListener) { requireNonNull(propIdAreaIds);lines 1287–1291 0.75@Override public MinMaxSupportedPropertyValue getMinMaxSupportedValue(int propertyId, int areaId) { var areaIdConfig = verifyGetSupportedValueRequestAndGetAreaIdConfig(propertyId, areaId);lines 1424–1429 0.75@Override public void injectVehicleProperties(List<CarPropertyValue> carPropertyValues) { CarServiceUtils.assertPermission(mContext, Car.PERMISSION_INJECT_VEHICLE_PROPERTIES); CarSlines 1305–1309 0.75@Override public @Nullable List<RawPropertyValue> getSupportedValuesList(int propertyId, int areaId) { var areaIdConfig = verifyGetSupportedValueRequestAndGetAreaIdConfig(propertyId, areaIlines 328–338 0.74@Override public void init() { synchronized (mLock) { // Cache the configs list to avoid subsequent binder calls mPropertyIdToCarPropertyConfig = mPropertyHalServiclines 829–841 0.74@NonNull @Override public CarPropertyConfigList getPropertyList() { int[] allPropIds; // Avoid permission checking under lock. synchronized (mLock) { allPro -
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
lines 278–292 0.76public void setProperty(CarPropertyValue prop) throws IllegalArgumentException, ServiceSpecificException { int halPropId = managerToHalPropId(prop.getPropertyId()); if (!islines 175–193 0.73@Nullable public CarPropertyValue getProperty(int mgrPropId, int areaId) throws IllegalArgumentException, ServiceSpecificException { int halPropId = managerToHalPropId(mgrPropIAOSP 17 android-17.0.0_r1
lines 1300–1309 0.75public 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.
-
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 -
public CarPropertyManager(Car car, @NonNull ICarProperty service) { super(car); mService = service; mAppTargetSdk = getContext().getApplicationInfo().targetSdkVersion; -
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.
-
@Override public void getAndDispatchInitialValue(List<PropIdAreaId> propIdAreaIds, ICarPropertyEventListener carPropertyEventListener) throws RemoteException { List<CarProperty -
@Override protected void configureMockedHal() { PropertyHandler handler = new PropertyHandler(); for (VehiclePropValue value : mDefaultPropValues.values()) { handler.on