From 928062ccac80ea914bcad98169f244c0d1d0f9aa Mon Sep 17 00:00:00 2001 From: Yu Shan Date: Thu, 25 Jan 2024 17:40:41 -0800 Subject: [PATCH] Fix HIDL VHAL descriptor name in VTS. Bug: 322418005 Test: Manual test with HIDL VHAL, VTS pass. Change-Id: I93e92d3587243c44b5651ab85d47442ebb64c51a Merged-In: I93e92d3587243c44b5651ab85d47442ebb64c51a --- .../vehicle/vts/src/VtsHalAutomotiveVehicle_TargetTest.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/automotive/vehicle/vts/src/VtsHalAutomotiveVehicle_TargetTest.cpp b/automotive/vehicle/vts/src/VtsHalAutomotiveVehicle_TargetTest.cpp index 04a96d42fe..f8ef8cba61 100644 --- a/automotive/vehicle/vts/src/VtsHalAutomotiveVehicle_TargetTest.cpp +++ b/automotive/vehicle/vts/src/VtsHalAutomotiveVehicle_TargetTest.cpp @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include @@ -454,7 +455,8 @@ std::vector getDescriptors() { .isAidlService = true, }); } - for (std::string name : getAllHalInstanceNames(IVehicle::descriptor)) { + for (std::string name : getAllHalInstanceNames( + android::hardware::automotive::vehicle::V2_0::IVehicle::descriptor)) { descriptors.push_back({ .name = name, .isAidlService = false,