Provide VINTF for Trusty Keymaster

This makes it easier to add or remove the Trusty keymaster service from
a device by providing a manifest fragment to add whenever it is enabled.

Test: Keymaster VTS, Keystore CTS (sans attestation)
Change-Id: Ib0f5fd7c016c0c18d77c9d2623c89f3b35ba7ad7
This commit is contained in:
Matthew Maurer 2019-08-26 10:47:51 -07:00
parent fc920dcbb7
commit c649ca538d
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,11 @@
<manifest version="1.0" type="device">
<hal format="hidl">
<name>android.hardware.keymaster</name>
<transport>hwbinder</transport>
<version>4.0</version>
<interface>
<name>IKeymasterDevice</name>
<instance>default</instance>
</interface>
</hal>
</manifest>

View File

@ -136,4 +136,6 @@ cc_binary {
"libkeymaster4",
"android.hardware.keymaster@4.0"
],
vintf_fragments: ["4.0/android.hardware.keymaster@4.0-service.trusty.xml"],
}