commit | 9319860ef75d8218e72277b131b87f7b065fea83 | [log] [tgz] |
---|---|---|
author | Yu Shan <shanyu@google.com> | Mon Jan 29 22:14:44 2024 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Jan 29 22:14:44 2024 +0000 |
tree | cf9d1e479b9a68b2ef40f9782a853c52b286ad21 | |
parent | fb1d325dcc225b269b8eec8ac40e714524e32325 [diff] | |
parent | 928062ccac80ea914bcad98169f244c0d1d0f9aa [diff] |
Fix HIDL VHAL descriptor name in VTS. am: 928062ccac Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2928798 Change-Id: I081616ece3f02c244fe2f8e581da24e222e618a8 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/automotive/vehicle/vts/src/VtsHalAutomotiveVehicle_TargetTest.cpp b/automotive/vehicle/vts/src/VtsHalAutomotiveVehicle_TargetTest.cpp index 04a96d4..f8ef8cb 100644 --- a/automotive/vehicle/vts/src/VtsHalAutomotiveVehicle_TargetTest.cpp +++ b/automotive/vehicle/vts/src/VtsHalAutomotiveVehicle_TargetTest.cpp
@@ -25,6 +25,7 @@ #include <android-base/stringprintf.h> #include <android-base/thread_annotations.h> #include <android/binder_process.h> +#include <android/hardware/automotive/vehicle/2.0/IVehicle.h> #include <gtest/gtest.h> #include <hidl/GtestPrinter.h> #include <hidl/ServiceManagement.h> @@ -454,7 +455,8 @@ .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,