summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Implement compatibility checkYifan Hong2017-02-161-0/+26
| | | | | | | | | | | | | | | | So that VendorManifest and KernelInfo can check against a certain CompatibilityMatrix. * VendorManifest::checkIncompatibility: return component names that doesn't work with the given compatibility matrix. * KernelInfo::checkCompatibility: check security_policyvers() and config items from /proc/config.gz. Bug: 34633352 Test: libvintf_test Change-Id: I88de1a89c23581330d50b4285ac4dfc2b6714e29
* Complete definition for CompatibilityMatrixYifan Hong2017-02-161-0/+64
* 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