aboutsummaryrefslogtreecommitdiff
path: root/en/devices/architecture
diff options
context:
space:
mode:
Diffstat (limited to 'en/devices/architecture')
-rw-r--r--en/devices/architecture/hidl-cpp/index.html6
-rw-r--r--en/devices/architecture/hidl/hashing.html2
-rw-r--r--en/devices/architecture/images/treble_latency_bubble.pngbin0 -> 15669 bytes
-rw-r--r--en/devices/architecture/images/treble_priority_inv_rta.pngbin0 -> 12940 bytes
-rw-r--r--en/devices/architecture/images/treble_priority_inv_rta_blocked.pngbin0 -> 14509 bytes
-rw-r--r--en/devices/architecture/images/treble_systrace_binder_processes.pngbin0 -> 25305 bytes
6 files changed, 6 insertions, 2 deletions
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 \
<p>For the HAL to work in passthrough mode (for legacy devices), you must have
the function <em>HIDL_FETCH_IModuleName</em> residing in
-<code>/system/lib(64)?/hw/android.hardware.package@3.0-impl(-$OPTIONAL_IDENTIFIER).so</code>
+<code>/system/lib(64)?/hw/android.hardware.package@3.0-impl($OPTIONAL_IDENTIFIER).so</code>
where <code>$OPTIONAL_IDENTIFIER</code> is a string identifying the passthrough
implementation. The passthrough mode requirements are met automatically by the
above commands, which also create the <code>android.hardware.nfc@1.0-impl</code>
-target.</p>
+target, but any extension can be used. For instance
+<code>android.hardware.nfc@1.0-impl-foo</code> uses <code>-foo</code> to
+differentiate itself.</p>
<p>Next, fill out the stubs with functionality and setup a daemon. Example
daemon code (supporting passthrough):</p>
diff --git a/en/devices/architecture/hidl/hashing.html b/en/devices/architecture/hidl/hashing.html
index e083fd4c..3debea85 100644
--- a/en/devices/architecture/hidl/hashing.html
+++ b/en/devices/architecture/hidl/hashing.html
@@ -151,6 +151,8 @@ interfaces which maintain ABI stability. Review the following types of changes:
<td>
<ul>
<li>Reordering arguments, methods, etc…</li>
+<li>Renaming an interface or moving it to a new package.</li>
+<li>Renaming a package.</li>
<li>Adding a method/struct field/etc… anywhere in the interface.</li>
<li>Anything that would break a C++ vtable.</li>
<li>etc..</li>
diff --git a/en/devices/architecture/images/treble_latency_bubble.png b/en/devices/architecture/images/treble_latency_bubble.png
new file mode 100644
index 00000000..72a83c05
--- /dev/null
+++ b/en/devices/architecture/images/treble_latency_bubble.png
Binary files differ
diff --git a/en/devices/architecture/images/treble_priority_inv_rta.png b/en/devices/architecture/images/treble_priority_inv_rta.png
new file mode 100644
index 00000000..5ece38be
--- /dev/null
+++ b/en/devices/architecture/images/treble_priority_inv_rta.png
Binary files differ
diff --git a/en/devices/architecture/images/treble_priority_inv_rta_blocked.png b/en/devices/architecture/images/treble_priority_inv_rta_blocked.png
new file mode 100644
index 00000000..fe218529
--- /dev/null
+++ b/en/devices/architecture/images/treble_priority_inv_rta_blocked.png
Binary files differ
diff --git a/en/devices/architecture/images/treble_systrace_binder_processes.png b/en/devices/architecture/images/treble_systrace_binder_processes.png
new file mode 100644
index 00000000..425dcd07
--- /dev/null
+++ b/en/devices/architecture/images/treble_systrace_binder_processes.png
Binary files differ