Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/
DCarPropertyManagerPublicPermissionTest.java45 private CarPropertyManager mPropertyManager; field in CarPropertyManagerPublicPermissionTest
66 mPropertyManager = (CarPropertyManager) mCar.getCarManager(Car.PROPERTY_SERVICE); in setUp()
67 assertThat(mPropertyManager).isNotNull(); in setUp()
216 mPropertyManager.getBooleanProperty(propertyId, DUMMY_AREA_ID); in testCarPropertyManagerGetter()
219 mPropertyManager.getFloatProperty(propertyId, DUMMY_AREA_ID); in testCarPropertyManagerGetter()
222 mPropertyManager.getIntArrayProperty(propertyId, DUMMY_AREA_ID); in testCarPropertyManagerGetter()
225 mPropertyManager.getIntProperty(propertyId, DUMMY_AREA_ID); in testCarPropertyManagerGetter()
228 mPropertyManager.getProperty(propertyId, DUMMY_AREA_ID); in testCarPropertyManagerGetter()
243 .that(mPropertyManager.getProperty(propertyId, DUMMY_AREA_ID)).isNull(); in assertPropertyNotImplementedInVhal()
256 mPropertyManager.setBooleanProperty(propertyId, DUMMY_AREA_ID, in testCarPropertyManagerSetter()
[all …]
/packages/services/Car/car-lib/src/android/car/hardware/
DCarVendorExtensionManager.java50 private final CarPropertyManager mPropertyManager; field in CarVendorExtensionManager
89 mPropertyManager = new CarPropertyManager(car, mCarPropertyService); in CarVendorExtensionManager()
113 List<CarPropertyConfig> configs = mPropertyManager.getPropertyList(); in registerCallback()
116 mPropertyManager.registerCallback(mListenerToBase, c.getPropertyId(), 0); in registerCallback()
126 List<CarPropertyConfig> configs = mPropertyManager.getPropertyList(); in unregisterCallback()
129 mPropertyManager.unregisterCallback(mListenerToBase, c.getPropertyId()); in unregisterCallback()
139 return mPropertyManager.getPropertyList(); in getProperties()
147 return mPropertyManager.isPropertyAvailable(propertyId, area); in isPropertyAvailable()
173 return mPropertyManager.getProperty(propertyClass, propId, area).getValue(); in getProperty()
187 mPropertyManager.setProperty(propertyClass, propId, 0 /* area */, value); in setGlobalProperty()
[all …]
/packages/services/Car/experimental/service/src/com/android/experimentalcar/
DDriverDistractionExperimentalFeatureService.java194 private CarPropertyManager mPropertyManager; field in DriverDistractionExperimentalFeatureService
279 mPropertyManager = (CarPropertyManager) mCar.getCarManager(Car.PROPERTY_SERVICE); in init()
285 if (mPropertyManager != null) { in init()
286 mPropertyManager.registerCallback(mSpeedPropertyEventCallback, in init()
304 if (mPropertyManager != null) { in release()
305 mPropertyManager.unregisterCallback(mSpeedPropertyEventCallback); in release()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DKitchenSinkActivity.java206 private CarPropertyManager mPropertyManager; field in KitchenSinkActivity
225 return mPropertyManager; in getPropertyManager()
385 mPropertyManager = (CarPropertyManager) car.getCarManager( in initManagers()