History log of /system/libvintf/include/vintf/MatrixKernel.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8302cea08dea5238cbc4d2637ff90319480971ae 19-Dec-2017 Yifan Hong <elsk@google.com> assemble_vintf: refactor to prepare for test

* Abstract out an API used by assemble_vintf_main
* split main() to a different file
* rename files.
* Wrap getenv() calls so that values can be fake.

Test: libvintf_test

Change-Id: I515012c005a8b6010fbf455b84baef4c398b5817
/system/libvintf/include/vintf/MatrixKernel.h
d776d20386b03780f31856dcee687c5f3187aa3e 23-Aug-2017 Yifan Hong <elsk@google.com> Match /proc/config.gz with fwk comp mat <kernel> fragments

Multiple <kernel> elements with the same version can
exist. The <condition> element decides whether the <kernel>
element is actually used during matching.

Test: libvintf_test
Bug: 64124223

Change-Id: I0dd28b8b1bdfe06a4da61aaa81df91f4df5fcf26
Merged-In: I0dd28b8b1bdfe06a4da61aaa81df91f4df5fcf26
/system/libvintf/include/vintf/MatrixKernel.h
ff0a5636b60be69ac61057bc8070b836d49f2fa4 22-Aug-2017 Yifan Hong <elsk@google.com> Add <conditions> to <kernel> in framework compat mat

When <conditions> are present, the <kernel> tag is only
checked when all conditions are met. This is to support
arch-specific kernel config requirements.

Test: libvintf_test
Bug: 64124223
Change-Id: I91ecd115ca42473b79bda24d9b8613eed817e7e2
Merged-In: I91ecd115ca42473b79bda24d9b8613eed817e7e2
/system/libvintf/include/vintf/MatrixKernel.h
79efa8a35e677cb8ac79041737e2700b0e50de15 06-Jul-2017 Yifan Hong <elsk@google.com> Inject <kernel> entries to fwk compat mat in assemble_vintf

Bug: 38324908

Test: builds and verify that system/compatibility_matrix.xml
has configs filled.
Test: `vintf | tail` on marlin shows that fwk compat mat
is compatible with runtime info.

Change-Id: Ibf838ecbc308403ae3806fc9a25e7912f724ee46
/system/libvintf/include/vintf/MatrixKernel.h
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/MatrixKernel.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/MatrixKernel.h