Changes required for enabling VINTF(part of project treble) object in android?

Viewed 14

I am trying to enable full Treble support in my custom Android source code(android-11). As per google documentation https://source.android.com/docs/core/architecture/vintf it requires pair of manifests and matrices(xml's, each one for device and framework). I am very much confused to what to enter in each of those files.

  1. If we take device manifest.xml, it requires vendor hal's to be listed in it. Does it means the vendor implemented HAL's or the HAL's that are used by vendor?
  2. As per the google docs, framework will provide framework manifest.xml, Do we need to implement framework compatibility_matrix.xml or that also we get from framework? If in case we have to implement framework compatibility_matrix.xml, what kind of HAL's are to be entered?
  3. Similarly what kind of HAL's are to be entered in device compatibility_matrix.xml?
  4. How can i confirm that VINTF is enabled in my code after completing the changes?

If anyone know some clean steps, please share with me.

0 Answers
Related