Rename the VMDS property to VMS which is how it is called now.

Test: Fixed HAL tests with the new property name
Bug:34682582

Change-Id: Ibed6a7d82de070087409da04e5a42e30f5cf3252
This commit is contained in:
asafro 2017-01-24 13:48:25 -08:00
parent b2a560a17e
commit e3fc6e0795
4 changed files with 6 additions and 6 deletions

View file

@ -67,7 +67,7 @@ public:
pValue = getValuePool()->obtainFloat(42.42);
}
break;
case VehicleProperty::VEHICLE_MAPS_DATA_SERVICE:
case VehicleProperty::VEHICLE_MAP_SERVICE:
pValue = getValuePool()->obtainComplex();
pValue->value.int32Values = hidl_vec<int32_t> { 10, 20 };
pValue->value.int64Values = hidl_vec<int64_t> { 30, 40 };
@ -317,10 +317,10 @@ TEST_F(VehicleHalManagerTest, subscribe_WriteOnly) {
}
TEST_F(VehicleHalManagerTest, get_Complex) {
invokeGet(VehicleProperty::VEHICLE_MAPS_DATA_SERVICE, 0);
invokeGet(VehicleProperty::VEHICLE_MAP_SERVICE, 0);
ASSERT_EQ(StatusCode::OK, actualStatusCode);
ASSERT_EQ(VehicleProperty::VEHICLE_MAPS_DATA_SERVICE, actualValue.prop);
ASSERT_EQ(VehicleProperty::VEHICLE_MAP_SERVICE, actualValue.prop);
ASSERT_EQ(3, actualValue.value.bytes.size());
ASSERT_EQ(1, actualValue.value.bytes[0]);

View file

@ -107,7 +107,7 @@ const VehiclePropConfig kVehicleProperties[] = {
// Complex data type.
{
.prop = VehicleProperty::VEHICLE_MAPS_DATA_SERVICE,
.prop = VehicleProperty::VEHICLE_MAP_SERVICE,
.access = VehiclePropertyAccess::READ_WRITE,
.changeMode = VehiclePropertyChangeMode::ON_CHANGE
}

View file

@ -1718,7 +1718,7 @@ enum VehicleProperty: int32_t {
* @change_mode VehiclePropertyChangeMode:ON_CHANGE
* @access VehiclePropertyAccess:READ_WRITE
*/
VEHICLE_MAPS_DATA_SERVICE = (
VEHICLE_MAP_SERVICE = (
0x0C00
| VehiclePropertyGroup:SYSTEM
| VehiclePropertyType:COMPLEX

View file

@ -494,7 +494,7 @@ attribute: {
scalar_value: {
int32_t: 287312836
}
enumerator: "VEHICLE_MAPS_DATA_SERVICE"
enumerator: "VEHICLE_MAP_SERVICE"
scalar_value: {
int32_t: 299895808
}