From ea448b829ef3c5eefcadcd50fdf74c873eeadd86 Mon Sep 17 00:00:00 2001
From: Android Partner Docs
Date: Wed, 8 Aug 2018 13:50:33 -0700
Subject: Docs: Changes to source.android.com
- 207940242 One more fix: add header for Television Requirements. by Gina Dimino
- 207936055 Update health README link. by Android Partner Docs
- 207929938 Errata run for Android 9 CDD. by Gina Dimino
- 207897850 Fix typos in Develop and Configure index pages by Kenneth Lau
- 207813977 Devsite localized content from translation request 958913. by Android Partner Docs
- 207813949 Devsite localized content from translation request 953118. by Android Partner Docs
- 207813941 Devsite localized content from translation request 961934. by Android Partner Docs
- 207813934 Devsite localized content from translation request 552632. by Android Partner Docs
- 207813463 Update line numbers in links by Kenneth Lau
- 207796341 Fixing the URL for the CDD link in versions file. by Gina Dimino
- 207779392 Fix incorrect link by Kenneth Lau
- 207777680 Update build numbers for 2018/08 releases by Android Partner Docs
- 207775888 Update links to AOSP by Kenneth Lau
- 207769948 Update links to AOSP by Kenneth Lau
- 207763826 Clarify system for HIDL passthrough loading. by Android Partner Docs
- 207733156 Fixing malformed links in html for kernel patches, adding... by Heidi von Markham
- 207650104 Remove link by Heidi von Markham
- 207640627 Tags for Android P. by Android Partner Docs
- 207626815 Making link absolute by Clay Murphy
- 207611166 Add Background Restrictions into Release Notes. by Christina Nguyen
- 207606267 Fixing unclosed tag, reformatting for clarity by Heidi von Markham
- 207604244 Fix malformed link by Clay Murphy
- 207598416 adding subscript by Heidi von Markham
- 207595049 Fix link in section 3.5.1. by Gina Dimino
- 207590813 Fix broken link due to file path change by Christina Nguyen
- 207588930 Update Power nav to include changes to mgmt page (broken ... by Christina Nguyen
- 207588102 Separate out the Power Management article into "Applicati... by Christina Nguyen
- 207583000 Fix broken links in HAL interface section by Kenneth Lau
- 207582699 Put index files in place as redirects are not taking hold by Clay Murphy
- 207575443 P release notes: fix bad links, remove "P release" by Mark Hecomovich
- 207574657 Fix link typo from release notes to Carrier ID page by Christina Nguyen
- 207559561 Integrate SAC next branch into mainline for Android P/9 p... by Mark Hecomovich
- 207559252 Publish links to July localized versions within Japanese ... by Clay Murphy
- 207122872 Devsite localized content from translation request 958912. by Android Partner Docs
- 207122854 Devsite localized content from translation request 961384. by Android Partner Docs
- 207007888 Add blurb about the SystemUpdateSampler app on SAC so use... by Christina Nguyen
- 206862073 Update Camera HAL testing page by Kenneth Lau
- 206805870 Devsite localized content from translation request 960240. by Android Partner Docs
- 206805861 Devsite localized content from translation request 954945. by Android Partner Docs
PiperOrigin-RevId: 207940242
Change-Id: I3dee204c744e2e6062ac56810b88aefabf84636a
---
en/devices/architecture/vintf/comp-matrices.html | 95 ++++-
en/devices/architecture/vintf/dm.html | 160 ++++++++
en/devices/architecture/vintf/fcm.html | 446 +++++++++++++++++++++++
en/devices/architecture/vintf/index.html | 32 +-
en/devices/architecture/vintf/match-rules.html | 187 +++++++++-
en/devices/architecture/vintf/objects.html | 212 +++++++----
en/devices/architecture/vintf/resources.html | 86 ++---
7 files changed, 1052 insertions(+), 166 deletions(-)
create mode 100644 en/devices/architecture/vintf/dm.html
create mode 100644 en/devices/architecture/vintf/fcm.html
(limited to 'en/devices/architecture/vintf')
diff --git a/en/devices/architecture/vintf/comp-matrices.html b/en/devices/architecture/vintf/comp-matrices.html
index 74589eef..01ac349c 100644
--- a/en/devices/architecture/vintf/comp-matrices.html
+++ b/en/devices/architecture/vintf/comp-matrices.html
@@ -26,19 +26,20 @@ the compatibility matrix schema. For
match rules, see Matching
Rules.
-Framework compatibility matrix
+Framework compatibility matrix
+(FCM)
The framework compatibility matrix describes the requirements of the
framework on the device it runs on. The matrix file is associated with the
Android framework image (on system.img
). It is expected the
-requirements of the framework's compatibility matrix will be satisfied by the
-device manifest (requirements enforced at launch and OTA time).
+requirements of the FCM will be satisfied by the device manifest (requirements
+enforced at launch and OTA time).
-Example framework compatibility matrix file:
+Example FCM file:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Comments, Legal notices, etc. here -->
-<compatibility-matrix version="1.0" type="framework">
+<compatibility-matrix version="1.0" type="framework" level="3">
<hal>
<name>android.hardware.camera</name>
<version>1.0</version>
@@ -46,6 +47,7 @@ device manifest (requirements enforced at launch and OTA time).
<interface>
<name>ICameraProvider</name>
<instance>default</instance>
+ <regex-instance>[a-z_]+/[0-9]+</regex-instance>
</interface>
</hal>
<hal>
@@ -70,6 +72,16 @@ device manifest (requirements enforced at launch and OTA time).
<version>1.1</version>
</hal>
<kernel version="3.18.51">
+ <!-- common configs -->
+ </kernel>
+ <kernel version="3.18.51">
+ <!-- arm specific configs -->
+ <condition>
+ <config>
+ <key>CONFIG_ARM</key>
+ <value type="tristate">y</value>
+ </config>
+ <condition>
<config>
<key>CONFIG_A</key>
<value type="string"></value>
@@ -80,6 +92,7 @@ device manifest (requirements enforced at launch and OTA time).
</config>
</kernel>
<kernel version="4.1.22">
+ <!-- common configs -->
<config>
<key>CONFIG_A</key>
<value type="string">foo</value>
@@ -105,11 +118,14 @@ device manifest (requirements enforced at launch and OTA time).
</compatibility-matrix>
-Device compatibility matrix
+For more details, see FCM
+Lifecycle.
+
+Device compatibility matrix (DCM)
The device compatibility matrix describes a set of requirements the device
expects from the framework (requirements enforced at launch and OTA time).
-Example device compatibility matrix file:
+Example DCM file:
<?xml version="1.0" encoding="UTF-8"?>
@@ -147,20 +163,28 @@ expects from the framework (requirements enforced at launch and OTA time).
<instance>default</instance>
</interface>
</hal>
- <xmlfile format="dtd" optional="false">
- <name>sample_xml</name>
- <version>1.0</version>
- </xmlfile>
+ <vendor-ndk>
+ <version>27</version>
+ </vendor-ndk>
+ <system-sdk>
+ <version>27</version>
+ </system-sdk>
</compatibility-matrix>
Compatibility matrix schema
+This section describes the meaning of these XML tags. Some "required" tags
+can be missing from the source file in Android source tree and written by
+assemble_vintf
+at build time. "Required" tags must be present in the corresponding files on the
+device.
+
?xml
- Optional. It only provides information to the XML parser.
compatibility-matrix.version
-- Required. Version of this compatibility matrix. Describes the elements
-expected in the manifest. Unrelated to XML version.
+- Required. Meta-version of this compatibility matrix. Describes the elements
+expected in the compatibility matrix. Unrelated to XML version.
compatibility-matrix.type
- Required. Type of this compatibility matrix:
@@ -168,6 +192,11 @@ expected in the manifest. Unrelated to XML version.
"framework"
: Framework compatibility matrix.
+manifest.level
+Required for framework compatibility matrix. Specifies the Framework
+Compatibility Matrix Version (FCM Version) of this file. Should not be
+declared in device-specific framework compatibility matrix (i.e.
+DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE
).
compatibility-matrix.hal
Optional and can repeat. Lists a single HAL (HIDL or native) that is
required by owner of the compatibility matrix (framework or device) to be
@@ -184,7 +213,7 @@ there can be several HAL entries with the same name (implies "and" condition).
compatibility-matrix.hal.optional
Attribute is optional and defaults to false. States whether this HAL is
optional to the owner of the compatibility matrix (framework or device). If a
-<p;hal>
entry is marked as optional, it means the owner can
+<hal>
entry is marked as optional, it means the owner can
work with this HAL, if present, but does not require it to be present.
compatibility-matrix.hal.name
Required. Full package name of this HAL. Examples:
@@ -204,11 +233,28 @@ device) expects.
Required. Name of the interface.
compatibility-matrix.hal.interface.instance
Optional, can repeat. A list of required instances of this interface.
+compatibility-matrix.hal.interface.regex-instance
+Optional, can repeat. A list of required instance name patterns on this
+interface. Use
+Extended
+Regular Expression format.
+compatibility-matrix.kernel
+Optional, can repeat. Specify a list of kernel configs that the framework
+requires on each kernel version.
+Multiple <kernel>
with the same <version>
can
+exist to imply "and" relationship. Each <kernel>
is a "fragment"
+of the requirements that are enabled only when <conditions>
are
+met.
compatibility-matrix.kernel.version
Required. Kernel version. Format is
-{version}.{major-revision}.{minor-revision}
. Version and major
-revision must match exactly, minor-revision defines the minimum LTS version of
-the kernel the framework expects.
+VERSION.MAJOR_REVISION.MINOR_REVISION
.
+Version and major revision must match exactly. Minor revision defines the
+minimum LTS version of the kernel the framework expects.
+compatibility-matrix.kernel.condition
+Optional. Must not exist for the first <kernel>
of each
+version. Specifies a list of conditions. Only when the conditions are met are
+the requirements stated in this <kernel>
fragment is enabled.
+
compatibility-matrix.kernel.config
Optional, can repeat. Lists CONFIG
items that must be
matched for this kernel version. Each CONFIG
item is a key-value
@@ -257,7 +303,22 @@ with.
Optional; used only by the framework compatibility matrix. Declares the
AVB
version used to sign system.img
.
+compatibility-matrix.vendor-ndk
+Optional; used only by the device compatibility matrix. Declares the
+requirement of the VNDK vendor snapshot. If missing, no VNDK requirement is made
+on the system image.
+compatibility-matrix.vendor-ndk.version
+Required. A positive integer that declares a VNDK version required by the
+vendor image.
+compatibility-matrix.vendor-ndk.library
+Optional, can repeat. Declares a set of VNDK libraries required by the
+vendor image. Same semantics as manifest.vendor-ndk.library
.
+compatibility-matrix.system-sdk.version
+Optional, can repeat; used only by the device compatibility matrix. Declares
+the requirement by vendor apps on System SDK versions. If missing, no System SDK
+requirement is made on the system image.