mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Fix HIDL VHAL descriptor name in VTS.
Bug: 322418005 Test: Manual test with HIDL VHAL, VTS pass. Change-Id: I93e92d3587243c44b5651ab85d47442ebb64c51a Merged-In: I93e92d3587243c44b5651ab85d47442ebb64c51a
This commit is contained in:
@@ -25,6 +25,7 @@
|
|||||||
#include <android-base/stringprintf.h>
|
#include <android-base/stringprintf.h>
|
||||||
#include <android-base/thread_annotations.h>
|
#include <android-base/thread_annotations.h>
|
||||||
#include <android/binder_process.h>
|
#include <android/binder_process.h>
|
||||||
|
#include <android/hardware/automotive/vehicle/2.0/IVehicle.h>
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <hidl/GtestPrinter.h>
|
#include <hidl/GtestPrinter.h>
|
||||||
#include <hidl/ServiceManagement.h>
|
#include <hidl/ServiceManagement.h>
|
||||||
@@ -454,7 +455,8 @@ std::vector<ServiceDescriptor> getDescriptors() {
|
|||||||
.isAidlService = true,
|
.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({
|
descriptors.push_back({
|
||||||
.name = name,
|
.name = name,
|
||||||
.isAidlService = false,
|
.isAidlService = false,
|
||||||
|
|||||||
Reference in New Issue
Block a user