From a63d28d20492979243f7cac739a506d308334a86 Mon Sep 17 00:00:00 2001 From: Android Partner Docs Date: Tue, 5 Dec 2017 15:57:15 -0800 Subject: Docs: Changes to source.android.com - 178024672 CDD updates for Android 8.1 (O MR1). by Gina Dimino - 178024315 Document tags pushed to AOSP for December Security Releas... by Android Partner Docs - 178019963 Add TextClassifier feature to Site Updates. by Mark Hecomovich - 177986632 Add CTS/CTS-Verifier downloads for CTS-8.1R1 Release by Android Partner Docs - 177981307 Update December Pixel bulletin to note that firmware imag... by Android Partner Docs - 177977792 Note Source->Setup rename in site updates. by Billy Lamberta - 177972113 Add O MR1 doc changes to Site Updates by Clay Murphy - 177970750 Integrate O MR1 branch into mainline by Clay Murphy - 177966804 Fix typo: Digital Stream Digital > Direct Stream Digital by Christina Nguyen - 177966781 Exclude Android 8.1 compatibility directory from localiza... by Danielle Roberts - 177857487 Specify additional ABI breaking changes. by Android Partner Docs - 177855089 Add attribution for William Roberts by Danielle Roberts - 177844366 Devsite localized content from translation request 63bb47... by Android Partner Docs - 177840956 Devsite localized content from translation request 3a9204... by Android Partner Docs - 177840933 Devsite localized content from translation request 526dee... by Android Partner Docs - 177840699 Devsite localized content from translation request f000cb... by Android Partner Docs - 177833559 Fix table in Dec pixel bulletin by Danielle Roberts - 177832645 Fix broken link in Security bulletin by Danielle Roberts - 177830793 Fix index files for security bulletins by Danielle Roberts - 177829204 December 2017 Android and Pixel security bulletins by Danielle Roberts - 177619977 Add links to most recently localized files by Clay Murphy - 177553556 Devsite localized content from translation request df5038... by Android Partner Docs - 177553553 Devsite localized content from translation request 3feff8... by Android Partner Docs - 177553549 Devsite localized content from translation request 57c74f... by Android Partner Docs - 177530761 Devsite localized content from translation request 52ae7a... by Android Partner Docs - 177530750 Devsite localized content from translation request f48e7b... by Android Partner Docs - 177402074 Make CVE-2017-0639 optional by Android Partner Docs - 177220538 Devsite localized content from translation request eaaf1d... by Android Partner Docs - 177208086 Fixing bad link. by Heidi von Markham - 177091447 updated CVEs by Android Partner Docs - 177091159 Devsite localized content from translation request dcaa09... by Android Partner Docs - 177091156 Devsite localized content from translation request 23af27... by Android Partner Docs - 177087486 Update HIDL documentation to reflect actual passthrough i... by Android Partner Docs PiperOrigin-RevId: 178024672 Change-Id: I593c61d26aac1fdcebb184ac048dbca7696161b1 --- en/devices/architecture/hidl-cpp/index.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'en/devices/architecture/hidl-cpp') diff --git a/en/devices/architecture/hidl-cpp/index.html b/en/devices/architecture/hidl-cpp/index.html index f42d8f8a..7d8466cb 100644 --- a/en/devices/architecture/hidl-cpp/index.html +++ b/en/devices/architecture/hidl-cpp/index.html @@ -92,11 +92,13 @@ hidl-gen -o $LOC -Landroidbp-impl -randroid.hardware:hardware/interfaces \

For the HAL to work in passthrough mode (for legacy devices), you must have the function HIDL_FETCH_IModuleName residing in -/system/lib(64)?/hw/android.hardware.package@3.0-impl(-$OPTIONAL_IDENTIFIER).so +/system/lib(64)?/hw/android.hardware.package@3.0-impl($OPTIONAL_IDENTIFIER).so where $OPTIONAL_IDENTIFIER is a string identifying the passthrough implementation. The passthrough mode requirements are met automatically by the above commands, which also create the android.hardware.nfc@1.0-impl -target.

+target, but any extension can be used. For instance +android.hardware.nfc@1.0-impl-foo uses -foo to +differentiate itself.

Next, fill out the stubs with functionality and setup a daemon. Example daemon code (supporting passthrough):

-- cgit v1.2.3