Add seat headrest properties to DefaultProperties.json for CTS tests

All the seat headrest properties have been added, but
SEAT_HEADREST_HEIGHT_POS is excluded because of b/242587816.

Test: atest CarPropertyManagerTest
Bug: 239613431
Change-Id: I20b44558c262d47dc148e9b2d8857838f898ae9f
This commit is contained in:
seanhong
2022-08-15 23:38:49 +00:00
parent 6d8b09fda6
commit 4ccf651c01

View File

@@ -784,6 +784,181 @@
}
]
},
{
"property": "VehicleProperty::SEAT_HEADREST_HEIGHT_MOVE",
"defaultValue": {
"int32Values": [
0
]
},
"areas": [
{
"areaId": "Constants::SEAT_1_LEFT",
"minInt32Value": -1,
"maxInt32Value": 1
},
{
"areaId": "Constants::SEAT_1_RIGHT",
"minInt32Value": -1,
"maxInt32Value": 1
},
{
"areaId": "Constants::SEAT_2_LEFT",
"minInt32Value": -1,
"maxInt32Value": 1
},
{
"areaId": "Constants::SEAT_2_RIGHT",
"minInt32Value": -1,
"maxInt32Value": 1
},
{
"areaId": "Constants::SEAT_2_CENTER",
"minInt32Value": -1,
"maxInt32Value": 1
}
]
},
{
"property": "VehicleProperty::SEAT_HEADREST_ANGLE_POS",
"defaultValue": {
"int32Values": [
0
]
},
"areas": [
{
"areaId": "Constants::SEAT_1_LEFT",
"minInt32Value": -10,
"maxInt32Value": 10
},
{
"areaId": "Constants::SEAT_1_RIGHT",
"minInt32Value": -10,
"maxInt32Value": 10
},
{
"areaId": "Constants::SEAT_2_LEFT",
"minInt32Value": -10,
"maxInt32Value": 10
},
{
"areaId": "Constants::SEAT_2_RIGHT",
"minInt32Value": -10,
"maxInt32Value": 10
},
{
"areaId": "Constants::SEAT_2_CENTER",
"minInt32Value": -10,
"maxInt32Value": 10
}
]
},
{
"property": "VehicleProperty::SEAT_HEADREST_ANGLE_MOVE",
"defaultValue": {
"int32Values": [
0
]
},
"areas": [
{
"areaId": "Constants::SEAT_1_LEFT",
"minInt32Value": -1,
"maxInt32Value": 1
},
{
"areaId": "Constants::SEAT_1_RIGHT",
"minInt32Value": -1,
"maxInt32Value": 1
},
{
"areaId": "Constants::SEAT_2_LEFT",
"minInt32Value": -1,
"maxInt32Value": 1
},
{
"areaId": "Constants::SEAT_2_RIGHT",
"minInt32Value": -1,
"maxInt32Value": 1
},
{
"areaId": "Constants::SEAT_2_CENTER",
"minInt32Value": -1,
"maxInt32Value": 1
}
]
},
{
"property": "VehicleProperty::SEAT_HEADREST_FORE_AFT_POS",
"defaultValue": {
"int32Values": [
0
]
},
"areas": [
{
"areaId": "Constants::SEAT_1_LEFT",
"minInt32Value": -10,
"maxInt32Value": 10
},
{
"areaId": "Constants::SEAT_1_RIGHT",
"minInt32Value": -10,
"maxInt32Value": 10
},
{
"areaId": "Constants::SEAT_2_LEFT",
"minInt32Value": -10,
"maxInt32Value": 10
},
{
"areaId": "Constants::SEAT_2_RIGHT",
"minInt32Value": -10,
"maxInt32Value": 10
},
{
"areaId": "Constants::SEAT_2_CENTER",
"minInt32Value": -10,
"maxInt32Value": 10
}
]
},
{
"property": "VehicleProperty::SEAT_HEADREST_FORE_AFT_MOVE",
"defaultValue": {
"int32Values": [
0
]
},
"areas": [
{
"areaId": "Constants::SEAT_1_LEFT",
"minInt32Value": -1,
"maxInt32Value": 1
},
{
"areaId": "Constants::SEAT_1_RIGHT",
"minInt32Value": -1,
"maxInt32Value": 1
},
{
"areaId": "Constants::SEAT_2_LEFT",
"minInt32Value": -1,
"maxInt32Value": 1
},
{
"areaId": "Constants::SEAT_2_RIGHT",
"minInt32Value": -1,
"maxInt32Value": 1
},
{
"areaId": "Constants::SEAT_2_CENTER",
"minInt32Value": -1,
"maxInt32Value": 1
}
]
},
{
"property": "VehicleProperty::SEAT_OCCUPANCY",
"areas": [