commit | ec0fc925681422f37ccbcbb7edd0fa35e84470ff | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Mar 17 18:17:18 2020 -0700 |
committer | Yifan Hong <elsk@google.com> | Fri Mar 20 11:49:23 2020 -0700 |
tree | 6d6c042a7797f58baa30c3859c1c625821567ac9 | |
parent | d6b7ef56bf687766e368694d598278f6679b3f71 [diff] |
Use HIDL metadata for deprecation check Test: vts_treble_vintf_vendor_test Bug: 131717099 Change-Id: I92cd7ce1cd835e92342a82e886893ff206c3f52d Merged-In: I92cd7ce1cd835e92342a82e886893ff206c3f52d
diff --git a/treble/vintf/DeviceManifestTest.cpp b/treble/vintf/DeviceManifestTest.cpp index f2cfe8c..1a99089 100644 --- a/treble/vintf/DeviceManifestTest.cpp +++ b/treble/vintf/DeviceManifestTest.cpp
@@ -67,7 +67,8 @@ TEST_F(DeviceManifestTest, NoDeprecatedHalsOnManifest) { string error; EXPECT_EQ(android::vintf::NO_DEPRECATED_HALS, - VintfObject::CheckDeprecation(&error)) + VintfObject::GetInstance()->checkDeprecation( + HidlInterfaceMetadata::all(), &error)) << error; }