Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/units/
DCarUnitsManager.java45 mCarPropertyManager =
47 mCarServiceListener.handleServiceConnected(mCarPropertyManager);
61 private CarPropertyManager mCarPropertyManager; field in CarUnitsManager
97 intProperty = mCarPropertyManager.getIntProperty(propertyId, AREA_ID); in isPropertyAvailable()
108 List<CarPropertyConfig> configs = mCarPropertyManager.getPropertyList(propertyIdSet); in getUnitsSupportedByProperty()
137 int unitId = mCarPropertyManager.getIntProperty(propertyId, AREA_ID); in getUnitUsedByProperty()
151 mCarPropertyManager.setIntProperty(propertyId, AREA_ID, unitId); in setUnitUsedByProperty()
164 return mCarPropertyManager.getBooleanProperty( in isDistanceOverVolume()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/units/
DUnitsBasePreferenceControllerTest.java63 private CarPropertyManager mCarPropertyManager; field in UnitsBasePreferenceControllerTest
125 mController.mOnCarServiceListener.handleServiceConnected(mCarPropertyManager); in onCarServiceConnected_availableUnitsExist_preferenceIsAvailable()
133 mController.mOnCarServiceListener.handleServiceConnected(mCarPropertyManager); in onCarServiceConnected_noAvailableUnits_preferenceIsConditionallyUnavailable()
141 mController.mOnCarServiceListener.handleServiceConnected(mCarPropertyManager); in onCarServiceConnected_setsEntriesOfSupportedUnits()
149 mController.mOnCarServiceListener.handleServiceConnected(mCarPropertyManager); in onCarServiceConnected_setsSupportedUnitsIdsAsEntryValues()
157 mController.mOnCarServiceListener.handleServiceConnected(mCarPropertyManager); in onCarServiceConnected_setsUnitBeingUsedAsPreferenceValue()
165 mController.mOnCarServiceListener.handleServiceConnected(mCarPropertyManager); in onPreferenceChanged_runsSetUnitUsedByPropertyWithNewUnit()
174 mController.mOnCarServiceListener.handleServiceConnected(mCarPropertyManager); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
185 mController.mOnCarServiceListener.handleServiceConnected(mCarPropertyManager); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitAbbreviationAsSummary()
/packages/apps/Car/Cluster/src/android/car/cluster/
DClusterViewModel.java73 private CarPropertyManager mCarPropertyManager; field in ClusterViewModel
93 mCarPropertyManager = null;
111 mCarPropertyManager = (CarPropertyManager) mCar.getCarManager(Car.PROPERTY_SERVICE); in registerCarPropertiesListener()
114 mCarPropertyManager.registerCallback(mCarPropertyEventCallback, in registerCarPropertiesListener()
183 mCarPropertyManager = null; in onCleared()
226 CarPropertyValue<?> value = mCarPropertyManager in getSensorValue()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/
DSensorsTestFragment.java98 private CarPropertyManager mCarPropertyManager; field in SensorsTestFragment
148 if (mCarPropertyManager != null) { in onPause()
149 mCarPropertyManager.unregisterCallback(mCarPropertyEventCallback); in onPause()
158 if (mCarPropertyManager == null) { in initSensors()
159 mCarPropertyManager = in initSensors()
182 mPropertyList = mCarPropertyManager.getPropertyList(set); in initSensors()
190 mCarPropertyManager.registerCallback(mCarPropertyEventCallback, in initSensors()