History log of /system/libvintf/include/vintf/Version.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3f5489a519f5f1a7eb8bd7873a3170057502d93b 08-Feb-2017 Yifan Hong <elsk@google.com> Complete definition for CompatibilityMatrix

* Add KernelConfigTypedValue to CompatibilityMatrix
to support KV pair in kernel information. config items
in /proc/config.gz are more than just a string; they have
the format:
CONFIG_FOO=y
CONFIG_BAR=""
CONFIG_BAZ=0x99
etc. Compatibility matrix needs to match the value part
as well.

* Added minlts to each kernel entry. This allows
KernelInfo::checkCompatibility to check if the current
LTS version can support the framework.

Test: libvintf_test

Change-Id: I859829dee8fdee0d856c33c1f5836d8c9c94099a
/system/libvintf/include/vintf/Version.h
b212dc6077b7b9833b973136c73f91e39423993c 30-Jan-2017 Yifan Hong <elsk@google.com> VendorManifest::getTransport checks package version.

Also removed Version::INFINITY because of a macro conflict. It
is not used anywhere.

Test: light / nfc / audio works (lshal to confirm)

Bug: 34810039: VINTF: specify version in getTransport

Change-Id: Iecad6e7ed2d10eaa8a9faf6ae5eaef24991c0287
/system/libvintf/include/vintf/Version.h
676447acd00ebf93d1023f79fc02b5cbbb86dda2 15-Nov-2016 Yifan Hong <elsk@google.com> VendorManifest and CompatibilityMatrix from and to XML.

Usage:

#include <vintf/VendorManifest.h>
#include <vintf/parse_xml.h>
VendorManifest vm;
// ...
std::string xml = gVendorManifestConverter(vm);
VendorManifest vm2;
bool success = gVendorManifestConverter(&vm2, xml);
if (!success)
ALOGW("%s", gVendorManifestConverter.lastError());

See Vendor Interface Object and Compatibility Matrix Design
document and libvintf_test (test/main.cpp) for details.
(Up to commit 4468534)

Test: libvintf_test

Bug: 32648352

Change-Id: I7e8ee8d2b9e61bf036e77a390712480cbbd452b4
/system/libvintf/include/vintf/Version.h