diff options
author | Yifan Hong | 2017-02-17 12:15:32 -0600 |
---|---|---|
committer | Yifan Hong | 2017-02-17 12:37:09 -0600 |
commit | d2b7e64894cd739da60f129ac38d0cf035238206 (patch) | |
tree | 44c51ec21701a256e1fc5beef204ab808bdd97c8 /main.cpp | |
parent | a7201e77e0c5221ada625ba5fcf89b25af45c10a (diff) | |
download | platform-system-libvintf-d2b7e64894cd739da60f129ac38d0cf035238206.tar.gz platform-system-libvintf-d2b7e64894cd739da60f129ac38d0cf035238206.tar.xz platform-system-libvintf-d2b7e64894cd739da60f129ac38d0cf035238206.zip |
vintf: VendorManifest -> HalManifest
VendorManifest is an old name and is changed
to HalManifest long ago in relavant documentation.
It merely consist of a list of "HALs" and doesn't
contain any runtime collectible information.
Test: mma
Test: libvintf_test
Change-Id: Iba78128c194a3efc34371b686943266829d8e33c
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -18,14 +18,14 @@ | |||
18 | #include <vintf/parse_xml.h> | 18 | #include <vintf/parse_xml.h> |
19 | #include <vintf/parse_string.h> | 19 | #include <vintf/parse_string.h> |
20 | #include <vintf/RuntimeInfo.h> | 20 | #include <vintf/RuntimeInfo.h> |
21 | #include <vintf/VendorManifest.h> | 21 | #include <vintf/HalManifest.h> |
22 | 22 | ||
23 | int main(int, char **) { | 23 | int main(int, char **) { |
24 | using namespace ::android::vintf; | 24 | using namespace ::android::vintf; |
25 | 25 | ||
26 | const VendorManifest *vm = VendorManifest::Get(); | 26 | const HalManifest *vm = HalManifest::Get(); |
27 | if (vm != nullptr) | 27 | if (vm != nullptr) |
28 | std::cout << gVendorManifestConverter(*vm); | 28 | std::cout << gHalManifestConverter(*vm); |
29 | 29 | ||
30 | std::cout << std::endl; | 30 | std::cout << std::endl; |
31 | const RuntimeInfo *ki = RuntimeInfo::Get(); | 31 | const RuntimeInfo *ki = RuntimeInfo::Get(); |