From 66dd3cfeb9b215027074367bb51492bb8516a003 Mon Sep 17 00:00:00 2001
From: Android Partner Docs
Date: Thu, 14 Sep 2017 13:43:47 -0700
Subject: Docs: Changes to source.android.com
- 168737726 Removed "The" from strong tag, looked a little odd. by blamb
- 168627558 Add AOSP links to September bulletin by daroberts
- 168588117 Update build numbers for Sep security releases by Android Partner Docs
- 168570150 Devsite localized content from translation request 5bfc63... by Android Partner Docs
- 168561824 Fix typos by Android Partner Docs
- 168485063 Add GNSS signal source to CTS Physical Environment Setup by claym
- 168454940 Updating kernel patch instructions by hvm
- 168448636 Remove older version of the CDD from main dir. by gdimino
- 168442618 Add "CTS Media 1.4" to "CTS Media Files" section by claym
- 168413238 Updating AB image, splitting file, rewriting overview, up... by hvm
- 168364087 Added Armis folks to Acknowledgements page. by Android Partner Docs
- 168363885 Added CVE-2017-0781, CVE-2017-0782, CVE-2017-0783 and CVE... by Android Partner Docs
- 168035538 Updating link to Samsung blog (as it has changed) by Android Partner Docs
- 168022608 Added CVE to researcher acknowledgement section by Android Partner Docs
- 167909551 Updating CONFIG_MODVERSIONS description, O > 8.0 by hvm
- 167799301 Update CTS/CTS-Verifier downloads for CTS-Sep-2017 Releases by claym
- 167784315 Add device manifest fragments doc by Android Partner Docs
- 167739678 Devsite localized content from translation request 01ecb1... by Android Partner Docs
- 167665215 Fix copy commands in hikey960 kernel steps to reflect new... by claym
- 167620398 android.framework -> android.frameworks by Android Partner Docs
- 167606212 Add note about Google device updates in september bulletin by daroberts
- 167603735 Adding block allocation tool by hvm
- 167601882 September 2017 security bulletin by daroberts
- 167353047 Fixes for 8.0 CDD by gdimino
- 167339303 Publishing the 8.0 CDD. by gdimino
- 167332534 Remove orphaned page for devices/input/index.html. by blamb
- 167173631 Adding Jack images and minor tweaks to page for layout, s... by hvm
- 167022969 Add Keymaster 3 updates to site changes by daroberts
- 167008059 Fix b.android.com link by daroberts
- 166917869 Fix typo. by cqn
- 166905822 Keymaster 3 changes by daroberts
- 166897040 Fix FMQ doc blockingRead/Write -> read/writeBlocking by Android Partner Docs
- 166768894 changing < to < by hvm
- 166756537 Automated g4 rollback of changelist 163505078. by Android Partner Docs
PiperOrigin-RevId: 168737726
Change-Id: Icc461a0b49b173fbdd59a0a01704d72539d972bc
---
en/devices/architecture/vintf/objects.html | 2 +-
en/devices/architecture/vintf/resources.html | 46 ++++++++++++++++++++++++++++
2 files changed, 47 insertions(+), 1 deletion(-)
(limited to 'en/devices/architecture/vintf')
diff --git a/en/devices/architecture/vintf/objects.html b/en/devices/architecture/vintf/objects.html
index 87abeedf..76d78ee0 100644
--- a/en/devices/architecture/vintf/objects.html
+++ b/en/devices/architecture/vintf/objects.html
@@ -125,7 +125,7 @@ and on the device under /system/manifest.xml
.
</interface>
</hal>
<hal>
- <name>android.framework.sensorservice</name>
+ <name>android.frameworks.sensorservice</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
diff --git a/en/devices/architecture/vintf/resources.html b/en/devices/architecture/vintf/resources.html
index 65828508..0f408a89 100644
--- a/en/devices/architecture/vintf/resources.html
+++ b/en/devices/architecture/vintf/resources.html
@@ -143,6 +143,52 @@ assemble_vintf \
-c $(TARGET_OUT_VENDOR)/manifest.xml \
+Example: Generate device manifest from fragments
+
+Multiple device manifest fragments can be bundled at build time. For example:
+
+
+<!-- device/manufacturer/device_name/manifest_common.xml -->
+<manifest version="1.0" type="device">
+ <!-- common HALs here -->
+</manifest>
+
+
+
+<!-- device/manufacturer/device_name/ir.xml -->
+<manifest version="1.0" type="device">
+ <hal>
+ <name>android.hardware.ir</name>
+ <version>1.0</version>
+ <!-- other fields -->
+ </hal>
+</manifest>
+
+
+
+# device/manufacturer/device_name/BoardConfig.mk
+DEVICE_MANIFEST_FILE := device/manufacturer/device_name/manifest_common.xml
+ifdef BOARD_ENABLE_IR
+ DEVICE_MANIFEST_FILE += device/manufacturer/device_name/ir.xml
+endif
+
+
+Then, assemble_vintf
adds Ir HAL to device manifest if BOARD_ENABLE_IR
+is defined, and omits it if BOARD_ENABLE_IR
is not defined. The following commands
+(modified to omit implementation details) are executed to generate the device manifest:
+
+
+# if BOARD_ENABLE_IR is defined
+BOARD_SEPOLICY_VERS=10000.0 assemble_vintf \
+ -i device/manufacturer/device_name/manifest_common.xml:device/manufacturer/device_name/ir.xml \
+ -o $(TARGET_OUT_VENDOR)/manifest.xml
+
+# if BOARD_ENABLE_IR is not defined
+BOARD_SEPOLICY_VERS=10000.0 assemble_vintf \
+ -i device/manufacturer/device_name/manifest_common.xml \
+ -o $(TARGET_OUT_VENDOR)/manifest.xml
+
+
For details, see:
assemble_vintf --help
--
cgit v1.2.3