mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Fix HIDL VHAL descriptor name in VTS.
Bug: 322418005 Test: Manual test with HIDL VHAL, VTS pass. Change-Id: I93e92d3587243c44b5651ab85d47442ebb64c51a
This commit is contained in:
@@ -26,6 +26,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 <gmock/gmock.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <hidl/GtestPrinter.h>
|
||||
@@ -1190,7 +1191,8 @@ std::vector<ServiceDescriptor> 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,
|
||||
|
||||
Reference in New Issue
Block a user