History log of /system/libvintf/include/vintf/ManifestHal.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0fd7aeff56fc919dd70aeddfa10df39b4ca7e9a7 24-May-2017 Yifan Hong <elsk@google.com> HalGroup is the base class for HalManifest and CompatibilityMatrix.

Move common functions to HalGroup.h

Test: libvintf_test
Test: vintf_object_test
Bug: 38217107
Change-Id: I8acac6f4fcf79e2c9c3ec9df475f341c772aa983
/system/libvintf/include/vintf/ManifestHal.h
476b63fcdca477971fb33da225efcb4cdc6104b1 18-May-2017 Yifan Hong <elsk@google.com> Renamed ManifestHalInterface to HalInterface

because it is used by compatibility matrix as well.

Bug: 38395193
Test: compiles

Change-Id: I186fdf4e7fd7076f2ac9d7e95eda5ba7510f9dad
Merged-In: I186fdf4e7fd7076f2ac9d7e95eda5ba7510f9dad
/system/libvintf/include/vintf/ManifestHal.h
b2924cbe95b48a5374256731123d5905bdb70a9f 18-Apr-2017 Yifan Hong <elsk@google.com> Expose getHals and hide getAnyHal for HalManifest.

Bug: 37311367
Test: lshal --init-vintf
Change-Id: I82d4da1da2e8143d355aaca9192641dd79273a06
/system/libvintf/include/vintf/ManifestHal.h
974ad9c96731801919214b73af52fe3fc3a59658 05-Apr-2017 Yifan Hong <elsk@google.com> Remove <impl> tag from ManifestHal.

It is deprecated as suggested by documentation.
Test: libvintf_test

Bug: 36602724

Change-Id: Ifc847f87f654b0c62dba6106ae5b19c9c2d87f30
/system/libvintf/include/vintf/ManifestHal.h
c54d32cb0b20308a0ecea7864016a2a5dc512f71 08-Mar-2017 Yifan Hong <elsk@google.com> Add bitness info to <transport>.

Only valid for transport == passthrough or toggled.
Example:
<transport>hwbinder</transport>
<transport arch="64">passthrough</transport>
<transport arch="32+64">passthrough</transport>
<transport arch="32">passthrough</transport>

Allow transport tag to be missing (for native HALs like GLES).

Bug: 35966597
Test: libvintf_test
Change-Id: I80928a5d46f3097ed18f2894e46762127b29bd4c
/system/libvintf/include/vintf/ManifestHal.h
ec3b9b7cf729c8cc47421dcc316d7b2d1f37c2ff 23-Feb-2017 Yifan Hong <elsk@google.com> Add manifest.hal.interface entry

that looks like follows:

<interface>
<name>IBluetooth</name>
<instance>legacy/0</instance>
<instance>default</instance>
</interface>

If an entry doesn't exist it is default to "default" instance.

HalManfiest.getInstances and hasInstance is the API
to query these elements.

Test: libvintf_test
Bug: 35219444
Change-Id: Ic4402152c6d44c2c57c7ef1ba6ab6194ad7842f2
/system/libvintf/include/vintf/ManifestHal.h
89eb525ef6293b22e543ca981faf1c50fdab5836 24-Feb-2017 Yifan Hong <elsk@google.com> Minimize public interface.

HalManifest should not expose ManifestHal; CompatibilityMatrix should
not expose MatrixHal.

Also update comments in HalManfiest and ManfiestHal.

Bug: 34620633
Test: pass
Change-Id: If7c72fe3ace8e9c4b54e58bed10d9b741d79dac1
/system/libvintf/include/vintf/ManifestHal.h
2059ffc47cd339081b76b5d6f0ca6d68e51f22fb 24-Feb-2017 Yifan Hong <elsk@google.com> Clean up ManifestHal's public convenience constructor.

Bug: 34620633
Test: libvintf_test
Change-Id: I43571d7d5a56d60e43a1b75a683f0f41d470bfbf
/system/libvintf/include/vintf/ManifestHal.h
d2b7e64894cd739da60f129ac38d0cf035238206 17-Feb-2017 Yifan Hong <elsk@google.com> 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
/system/libvintf/include/vintf/ManifestHal.h
5a06ef717dbc3e417c35dc08543144386a277a6c 25-Jan-2017 Yifan Hong <elsk@google.com> Remove isValid() from public API.

* Remove isValid() from VendorManifest; rather,
add(ManifestHal &&) will do the check.
* Make ManifestHal::isValid() private; its XML Converter
and string parser will do the check.

Test: libvintf_test
Bug: 34620633
Change-Id: I3c8164e5856ac06eb6d79bb34e092ec2dec4e68e
/system/libvintf/include/vintf/ManifestHal.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/ManifestHal.h