Searched refs:CarPropertyHelper (Results 1 – 14 of 14) sorted by relevance
42 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 …]
64 } else if (CarPropertyHelper.isVendorProperty(propertyId)) { in toDebugString()66 } else if (CarPropertyHelper.isBackportedProperty(propertyId)) { in toDebugString()
37 public final class CarPropertyHelper { class53 private CarPropertyHelper() { in CarPropertyHelper() method in CarPropertyHelper
20 import static com.android.car.internal.property.CarPropertyHelper.propertyIdsToString;
54 private CarPropertyHelper mCarPropertyHelper;63 mCarPropertyHelper = new CarPropertyHelper(mMockCarPropertyManager); in setUp()
35 public final class CarPropertyHelper { class88 public CarPropertyHelper(CarPropertyManager carPropertyManager) { in CarPropertyHelper() method in CarPropertyHelper
43 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()
43 import com.android.car.internal.property.CarPropertyHelper;80 } else if (CarPropertyHelper.isVendorProperty(propertyId)) { in toPropertyIdString()82 } else if (CarPropertyHelper.isBackportedProperty(propertyId)) { in toPropertyIdString()
22 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 …]
32 import com.android.car.internal.property.CarPropertyHelper;331 value = CarPropertyHelper.getDefaultValue(clazz); in toCarPropertyValue()
39 import static com.android.car.internal.property.CarPropertyHelper.isSystemProperty;86 import com.android.car.internal.property.CarPropertyHelper;1283 && CarPropertyHelper.isSupported(halToManagerPropId(halPropId)); in isSupportedProperty()
23 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()
21 import static com.android.car.internal.property.CarPropertyHelper.SYNC_OP_LIMIT_TRY_AGAIN;
32 import static com.android.car.internal.property.CarPropertyHelper.SYNC_OP_LIMIT_TRY_AGAIN;