Home
last modified time | relevance | path

Searched refs:BACKPORTED_PROPERTY (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/CarLibUnitTest/src/com/android/car/internal/property/
DCarPropertyHelperUnitTest.java37 private static final int BACKPORTED_PROPERTY = 0x31100001; field in CarPropertyHelperUnitTest
57 assertThat(CarPropertyHelper.isSupported(BACKPORTED_PROPERTY)).isTrue(); in testIsSupported_backportedProperty()
71 expectThat(CarPropertyHelper.isVendorOrBackportedProperty(BACKPORTED_PROPERTY)).isTrue(); in testIsVendorOrBackportedProperty()
78 expectThat(CarPropertyHelper.isVendorProperty(BACKPORTED_PROPERTY)).isFalse(); in testIsVendorProperty()
85 expectThat(CarPropertyHelper.isBackportedProperty(BACKPORTED_PROPERTY)).isTrue(); in testIsBackportedProperty()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/property/
DPropertyHalServiceConfigsUnitTest.java80 private static final int BACKPORTED_PROPERTY = 0x31e01111; field in PropertyHalServiceConfigsUnitTest
304 expectWithMessage("backported property: " + BACKPORTED_PROPERTY + " is supported").that( in testIsSupportedProperty()
305 mPropertyHalServiceConfigs.isSupportedProperty(BACKPORTED_PROPERTY)).isTrue(); in testIsSupportedProperty()
327 configArray.add(BACKPORTED_PROPERTY); in testCustomizeVendorPermission()
355 assertThat(mPropertyHalServiceConfigs.getReadPermission(BACKPORTED_PROPERTY) in testCustomizeVendorPermission()
358 assertThat(mPropertyHalServiceConfigs.getWritePermission(BACKPORTED_PROPERTY) in testCustomizeVendorPermission()
384 assertThat(mPropertyHalServiceConfigs.isReadable(mContext, BACKPORTED_PROPERTY)).isFalse(); in testCustomizeVendorPermission()
385 assertThat(mPropertyHalServiceConfigs.isWritable(mContext, BACKPORTED_PROPERTY)).isTrue(); in testCustomizeVendorPermission()