Home
last modified time | relevance | path

Searched refs:VehiclePropertyIds (Results 1 – 25 of 111) sorted by relevance

12345

/packages/services/Car/car-lib/src/com/android/car/internal/
DPropertyPermissionMapping.java21 import android.car.VehiclePropertyIds;
38 VehiclePropertyIds.DOOR_POS, in PropertyPermissionMapping()
39 VehiclePropertyIds.DOOR_MOVE, in PropertyPermissionMapping()
40 VehiclePropertyIds.DOOR_LOCK); in PropertyPermissionMapping()
42 VehiclePropertyIds.MIRROR_Z_POS, in PropertyPermissionMapping()
43 VehiclePropertyIds.MIRROR_Z_MOVE, in PropertyPermissionMapping()
44 VehiclePropertyIds.MIRROR_Y_POS, in PropertyPermissionMapping()
45 VehiclePropertyIds.MIRROR_Y_MOVE, in PropertyPermissionMapping()
46 VehiclePropertyIds.MIRROR_LOCK, in PropertyPermissionMapping()
47 VehiclePropertyIds.MIRROR_FOLD); in PropertyPermissionMapping()
[all …]
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DVehiclePropertyIdsTest.java20 import android.car.VehiclePropertyIds;
65 List<String> carServiceNames = getListOfConstantNames(VehiclePropertyIds.class); in testMatchingVehiclePropertyNamesInVehicleHal()
97 List<String> carServiceNames = getListOfConstantNames(VehiclePropertyIds.class); in testMatchingVehiclePropertyValuesInVehicleHal()
125 int carServicePropId = getValue(VehiclePropertyIds.class, carServiceName); in testMatchingVehiclePropertyValuesInVehicleHal()
141 propsToString.put(VehiclePropertyIds.INVALID, "INVALID"); in testToString()
142 propsToString.put(VehiclePropertyIds.INFO_VIN, "INFO_VIN"); in testToString()
143 propsToString.put(VehiclePropertyIds.INFO_MAKE, "INFO_MAKE"); in testToString()
144 propsToString.put(VehiclePropertyIds.INFO_MODEL, "INFO_MODEL"); in testToString()
145 propsToString.put(VehiclePropertyIds.INFO_MODEL_YEAR, "INFO_MODEL_YEAR"); in testToString()
146 propsToString.put(VehiclePropertyIds.INFO_FUEL_CAPACITY, "INFO_FUEL_CAPACITY"); in testToString()
[all …]
/packages/services/Car/car-lib/api/
Dbaseline.txt2 MissingPermission: android.car.VehiclePropertyIds#ABS_ACTIVE:
3 …Permission Car.PERMISSION_CAR_DYNAMICS_STATE required by field VehiclePropertyIds.ABS_ACTIVE is hi…
4 MissingPermission: android.car.VehiclePropertyIds#AP_POWER_BOOTUP_REASON:
5 …Permission Car.PERMISSION_CAR_POWER required by field VehiclePropertyIds.AP_POWER_BOOTUP_REASON is…
6 MissingPermission: android.car.VehiclePropertyIds#AP_POWER_STATE_REPORT:
7 …Permission Car.PERMISSION_CAR_POWER required by field VehiclePropertyIds.AP_POWER_STATE_REPORT is …
8 MissingPermission: android.car.VehiclePropertyIds#AP_POWER_STATE_REQ:
9 …Permission Car.PERMISSION_CAR_POWER required by field VehiclePropertyIds.AP_POWER_STATE_REQ is hid…
10 MissingPermission: android.car.VehiclePropertyIds#DISPLAY_BRIGHTNESS:
11 …Permission Car.PERMISSION_CAR_POWER required by field VehiclePropertyIds.DISPLAY_BRIGHTNESS is hid…
[all …]
Dtest-baseline.txt2 MissingPermission: android.car.VehiclePropertyIds#ABS_ACTIVE:
3 …Permission Car.PERMISSION_CAR_DYNAMICS_STATE required by field VehiclePropertyIds.ABS_ACTIVE is hi…
4 MissingPermission: android.car.VehiclePropertyIds#AP_POWER_BOOTUP_REASON:
5 …Permission Car.PERMISSION_CAR_POWER required by field VehiclePropertyIds.AP_POWER_BOOTUP_REASON is…
6 MissingPermission: android.car.VehiclePropertyIds#AP_POWER_STATE_REPORT:
7 …Permission Car.PERMISSION_CAR_POWER required by field VehiclePropertyIds.AP_POWER_STATE_REPORT is …
8 MissingPermission: android.car.VehiclePropertyIds#AP_POWER_STATE_REQ:
9 …Permission Car.PERMISSION_CAR_POWER required by field VehiclePropertyIds.AP_POWER_STATE_REQ is hid…
10 MissingPermission: android.car.VehiclePropertyIds#DISPLAY_BRIGHTNESS:
11 …Permission Car.PERMISSION_CAR_POWER required by field VehiclePropertyIds.DISPLAY_BRIGHTNESS is hid…
[all …]
Dlint-baseline.txt90 MissingNullability: android.car.VehiclePropertyIds#toString(int):
194 StaticUtils: android.car.VehiclePropertyIds:
198 Todo: android.car.VehiclePropertyIds#AP_POWER_BOOTUP_REASON:
200 Todo: android.car.VehiclePropertyIds#AP_POWER_STATE_REPORT:
202 Todo: android.car.VehiclePropertyIds#AP_POWER_STATE_REQ:
204 Todo: android.car.VehiclePropertyIds#DISPLAY_BRIGHTNESS:
206 Todo: android.car.VehiclePropertyIds#HW_KEY_INPUT:
208 Todo: android.car.VehiclePropertyIds#OBD2_FREEZE_FRAME:
210 Todo: android.car.VehiclePropertyIds#OBD2_FREEZE_FRAME_CLEAR:
212 Todo: android.car.VehiclePropertyIds#OBD2_FREEZE_FRAME_INFO:
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/
DSensorsTestFragment.java22 import android.car.VehiclePropertyIds;
69 VehiclePropertyIds.PERF_VEHICLE_SPEED,
70 VehiclePropertyIds.ENGINE_RPM,
71 VehiclePropertyIds.PERF_ODOMETER,
72 VehiclePropertyIds.FUEL_LEVEL,
73 VehiclePropertyIds.FUEL_DOOR_OPEN,
74 VehiclePropertyIds.IGNITION_STATE,
75 VehiclePropertyIds.PARKING_BRAKE_ON,
76 VehiclePropertyIds.GEAR_SELECTION,
77 VehiclePropertyIds.NIGHT_MODE,
[all …]
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DHvacController.java21 import static android.car.VehiclePropertyIds.HVAC_ACTUAL_FAN_SPEED_RPM;
22 import static android.car.VehiclePropertyIds.HVAC_AC_ON;
23 import static android.car.VehiclePropertyIds.HVAC_AUTO_ON;
24 import static android.car.VehiclePropertyIds.HVAC_AUTO_RECIRC_ON;
25 import static android.car.VehiclePropertyIds.HVAC_DEFROSTER;
26 import static android.car.VehiclePropertyIds.HVAC_DUAL_ON;
27 import static android.car.VehiclePropertyIds.HVAC_ELECTRIC_DEFROSTER_ON;
28 import static android.car.VehiclePropertyIds.HVAC_FAN_DIRECTION;
29 import static android.car.VehiclePropertyIds.HVAC_FAN_DIRECTION_AVAILABLE;
30 import static android.car.VehiclePropertyIds.HVAC_FAN_SPEED;
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/property/
DVehiclePropertyIdDebugUtilsUnitTest.java21 import android.car.VehiclePropertyIds;
29 assertThat(VehiclePropertyIdDebugUtils.toName(VehiclePropertyIds.ABS_ACTIVE)).isEqualTo( in testToName()
32 VehiclePropertyIds.VEHICLE_SPEED_DISPLAY_UNITS)).isEqualTo( in testToName()
40 VehiclePropertyIds.ABS_ACTIVE); in testToId()
42 VehiclePropertyIds.VEHICLE_SPEED_DISPLAY_UNITS); in testToId()
49 VehiclePropertyIdDebugUtils.toDebugString(VehiclePropertyIds.ABS_ACTIVE)).isEqualTo( in testToDebugString()
52 VehiclePropertyIds.VEHICLE_SPEED_DISPLAY_UNITS)).isEqualTo( in testToDebugString()
63 assertThat(VehiclePropertyIdDebugUtils.isDefined(VehiclePropertyIds.ABS_ACTIVE)).isTrue(); in testIsDefined()
65 VehiclePropertyIds.VEHICLE_SPEED_DISPLAY_UNITS)).isTrue(); in testIsDefined()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/property/
DPropertyHalServiceConfigsUnitTest.java29 import android.car.VehiclePropertyIds;
77 private static final int[] SYSTEM_PROPERTY_IDS = {VehiclePropertyIds.ENGINE_OIL_LEVEL,
78 VehiclePropertyIds.CURRENT_GEAR, VehiclePropertyIds.NIGHT_MODE,
79 VehiclePropertyIds.HVAC_FAN_SPEED, VehiclePropertyIds.DOOR_LOCK};
121 /*prop=*/ VehiclePropertyIds.ULTRASONICS_SENSOR_MEASURED_DISTANCE,
128 /*prop=*/ VehiclePropertyIds.ULTRASONICS_SENSOR_MEASURED_DISTANCE,
189 .isReadable(mContext, VehiclePropertyIds.ENGINE_OIL_LEVEL)).isTrue(); in testIsReadableWritableForSystemProperty()
191 .isWritable(mContext, VehiclePropertyIds.ENGINE_OIL_LEVEL)).isFalse(); in testIsReadableWritableForSystemProperty()
193 .isReadable(mContext, VehiclePropertyIds.HVAC_FAN_SPEED)).isTrue(); in testIsReadableWritableForSystemProperty()
195 .isWritable(mContext, VehiclePropertyIds.HVAC_FAN_SPEED)).isTrue(); in testIsReadableWritableForSystemProperty()
[all …]
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/sensors/
DSensors.java20 import android.car.VehiclePropertyIds;
50 "Fuel", VehiclePropertyIds.FUEL_LEVEL, VEHICLE_AREA_TYPE_GLOBAL,
55 "Fuel Capacity", VehiclePropertyIds.INFO_FUEL_CAPACITY, VEHICLE_AREA_TYPE_GLOBAL,
60 "RPM", VehiclePropertyIds.ENGINE_RPM, VEHICLE_AREA_TYPE_GLOBAL,
65 "Fuel Range", VehiclePropertyIds.RANGE_REMAINING, VEHICLE_AREA_TYPE_GLOBAL,
70 "Speed", VehiclePropertyIds.PERF_VEHICLE_SPEED, VEHICLE_AREA_TYPE_GLOBAL,
75 "Gear", VehiclePropertyIds.GEAR_SELECTION, VEHICLE_AREA_TYPE_GLOBAL,
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/sensors/
DSensors.java20 import android.car.VehiclePropertyIds;
47 "Fuel", VehiclePropertyIds.FUEL_LEVEL, VEHICLE_AREA_TYPE_GLOBAL,
52 "Fuel Capacity", VehiclePropertyIds.INFO_FUEL_CAPACITY, VEHICLE_AREA_TYPE_GLOBAL,
57 "RPM", VehiclePropertyIds.ENGINE_RPM, VEHICLE_AREA_TYPE_GLOBAL,
62 "Fuel Range", VehiclePropertyIds.RANGE_REMAINING, VEHICLE_AREA_TYPE_GLOBAL,
67 "Speed", VehiclePropertyIds.PERF_VEHICLE_SPEED, VEHICLE_AREA_TYPE_GLOBAL,
72 "Gear", VehiclePropertyIds.GEAR_SELECTION, VEHICLE_AREA_TYPE_GLOBAL,
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManager.java37 import android.car.VehiclePropertyIds;
213 Slog.d(TAG, "onErrorEvent propertyId: " + VehiclePropertyIds.toString(propertyId) in onErrorEvent()
350 .append(VehiclePropertyIds.toString(mPropertyId)) in toString()
512 .append(VehiclePropertyIds.toString(mPropertyId)) in toString()
605 .append(VehiclePropertyIds.toString(mPropertyId)) in toString()
699 .append(VehiclePropertyIds.toString(mPropertyId)) in toString()
775 .append(VehiclePropertyIds.toString(mPropertyId)) in toString()
892 String propertyName = VehiclePropertyIds.toString(propertyId); in onResults()
904 + VehiclePropertyIds.toString(valuePropertyId)); in onResults()
1066 + VehiclePropertyIds.toString(propertyId)); in CarPropertyManager()
[all …]
DPropertyNotAvailableException.java23 import android.car.VehiclePropertyIds;
37 super("Property ID: " + VehiclePropertyIds.toString(propertyId) + " area ID: 0x" in PropertyNotAvailableException()
45 super("Property ID: " + VehiclePropertyIds.toString(propertyId) + " area ID: 0x" in PropertyNotAvailableException()
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/actuators/
DCarActuator.java22 import android.car.VehiclePropertyIds;
99 .getCarPropertyConfig(VehiclePropertyIds.HVAC_AC_ON); in changeAC()
114 .getBooleanProperty(VehiclePropertyIds.HVAC_AC_ON, areaId); in changeAC()
126 mCarPropertyManager.setBooleanProperty(VehiclePropertyIds.HVAC_AC_ON, areaId, turnOn); in changeAC()
134 if (!mCarPropertyManager.isPropertyAvailable(VehiclePropertyIds.PERF_VEHICLE_SPEED, in informSpeed()
140 VehiclePropertyIds.PERF_VEHICLE_SPEED, GLOBAL_AREA_ID); in informSpeed()
148 .getCarPropertyConfig(VehiclePropertyIds.TIRE_PRESSURE); in informTirePressure()
159 VehiclePropertyIds.TIRE_PRESSURE, areaId); in informTirePressure()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/calmmode/
DTemperatureViewModel.java22 import android.car.VehiclePropertyIds;
55 mPropertyManager.registerCallback(this, VehiclePropertyIds.HVAC_TEMPERATURE_DISPLAY_UNITS, in TemperatureViewModel()
57 mPropertyManager.registerCallback(this, VehiclePropertyIds.ENV_OUTSIDE_TEMPERATURE, in TemperatureViewModel()
74 VehiclePropertyIds.HVAC_TEMPERATURE_DISPLAY_UNITS); in onCleared()
76 VehiclePropertyIds.ENV_OUTSIDE_TEMPERATURE); in onCleared()
103 if (carPropertyValue.getPropertyId() == VehiclePropertyIds.HVAC_TEMPERATURE_DISPLAY_UNITS) { in onChangeEvent()
105 } else if (carPropertyValue.getPropertyId() == VehiclePropertyIds.ENV_OUTSIDE_TEMPERATURE) { in onChangeEvent()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarPropertyManagerTest.java31 import android.car.VehiclePropertyIds;
289 case VehiclePropertyIds.HVAC_TEMPERATURE_SET: in testMixedPropertyConfigs()
311 case VehiclePropertyIds.INFO_VIN: in testMixedPropertyConfigs()
312 case VehiclePropertyIds.TIRE_PRESSURE: in testMixedPropertyConfigs()
313 case VehiclePropertyIds.FUEL_DOOR_OPEN: in testMixedPropertyConfigs()
314 case VehiclePropertyIds.EPOCH_TIME: in testMixedPropertyConfigs()
316 case VehiclePropertyIds.DISTANCE_DISPLAY_UNITS: in testMixedPropertyConfigs()
509 VehiclePropertyIds.HVAC_TEMPERATURE_SET); in testGetPermission()
512 VehiclePropertyIds.HVAC_TEMPERATURE_SET); in testGetPermission()
516 String vinReadPermission = mManager.getReadPermission(VehiclePropertyIds.INFO_VIN); in testGetPermission()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarPropertyService.java31 import android.car.VehiclePropertyIds;
113 VehiclePropertyIds.HVAC_TEMPERATURE_VALUE_SUGGESTION
148 VehiclePropertyIds.CRUISE_CONTROL_TYPE, in PROPERTY_ID_TO_UNWRITABLE_STATES.put()
151 VehiclePropertyIds.EV_STOPPING_MODE, in PROPERTY_ID_TO_UNWRITABLE_STATES.put()
154 VehiclePropertyIds.HVAC_FAN_DIRECTION, in PROPERTY_ID_TO_UNWRITABLE_STATES.put()
157 VehiclePropertyIds.WINDSHIELD_WIPERS_SWITCH, in PROPERTY_ID_TO_UNWRITABLE_STATES.put()
304 + VehiclePropertyIds.toString(propId) + " areaId: 0x" in dump()
500 VehiclePropertyIds.toString(propertyId), updateRateHz); in registerListenerSafe()
518 VehiclePropertyIds.toString(propertyId), updateRateHz); in registerListenerSafe()
570 VehiclePropertyIds.toString(propertyId), Integer.toHexString(areaId), in getAndDispatchPropertyInitValue()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/units/
DUnitsSettingsFragment.java20 import android.car.VehiclePropertyIds;
70 VehiclePropertyIds.VEHICLE_SPEED_DISPLAY_UNITS)) {
77 if (isValidVehicleProperty(VehiclePropertyIds.DISTANCE_DISPLAY_UNITS)) {
84 if (isValidVehicleProperty(VehiclePropertyIds.FUEL_VOLUME_DISPLAY_UNITS)) {
95 if (isValidVehicleProperty(VehiclePropertyIds.EV_BATTERY_DISPLAY_UNITS)) {
103 VehiclePropertyIds.HVAC_TEMPERATURE_DISPLAY_UNITS)) {
111 VehiclePropertyIds.TIRE_PRESSURE_DISPLAY_UNITS)) {
/packages/services/Car/tests/CarLibUnitTest/src/com/android/car/internal/property/
DCarPropertyHelperUnitTest.java22 import android.car.VehiclePropertyIds;
33 private static final int SYSTEM_PROPERTY = VehiclePropertyIds.VEHICLE_SPEED_DISPLAY_UNITS;
48 expectThat(CarPropertyHelper.isSupported(VehiclePropertyIds.INFO_VIN)).isTrue(); in testIsSupported()
50 expectThat(CarPropertyHelper.isSupported(VehiclePropertyIds.INVALID)).isFalse(); in testIsSupported()
64 VehiclePropertyIds.INFO_VIN))) in testPropertyIdsToString()
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/calmmode/
DTemperatureViewModelTest.java34 import android.car.VehiclePropertyIds;
76 .thenReturn(VehiclePropertyIds.HVAC_TEMPERATURE_DISPLAY_UNITS); in setUp()
79 .thenReturn(VehiclePropertyIds.ENV_OUTSIDE_TEMPERATURE); in setUp()
83 eq(VehiclePropertyIds.HVAC_TEMPERATURE_DISPLAY_UNITS), anyInt())) in setUp()
86 eq(VehiclePropertyIds.ENV_OUTSIDE_TEMPERATURE), anyInt())) in setUp()
155 VehiclePropertyIds.ENV_OUTSIDE_TEMPERATURE)); in testGetCarPropertyValue_notNull()
157 VehiclePropertyIds.HVAC_TEMPERATURE_DISPLAY_UNITS)); in testGetCarPropertyValue_notNull()
/packages/services/Car/service/src/com/android/car/bluetooth/
DBluetoothDeviceConnectionPolicy.java27 import android.car.VehiclePropertyIds;
124 mCarPropertyService.registerListenerSafe(VehiclePropertyIds.SEAT_OCCUPANCY, in init()
131 mCarPropertyService.unregisterListenerSafe(VehiclePropertyIds.SEAT_OCCUPANCY, in release()
176 && (value.getPropertyId() == VehiclePropertyIds.SEAT_OCCUPANCY) in onSeatOccupancyCarPropertyEvent()
204 VehiclePropertyIds.INFO_DRIVER_SEAT, VehicleAreaType.VEHICLE_AREA_TYPE_GLOBAL); in getDriverSeatLocationFromVhal()
210 new int[]{VehiclePropertyIds.INFO_DRIVER_SEAT}) in getDriverSeatLocationFromVhal()
/packages/services/Car/car-lib/src/com/android/car/internal/property/
DVehiclePropertyIdDebugUtils.java22 import android.car.VehiclePropertyIds;
47 return ConstantDebugUtils.toName(VehiclePropertyIds.class, propertyId); in toName()
55 return ConstantDebugUtils.toValue(VehiclePropertyIds.class, propertyName); in toId()
/packages/services/Car/service/src/com/android/car/hal/
DClusterHalService.java19 import static android.car.VehiclePropertyIds.CLUSTER_DISPLAY_STATE;
20 import static android.car.VehiclePropertyIds.CLUSTER_HEARTBEAT;
21 import static android.car.VehiclePropertyIds.CLUSTER_NAVIGATION_STATE;
22 import static android.car.VehiclePropertyIds.CLUSTER_REPORT_STATE;
23 import static android.car.VehiclePropertyIds.CLUSTER_REQUEST_DISPLAY;
24 import static android.car.VehiclePropertyIds.CLUSTER_SWITCH_UI;
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/vehiclectrl/
DVehicleCtrlFragment.java24 import android.car.VehiclePropertyIds;
110 mPropMgr.registerCallback(mPropCb, VehiclePropertyIds.WINDOW_POS, 10); in subscribeProps()
118 if (prop.getPropertyId() == VehiclePropertyIds.WINDOW_POS) { in onPropertyEvent()
134 mPropMgr.setIntProperty(VehiclePropertyIds.WINDOW_MOVE, windowId, speed); in moveWindow()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/toggle/
DHvacToggleButton.java19 import static android.car.VehiclePropertyIds.HVAC_AUTO_ON;
20 import static android.car.VehiclePropertyIds.HVAC_POWER_ON;
22 import android.car.VehiclePropertyIds;
159 + VehiclePropertyIds.toString(value.getPropertyId())); in onPropertyChanged()

12345