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

Commit da2fa092 authored by Yu Shan's avatar Yu Shan
Browse files

Fix HIDL VHAL descriptor name in VTS.

Bug: 322418005
Test: Manual test with HIDL VHAL, VTS pass.
Change-Id: I93e92d3587243c44b5651ab85d47442ebb64c51a
parent 97770cf3
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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,