summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYifan Hong2017-02-17 12:15:32 -0600
committerYifan Hong2017-02-17 12:37:09 -0600
commitd2b7e64894cd739da60f129ac38d0cf035238206 (patch)
tree44c51ec21701a256e1fc5beef204ab808bdd97c8 /main.cpp
parenta7201e77e0c5221ada625ba5fcf89b25af45c10a (diff)
downloadplatform-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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.cpp b/main.cpp
index 29d74fc..960ecaa 100644
--- a/main.cpp
+++ b/main.cpp
@@ -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
23int main(int, char **) { 23int 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();