vintf: KernelInfo -> RuntimeInfo.
There are more runtime information to report to the
OTA server besides kernel information (like avb.meta-version).
Renaming this class to reflect this.
Test: mma
Test: libvintf_test
Change-Id: Ie5863508bdac7a1a378c00528c8fd9853c6c50aa
diff --git a/test/main.cpp b/test/main.cpp
index 911f0b0..cfaa0fc 100644
--- a/test/main.cpp
+++ b/test/main.cpp
@@ -19,7 +19,7 @@
#include <vintf/parse_string.h>
#include <vintf/parse_xml.h>
#include <vintf/CompatibilityMatrix.h>
-#include <vintf/KernelInfo.h>
+#include <vintf/RuntimeInfo.h>
#include <vintf/VendorManifest.h>
#include <android-base/logging.h>
@@ -75,8 +75,8 @@
return vm;
}
- KernelInfo testKernelInfo() {
- KernelInfo info;
+ RuntimeInfo testRuntimeInfo() {
+ RuntimeInfo info;
info.mOsName = "Linux";
info.mNodeName = "localhost";
info.mOsRelease = "3.18.31-g936f9a479d0f";
@@ -328,8 +328,8 @@
}
}
-TEST_F(LibVintfTest, KernelInfo) {
- KernelInfo ki = testKernelInfo();
+TEST_F(LibVintfTest, RuntimeInfo) {
+ RuntimeInfo ki = testRuntimeInfo();
using KernelConfigs = std::vector<KernelConfig>;
const KernelConfigs configs {
KernelConfig{"CONFIG_64BIT", Tristate::YES},