Home
last modified time | relevance | path

Searched refs:getPropertyId (Results 1 – 25 of 40) sorted by relevance

12

/packages/services/Car/car-lib/src/android/car/hardware/
DCarSensorManager.java331 supportedSensors[i] = carPropertyConfigList.get(i).getPropertyId(); in getSupportedSensors()
462 switch (propertyValue.getPropertyId() & VehiclePropertyType.MASK) { in createCarSensorEvent()
464 event = new CarSensorEvent(propertyValue.getPropertyId(), in createCarSensorEvent()
469 event = new CarSensorEvent(propertyValue.getPropertyId(), in createCarSensorEvent()
474 event = new CarSensorEvent(propertyValue.getPropertyId(), in createCarSensorEvent()
480 event = new CarSensorEvent(propertyValue.getPropertyId(), in createCarSensorEvent()
488 + propertyValue.getPropertyId()); in createCarSensorEvent()
510 if (p.getPropertyId() == type) { in getSensorConfig()
DCarVendorExtensionManager.java116 mPropertyManager.registerCallback(mListenerToBase, c.getPropertyId(), 0); in registerCallback()
129 mPropertyManager.unregisterCallback(mListenerToBase, c.getPropertyId()); in unregisterCallback()
/packages/apps/Car/Settings/src/com/android/car/settings/units/
DUnitsBasePreferenceController.java47 getPropertyId(), CarPropertyManager.SENSOR_RATE_ONCHANGE);
50 getPropertyId());
129 mCarUnitsManager.setUnitUsedByProperty(getPropertyId(), unitId); in handlePreferenceChanged()
139 protected abstract int getPropertyId(); in getPropertyId() method in UnitsBasePreferenceController
173 Unit savedUnit = mCarUnitsManager.getUnitUsedByProperty(getPropertyId()); in getUnitUsedByThisProperty()
DUnitsDistancePreferenceController.java41 protected int getPropertyId() { in getPropertyId() method in UnitsDistancePreferenceController
DUnitsPressurePreferenceController.java41 protected int getPropertyId() { in getPropertyId() method in UnitsPressurePreferenceController
DUnitsSpeedPreferenceController.java41 protected int getPropertyId() { in getPropertyId() method in UnitsSpeedPreferenceController
DUnitsTemperaturePreferenceController.java41 protected int getPropertyId() { in getPropertyId() method in UnitsTemperaturePreferenceController
DUnitsVolumePreferenceController.java41 protected int getPropertyId() { in getPropertyId() method in UnitsVolumePreferenceController
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarPropertyConfigTest.java39 assertEquals(FLOAT_PROPERTY_ID, config.getPropertyId()); in createFloatPropertyConfig()
60 assertEquals(FLOAT_PROPERTY_ID, configRead.getPropertyId()); in testWriteReadFloat()
84 assertEquals(INT_PROPERTY_ID, configRead.getPropertyId()); in testWriteReadIntegerValue()
107 assertEquals(LONG_PROPERTY_ID, configRead.getPropertyId()); in testWriteReadLongValue()
130 assertEquals(INT_ARRAY_PROPERTY_ID, configRead.getPropertyId()); in testWriteReadIntegerArray()
DCarHvacManagerTest.java64 switch (property.getPropertyId()) { in assertTypeAndZone()
107 assertEquals("Wrong type, expecting " + clazz + " type for id:" + property.getPropertyId(), in checkTypeAndGlobal()
110 property.getPropertyId() + ", area type:" + property.getAreaType(), in checkTypeAndGlobal()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DCarPropertyTest.java111 if (!props.contains(event.getPropertyId())) { in testHvacHardButtonOperations()
112 props.add(event.getPropertyId()); in testHvacHardButtonOperations()
160 expectedEvent.getPropertyId(), in testHvacSetGetOperations()
166 expectedEvent.getPropertyId(), expectedEvent.getAreaId()); in testHvacSetGetOperations()
200 expectedEvent.getPropertyId(), expectedEvent.getAreaId()); in testStaticInfoOperations()
DE2ePerformanceTest.java236 mgr.setFloatProperty(cfg.getPropertyId(), areaId, curValue); in invokeSetAndGetForHvacFloat()
237 actualValue = mgr.getFloatProperty(cfg.getPropertyId(), areaId); in invokeSetAndGetForHvacFloat()
252 if (cfg.getPropertyId() == hvacPropId) { in findHvacPropConfig()
DUtils.java127 && value1.getPropertyId() == value2.getPropertyId() in areCarPropertyValuesEqual()
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManager.java105 mConfigMap.put(carPropertyConfig.getPropertyId(), carPropertyConfig); in CarPropertyManager()
122 event.getCarPropertyValue().getPropertyId()); in CarPropertyManager()
567 .append("property: ").append(value.getPropertyId()) in onErrorEvent()
571 listener.onErrorEvent(value.getPropertyId(), value.getAreaId()); in onErrorEvent()
/packages/services/Car/car-test-lib/src/android/car/testapi/
DFakeCarPropertyService.java128 mConfigs.put(config.getPropertyId(), config); in addProperty()
146 Set<ListenerInfo> listeners = mListeners.get(v.getPropertyId()); in sendEvent()
183 return of(carPropertyValue.getPropertyId(), carPropertyValue.getAreaId()); in of()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/
DSensorsTestFragment.java77 mValueMap.put(value.getPropertyId(), value);
79 mValueMap.put(value.getPropertyId(), null);
191 property.getPropertyId(), rate); in initSensors()
256 int propertyId = property.getPropertyId(); in refreshSensorInfoText()
/packages/services/Car/service/src/com/android/car/
DCarPropertyService.java300 if (ICarImpl.hasPermission(mContext, mHal.getReadPermission(c.getPropertyId()))) { in getPropertyList()
344 int propId = prop.getPropertyId(); in setProperty()
361 int propId = event.getCarPropertyValue().getPropertyId(); in onPropertyChange()
DCarDrivingStateService.java114 if (config.getPropertyId() == propertyId) { in checkPropertySupport()
324 int propId = value.getPropertyId(); in handlePropertyEvent()
399 if (p.getPropertyId() == VehicleProperty.GEAR_SELECTION) { in getSupportedGears()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/
DPropertyListAdapter.java93 int propId = c.getPropertyId(); in getView()
124 + " propId=0x" + toHexString(value.getPropertyId()) in onChangeEvent()
DPropertyTestFragment.java111 int propId = info.mConfig.getPropertyId(); in onCreateView()
139 int propId = info.mConfig.getPropertyId(); in onCreateView()
/packages/services/Car/car-lib/src/android/car/hardware/hvac/
DCarHvacManager.java323 mCarPropertyMgr.registerCallback(mListenerToBase, c.getPropertyId(), 0); in registerCallback()
339 mCarPropertyMgr.unregisterCallback(mListenerToBase, c.getPropertyId()); in unregisterCallback()
/packages/services/Car/car-lib/src/android/car/hardware/cabin/
DCarCabinManager.java498 mCarPropertyMgr.registerCallback(mListenerToBase, c.getPropertyId(), 0); in registerCallback()
513 mCarPropertyMgr.unregisterCallback(mListenerToBase, c.getPropertyId()); in unregisterCallback()
/packages/services/Car/service/src/com/android/car/hal/
DPropertyHalService.java190 int halPropId = managerToHalPropId(prop.getPropertyId()); in setProperty()
193 + toHexString(prop.getPropertyId())); in setProperty()
/packages/apps/Car/Cluster/src/android/car/cluster/
DClusterViewModel.java129 "CarProperty change: property " + value.getPropertyId() + ", area"
133 .getSensorsForPropertyId(value.getPropertyId())) {
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/
DHvacTestFragment.java95 switch (value.getPropertyId()) {
181 .getPropertyId());
213 int propId = prop.getPropertyId(); in onCreateView()

12