Home
last modified time | relevance | path

Searched refs:GEAR_SELECTION (Results 1 – 25 of 26) sorted by relevance

12

/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarDrivingRestrictionsTest.java73 addAidlProperty(VehicleProperty.GEAR_SELECTION, AidlVehiclePropValueBuilder in configureMockedHal()
74 .newBuilder(VehicleProperty.GEAR_SELECTION) in configureMockedHal()
137 aidlInjectIntEvent(VehicleProperty.GEAR_SELECTION, VehicleGear.GEAR_PARK, in testDrivingStateChange()
150 aidlInjectIntEvent(VehicleProperty.GEAR_SELECTION, VehicleGear.GEAR_DRIVE, in testDrivingStateChange()
182 aidlInjectIntEvent(VehicleProperty.GEAR_SELECTION, VehicleGear.GEAR_REVERSE, in testDrivingStateChange()
214 aidlInjectIntEvent(VehicleProperty.GEAR_SELECTION, VehicleGear.GEAR_PARK, in testDrivingStateChangeForMalformedInputs()
227 aidlInjectIntEvent(VehicleProperty.GEAR_SELECTION, -1, CarPropertyValue.STATUS_UNAVAILABLE); in testDrivingStateChangeForMalformedInputs()
254 aidlInjectIntEvent(VehicleProperty.GEAR_SELECTION, -1, CarPropertyValue.STATUS_UNAVAILABLE); in setupDrivingStateUnknown()
DCarSensorManagerTest.java74 addAidlProperty(VehicleProperty.GEAR_SELECTION, in configureMockedHal()
75 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.GEAR_SELECTION) in configureMockedHal()
318 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.GEAR_SELECTION) in injectGearEventAndAssert()
DCarPropertyServiceTest.java91 mDefaultPropValues.put(VehicleProperty.GEAR_SELECTION, in CarPropertyServiceTest()
92 AidlVehiclePropValueBuilder.newBuilder(VehicleProperty.GEAR_SELECTION) in CarPropertyServiceTest()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DCarPropertyTest.java181 saveProperty(VehicleProperty.GEAR_SELECTION, 0); in setUp()
193 restoreProperty(VehicleProperty.GEAR_SELECTION, 0); in tearDown()
329 propMgr.registerCallback(cb, VehiclePropertyIds.GEAR_SELECTION, in testPropertyEventOutOfOrder()
335 int currentGear = propMgr.getIntProperty(VehiclePropertyIds.GEAR_SELECTION, 0); in testPropertyEventOutOfOrder()
461 if (carPropertyValue.getPropertyId() != VehiclePropertyIds.GEAR_SELECTION) { in onChangeEvent()
/packages/services/Car/service/src/com/android/car/
DCarDrivingStateService.java75 VehicleProperty.GEAR_SELECTION,
369 case VehicleProperty.GEAR_SELECTION: in handlePropertyEventLocked()
422 if (p.getPropertyId() == VehicleProperty.GEAR_SELECTION) { in getSupportedGears()
555 VehicleProperty.GEAR_SELECTION, in updateVehiclePropertiesIfNeededLocked()
DCarShellCommand.java3138 mHal.injectVhalEvent(VehiclePropertyIds.GEAR_SELECTION,
3152 mHal.injectVhalEvent(VehiclePropertyIds.GEAR_SELECTION,
3167 mHal.injectVhalEvent(VehiclePropertyIds.GEAR_SELECTION,
3180 mHal.injectVhalEvent(VehiclePropertyIds.GEAR_SELECTION,
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/property/
DPropertyHalServiceConfigsUnitTest.java96 PROP_VALUE_BUILDER.build(VehicleProperty.GEAR_SELECTION, /*areaId=*/0,
100 PROP_VALUE_BUILDER.build(VehicleProperty.GEAR_SELECTION, /*areaId=*/0,
104 PROP_VALUE_BUILDER.build(VehicleProperty.GEAR_SELECTION, /*areaId=*/0,
108 PROP_VALUE_BUILDER.build(VehicleProperty.GEAR_SELECTION, /*areaId=*/0,
DHalPropertyDebugUtilsUnitTest.java151 new HalPropValueBuilder(true).build(VehicleProperty.GEAR_SELECTION, 0, in testToValueString()
/packages/services/Car/service/src/com/android/car/evs/
DCarEvsService.java442 VehiclePropertyIds.GEAR_SELECTION, /*areaId=*/ 0) == null) { in init()
453 VehiclePropertyIds.GEAR_SELECTION, /*updateRateHz=*/0, in init()
482 mPropertyService.unregisterListenerSafe(VehiclePropertyIds.GEAR_SELECTION, in release()
1066 if (value.getPropertyId() != VehiclePropertyIds.GEAR_SELECTION) { in handlePropertyEvent()
/packages/services/Car/cpp/evs/apps/default/src/
DEvsStateControl.cpp78 static_assert(getPropType(VehicleProperty::GEAR_SELECTION) == VehiclePropertyType::INT32, in EvsStateControl()
83 mGearValue.prop = static_cast<int32_t>(VehicleProperty::GEAR_SELECTION); in EvsStateControl()
Devs_app.cpp249 if (!subscribeToVHal(subscriptionClient.get(), VehicleProperty::GEAR_SELECTION)) { in main()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/sensors/
DSensors.java75 "Gear", VehiclePropertyIds.GEAR_SELECTION, VEHICLE_AREA_TYPE_GLOBAL,
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/sensors/
DSensors.java72 "Gear", VehiclePropertyIds.GEAR_SELECTION, VEHICLE_AREA_TYPE_GLOBAL,
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/
DSensorsTestFragment.java76 VehiclePropertyIds.GEAR_SELECTION,
97 put(VehiclePropertyIds.GEAR_SELECTION, R.string.sensor_gear);
/packages/services/Car/car-lib/src/com/android/car/internal/
DPropertyPermissionMapping.java140 VehiclePropertyIds.GEAR_SELECTION, in PropertyPermissionMapping()
/packages/services/Car/service/src/com/android/car/hal/
DHalPropConfig.java42 VehicleProperty.GEAR_SELECTION,
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPropertyServiceUnitTest.java169 mConfigs.put(VehiclePropertyIds.GEAR_SELECTION, in setUp()
170 CarPropertyConfig.newBuilder(Integer.class, VehiclePropertyIds.GEAR_SELECTION, in setUp()
1301 () -> mService.getProperty(VehiclePropertyIds.GEAR_SELECTION, 0)); in getProperty_throwsSecurityExceptionIfPlatformDoesNotHavePermissionToRead()
1306 when(mHalService.isReadable(mContext, VehiclePropertyIds.GEAR_SELECTION)) in getProperty_throwsSecurityExceptionIfAppDoesNotHavePermissionToRead()
1309 () -> mService.getProperty(VehiclePropertyIds.GEAR_SELECTION, 0)); in getProperty_throwsSecurityExceptionIfAppDoesNotHavePermissionToRead()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DVehiclePropertyIdsTest.java178 propsToString.put(VehiclePropertyIds.GEAR_SELECTION, "GEAR_SELECTION"); in testToString()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DHalPropConfigTest.java83 VehicleProperty.GEAR_SELECTION,
/packages/services/Car/car-lib/src/android/car/
DVehiclePropertyIds.java1048 public static final int GEAR_SELECTION = 289408000; field in VehiclePropertyIds
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/evs/
DCarEvsServiceUnitTest.java127 new CarPropertyValue<>(VehicleProperty.GEAR_SELECTION, /* areaId= */ 0,
130 new CarPropertyValue<>(VehicleProperty.GEAR_SELECTION, /* areaId= */ 0,
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/telemetry/
DCarTelemetryTestFragment.java86 .setVehiclePropertyId(VehiclePropertyIds.GEAR_SELECTION)
/packages/services/Car/car-lib/api/
Dcurrent.txt364 …ssion(android.car.Car.PERMISSION_POWERTRAIN) public static final int GEAR_SELECTION = 289408000; /…
Dlint-baseline.txt782 UnflaggedApi: android.car.VehiclePropertyIds#GEAR_SELECTION:
783 New API must be flagged with @FlaggedApi: field android.car.VehiclePropertyIds.GEAR_SELECTION
/packages/services/Car/car-lib-module/api/
Dcurrent.txt364 …ssion(android.car.Car.PERMISSION_POWERTRAIN) public static final int GEAR_SELECTION = 289408000; /…

12