Home
last modified time | relevance | path

Searched refs:mCarPropertyManager (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/hardware/property/
DCarVendorPropertyCustomPermissionTest.java70 private CarPropertyManager mCarPropertyManager; field in CarVendorPropertyCustomPermissionTest
75 mCarPropertyManager = (CarPropertyManager) mCar.getCarManager(Car.PROPERTY_SERVICE); in setUp()
81 CarPropertyConfig<?> config = mCarPropertyManager.getCarPropertyConfig(property); in assumePropertyIsSupported()
95 mCarPropertyManager.getProperty(Object[].class, MIXED_TYPE_PROPERTY_FOR_TEST, in testGetMixedTypePropertyForTest()
106 assertThrows(SecurityException.class, () -> mCarPropertyManager.getProperty(Object[].class, in testGetMixedTypePropertyForTest_noPermission()
116 mCarPropertyManager.setProperty(Object[].class, MIXED_TYPE_PROPERTY_FOR_TEST, in testSetMixedTypePropertyForTest()
127 assertThrows(SecurityException.class, () -> mCarPropertyManager.setProperty(Object[].class, in testSetMixedTypePropertyForTest_noPermission()
139 mCarPropertyManager.getIntProperty(VENDOR_EXTENSION_INT_PROPERTY, in testGetVendorExtensionIntProperty()
152 assertThrows(SecurityException.class, () -> mCarPropertyManager.getIntProperty( in testGetVendorExtensionIntProperty_noPermissions()
162 assertThrows(SecurityException.class, () -> mCarPropertyManager.setIntProperty( in testSetVendorExtensionIntProperty()
[all …]
/cts/tests/tests/car/src/android/car/cts/
DCarPropertyManagerTest.java1075 private CarPropertyManager mCarPropertyManager; field in CarPropertyManagerTest
1187 mCarPropertyManager.getPropertyList()) { in verifyExpectedPropertiesWhenPermissionsGranted()
1208 mCarPropertyManager.getPropertyList().toString()) in verifyNoPropertiesExposedWhenCertainPermissionsGranted()
1209 .that(mCarPropertyManager.getPropertyList()) in verifyNoPropertiesExposedWhenCertainPermissionsGranted()
1217 mCarPropertyManager = (CarPropertyManager) getCar().getCarManager(Car.PROPERTY_SERVICE); in setUp()
1229 List<CarPropertyConfig> allConfigs = mCarPropertyManager.getPropertyList(); in testGetPropertyList()
1241 mCarPropertyManager.getPropertyList(mPropertyIds); in testGetPropertyListWithArraySet()
1257 List<CarPropertyConfig> allConfigs = mCarPropertyManager.getPropertyList(); in testGetPropertyConfig()
1259 assertThat(mCarPropertyManager.getCarPropertyConfig(cfg.getPropertyId())) in testGetPropertyConfig()
1273 List<CarPropertyConfig> allConfigs = mCarPropertyManager.getPropertyList(); in testGetAreaId()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/car/
DGearSelectionTestActivity.java48 private CarPropertyManager mCarPropertyManager; field in GearSelectionTestActivity
69 mCarPropertyManager = in setUpTest()
71 if (mCarPropertyManager == null) { in setUpTest()
78 CarPropertyConfig<?> gearConfig = mCarPropertyManager.getCarPropertyConfig( in setUpTest()
92 if (!mCarPropertyManager.registerCallback(mGearSelectionCallback, in setUpTest()
140 mCarPropertyManager.unregisterCallback(mGearSelectionCallback); in onChangeEvent()
161 mCarPropertyManager.unregisterCallback(mGearSelectionCallback); in unregisterIfTimeout()
/cts/tests/tests/car/lib/CarIntegrationTestUtilsLib/src/android/car/cts/utils/
DVehiclePropertyVerifier.java144 private final CarPropertyManager mCarPropertyManager; field in VehiclePropertyVerifier
206 mCarPropertyManager = carPropertyManager; in VehiclePropertyVerifier()
350 mCachedCarPropertyConfig = (CarPropertyConfig<T>) mCarPropertyManager in getCarPropertyConfig()
386 () -> mCarPropertyManager.getProperty(mPropertyId, /*areaId=*/ 0)); in assertGetPropertyNotSupported()
388 assertThat(mCarPropertyManager.getProperty(mPropertyId, /* areaId= */ 0)).isNull(); in assertGetPropertyNotSupported()
413 () -> mCarPropertyManager.setProperty(mPropertyType, in verifyConfig()
526 () -> mCarPropertyManager.setProperty(mPropertyType, mPropertyId, in verifyReadPermissionCannotWrite()
536 assertThat(mCarPropertyManager.getCarPropertyConfig(mPropertyId)).isNotNull(); in verifyReadPermissionGivesAccessToReadApis()
576 () -> mCarPropertyManager.getProperty(mPropertyId, areaId)); in assertGetPropertyThrowsException()
578 () -> mCarPropertyManager.getBooleanProperty(mPropertyId, areaId)); in assertGetPropertyThrowsException()
[all …]