Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 064fb929 authored by Eva Chen's avatar Eva Chen
Browse files

Add ULTRASONICS_SENSOR_FIELD_OF_VIEW to emulator defaults.

Flag android_vic_vehicle_properties needs to be enabled.

Bug: 292141998
Bug: 316088542
Test: atest VtsHalAutomotiveVehicle_TargetTest
Test: atest CtsCarTestCases:CarPropertyManagerTest
Test: atest CtsCarTestCases:VehiclePropertyIdsTest
Change-Id: Ibc57c1688131a424e597df0cd579b1e9799157a7
parent 984293ed
Loading
Loading
Loading
Loading
+127 −0
Original line number Diff line number Diff line
@@ -3757,6 +3757,133 @@
                }
            ]
        },
        {
            "property": "VehicleProperty::ULTRASONICS_SENSOR_FIELD_OF_VIEW",
            "comment":
                    "Default values for 12 individual ultrasonic sensors installed on the vehicle. Six sensors on the front bumper. Six sensors on the back bumper.",
            "areas": [
                {
                    "defaultValue": {
                        "int32Values": [
                            85,
                            45
                        ]
                    },
                    "areaId": 1,
                    "comment": "Rough values representing front left most sensor."
                },
                {
                    "defaultValue": {
                        "int32Values": [
                            75,
                            45
                        ]
                    },
                    "areaId": 2,
                    "comment": "Rough values representing front 2nd to the left sensor."
                },
                {
                    "defaultValue": {
                        "int32Values": [
                            75,
                            45
                        ]
                    },
                    "areaId": 4,
                    "comment": "Rough values representing front 3rd to the left sensor."
                },
                {
                    "defaultValue": {
                        "int32Values": [
                            75,
                            45
                        ]
                    },
                    "areaId": 8,
                    "comment": "Rough values representing front 3rd to the right sensor."
                },
                {
                    "defaultValue": {
                        "int32Values": [
                            75,
                            45
                        ]
                    },
                    "areaId": 16,
                    "comment": "Rough values representing front 2nd to the right sensor."
                },
                {
                    "defaultValue": {
                        "int32Values": [
                            85,
                            45
                        ]
                    },
                    "areaId": 32,
                    "comment": "Rough values representing front right most sensor."
                },
                {
                    "defaultValue": {
                        "int32Values": [
                            85,
                            45
                        ]
                    },
                    "areaId": 64,
                    "comment": "Rough values representing back left most sensor."
                },
                {
                    "defaultValue": {
                        "int32Values": [
                            75,
                            45
                        ]
                    },
                    "areaId": 128,
                    "comment": "Rough values representing back 2nd to the left sensor."
                },
                {
                    "defaultValue": {
                        "int32Values": [
                            75,
                            45
                        ]
                    },
                    "areaId": 256,
                    "comment": "Rough values representing back 3rd to the left sensor."
                },
                {
                    "defaultValue": {
                        "int32Values": [
                            75,
                            45
                        ]
                    },
                    "areaId": 512,
                    "comment": "Rough values representing back 3rd to the right sensor."
                },
                {
                    "defaultValue": {
                        "int32Values": [
                            75,
                            45
                        ]
                    },
                    "areaId": 1024,
                    "comment": "Rough values representing back 2nd to the right sensor."
                },
                {
                    "defaultValue": {
                        "int32Values": [
                            85,
                            45
                        ]
                    },
                    "areaId": 2048,
                    "comment": "Rough values representing back right most sensor."
                }
            ]
        },
        {
            "property": "VehicleProperty::ELECTRONIC_TOLL_COLLECTION_CARD_TYPE",
            "defaultValue": {