Home
last modified time | relevance | path

Searched refs:CarPropertyHelper (Results 1 – 14 of 14) sorted by relevance

/packages/services/Car/tests/CarLibUnitTest/src/com/android/car/internal/property/
DCarPropertyHelperUnitTest.java42 expectThat(CarPropertyHelper.isSupported(VENDOR_PROPERTY)).isTrue(); in testIsSupported()
45 expectThat(CarPropertyHelper.isSupported( in testIsSupported()
48 expectThat(CarPropertyHelper.isSupported(VehiclePropertyIds.INFO_VIN)).isTrue(); in testIsSupported()
50 expectThat(CarPropertyHelper.isSupported(VehiclePropertyIds.INVALID)).isFalse(); in testIsSupported()
52 expectThat(CarPropertyHelper.isSupported(0x12100100)).isFalse(); in testIsSupported()
57 assertThat(CarPropertyHelper.isSupported(BACKPORTED_PROPERTY)).isTrue(); in testIsSupported_backportedProperty()
62 assertWithMessage("String of multiple propertyIds").that(CarPropertyHelper in testPropertyIdsToString()
70 expectThat(CarPropertyHelper.isVendorOrBackportedProperty(VENDOR_PROPERTY)).isTrue(); in testIsVendorOrBackportedProperty()
71 expectThat(CarPropertyHelper.isVendorOrBackportedProperty(BACKPORTED_PROPERTY)).isTrue(); in testIsVendorOrBackportedProperty()
72 expectThat(CarPropertyHelper.isVendorOrBackportedProperty(SYSTEM_PROPERTY)).isFalse(); in testIsVendorOrBackportedProperty()
[all …]
/packages/services/Car/car-lib/src/com/android/car/internal/property/
DVehiclePropertyIdDebugUtils.java64 } else if (CarPropertyHelper.isVendorProperty(propertyId)) { in toDebugString()
66 } else if (CarPropertyHelper.isBackportedProperty(propertyId)) { in toDebugString()
DCarPropertyHelper.java37 public final class CarPropertyHelper { class
53 private CarPropertyHelper() { in CarPropertyHelper() method in CarPropertyHelper
DSubscriptionManager.java20 import static com.android.car.internal.property.CarPropertyHelper.propertyIdsToString;
/packages/services/Car/libs/backported-car-property-helper-lib/tests/src/com/android/car/property/backported/
DCarPropertyHelperUnitTest.java54 private CarPropertyHelper mCarPropertyHelper;
63 mCarPropertyHelper = new CarPropertyHelper(mMockCarPropertyManager); in setUp()
/packages/services/Car/libs/backported-car-property-helper-lib/src/com/android/car/property/backported/
DCarPropertyHelper.java35 public final class CarPropertyHelper { class
88 public CarPropertyHelper(CarPropertyManager carPropertyManager) { in CarPropertyHelper() method in CarPropertyHelper
/packages/services/Car/service/src/com/android/car/hal/property/
DPropertyHalServiceConfigs.java43 import com.android.car.internal.property.CarPropertyHelper;
285 if (CarPropertyHelper.isVendorOrBackportedProperty(halPropId)) { in getReadPermission()
324 if (CarPropertyHelper.isVendorOrBackportedProperty(halPropId)) { in getWritePermission()
392 || CarPropertyHelper.isVendorOrBackportedProperty(propId); in isSupportedProperty()
409 if (!CarPropertyHelper.isVendorOrBackportedProperty(propId)) { in customizeVendorPermission()
DHalPropertyDebugUtils.java43 import com.android.car.internal.property.CarPropertyHelper;
80 } else if (CarPropertyHelper.isVendorProperty(propertyId)) { in toPropertyIdString()
82 } else if (CarPropertyHelper.isBackportedProperty(propertyId)) { in toPropertyIdString()
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManager.java22 import static com.android.car.internal.property.CarPropertyHelper.SYNC_OP_LIMIT_TRY_AGAIN;
66 import com.android.car.internal.property.CarPropertyHelper;
1192 + CarPropertyHelper.propertyIdsToString(List.of(propertyId))); in registerCallback()
1532 + CarPropertyHelper.propertyIdsToString(noReadPermPropertyIdsCopy)); in subscribePropertyEventsInternal()
1672 + CarPropertyHelper.propertyIdsToString(propertiesToUnsubscribe)); in applySubscriptionChangesLocked()
1961 Slog.d(TAG, "getPropertyList(" + CarPropertyHelper.propertyIdsToString(propertyIds) in getPropertyList()
1970 + CarPropertyHelper.propertyIdsToString(configs.getMissingPermissionPropIds())); in getPropertyList()
1974 + CarPropertyHelper.propertyIdsToString(configs.getUnsupportedPropIds())); in getPropertyList()
1978 Slog.d(TAG, "getPropertyList(" + CarPropertyHelper.propertyIdsToString(propertyIds) in getPropertyList()
2000 if (!CarPropertyHelper.isSupported(propertyId)) { in getCarPropertyConfig()
[all …]
/packages/services/Car/service/src/com/android/car/hal/
DHalPropValue.java32 import com.android.car.internal.property.CarPropertyHelper;
331 value = CarPropertyHelper.getDefaultValue(clazz); in toCarPropertyValue()
DPropertyHalService.java39 import static com.android.car.internal.property.CarPropertyHelper.isSystemProperty;
86 import com.android.car.internal.property.CarPropertyHelper;
1283 && CarPropertyHelper.isSupported(halToManagerPropId(halPropId)); in isSupportedProperty()
/packages/services/Car/service/src/com/android/car/
DCarPropertyService.java23 import static com.android.car.internal.property.CarPropertyHelper.SYNC_OP_LIMIT_TRY_AGAIN;
24 import static com.android.car.internal.property.CarPropertyHelper.propertyIdsToString;
67 import com.android.car.internal.property.CarPropertyHelper;
575 Object defaultValue = CarPropertyHelper.getDefaultValue( in getAndDispatchPropertyInitValue()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPropertyServiceUnitTest.java21 import static com.android.car.internal.property.CarPropertyHelper.SYNC_OP_LIMIT_TRY_AGAIN;
/packages/services/Car/tests/CarLibUnitTest/src/android/car/hardware/property/
DCarPropertyManagerUnitTest.java32 import static com.android.car.internal.property.CarPropertyHelper.SYNC_OP_LIMIT_TRY_AGAIN;