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

Commit 4bcef309 authored by Eva Chen's avatar Eva Chen
Browse files

Add ULTRASONICS_SENSOR_MEASURED_DISTANCE 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: I101bf5174bb5fe879aca4f284552f3aeba2163d7
parent bafc05ef
Loading
Loading
Loading
Loading
+110 −0
Original line number Original line Diff line number Diff line
@@ -4178,6 +4178,116 @@
                }
                }
            ]
            ]
        },
        },
        {
            "property": "VehicleProperty::ULTRASONICS_SENSOR_MEASURED_DISTANCE",
            "areas": [
                {
                    "defaultValue": {
                        "int32Values": [
                            2000,
                            10
                        ]
                    },
                    "areaId": 1,
                    "comment": "Rough values representing front left most sensor."
                },
                {
                    "defaultValue": {
                        "int32Values": []
                    },
                    "areaId": 2,
                    "comment":
                            "Rough values representing front 2nd to the left sensor. Nothing detected."
                },
                {
                    "defaultValue": {
                        "int32Values": []
                    },
                    "areaId": 4,
                    "comment":
                            "Rough values representing front 3rd to the left sensor. Nothing detected."
                },
                {
                    "defaultValue": {
                        "int32Values": []
                    },
                    "areaId": 8,
                    "comment":
                            "Rough values representing front 3rd to the right sensor. Nothing detected."
                },
                {
                    "defaultValue": {
                        "int32Values": []
                    },
                    "areaId": 16,
                    "comment":
                            "Rough values representing front 2nd to the right sensor. Nothing detected."
                },
                {
                    "defaultValue": {
                        "int32Values": []
                    },
                    "areaId": 32,
                    "comment":
                            "Rough values representing front right most sensor. Nothing detected."
                },
                {
                    "defaultValue": {
                        "int32Values": []
                    },
                    "areaId": 64,
                    "comment": "Rough values representing back left most sensor. Nothing detected."
                },
                {
                    "defaultValue": {
                        "int32Values": []
                    },
                    "areaId": 128,
                    "comment":
                            "Rough values representing back 2nd to the left sensor. Nothing detected."
                },
                {
                    "defaultValue": {
                        "int32Values": []
                    },
                    "areaId": 256,
                    "comment":
                            "Rough values representing back 3rd to the left sensor. Nothing detected."
                },
                {
                    "defaultValue": {
                        "int32Values": [
                            1000
                        ]
                    },
                    "areaId": 512,
                    "comment":
                            "Rough values representing back 3rd to the right sensor. Nothing detected."
                },
                {
                    "defaultValue": {
                        "int32Values": [
                            2000,
                            50
                        ]
                    },
                    "areaId": 1024,
                    "comment": "Rough values representing back 2nd to the right sensor."
                },
                {
                    "defaultValue": {
                        "int32Values": [
                            2000
                        ]
                    },
                    "areaId": 2048,
                    "comment":
                            "Rough values representing back right most sensor. No distance error."
                }
            ],
            "maxSampleRate": 10.0,
            "minSampleRate": 1.0
        },
        {
        {
            "property": "VehicleProperty::ELECTRONIC_TOLL_COLLECTION_CARD_TYPE",
            "property": "VehicleProperty::ELECTRONIC_TOLL_COLLECTION_CARD_TYPE",
            "defaultValue": {
            "defaultValue": {