aboutsummaryrefslogtreecommitdiff
path: root/en/devices/architecture
diff options
context:
space:
mode:
authorAndroid Partner Docs <noreply@android.com>2018-08-27 10:53:01 -0700
committerGina Dimino <gdimino@google.com>2018-08-27 13:51:04 -0700
commit211ce6dfa3402e59b25ea10bee70e5f4e8f2de57 (patch)
tree7369eab2dca6a4bb734955cca8e0cd7b2c109540 /en/devices/architecture
parent1df0e249e72adda586d75f8ae7657e2ca56ab8c5 (diff)
downloadsource.android.com-211ce6dfa3402e59b25ea10bee70e5f4e8f2de57.tar.gz
Docs: Changes to source.android.com
- 210393380 Devsite localized content from translation request 956020. by Android Partner Docs <noreply@android.com> - 210170698 Adding new image + minor text change (to force update) by Heidi von Markham <hvm@google.com> - 210148653 Clarify per-process and per-transaction HIDL limits. by Android Partner Docs <noreply@android.com> - 210104185 Devsite localized content from translation request 967290. by Android Partner Docs <noreply@android.com> - 210104178 Devsite localized content from translation request 965872. by Android Partner Docs <noreply@android.com> - 209982772 Publish August localized bulletins by Danielle Roberts <daroberts@google.com> - 209955311 Devsite localized content from translation request 965875. by Android Partner Docs <noreply@android.com> - 209955290 Devsite localized content from translation request 964300. by Android Partner Docs <noreply@android.com> - 209955273 Devsite localized content from translation request 965637. by Android Partner Docs <noreply@android.com> - 209953339 Add LMKD in Userspace post P release by Clay Murphy <claym@google.com> - 209942277 Update Secure Element by Kenneth Lau <kennethlau@google.com> - 209941970 Simplify first sentence of restore entry by Clay Murphy <claym@google.com> - 209832932 Devsite localized content from translation request 963844. by Android Partner Docs <noreply@android.com> - 209697578 Add better app widgets to P release notes by Clay Murphy <claym@google.com> - 209683102 Add Restore to lower APIs in P release notes by Clay Murphy <claym@google.com> - 209645764 Update Carrier Wi-Fi by Kenneth Lau <kennethlau@google.com> PiperOrigin-RevId: 210393380 Change-Id: Ic22fce750987853d802698809207ac8172e2ba74
Diffstat (limited to 'en/devices/architecture')
-rw-r--r--en/devices/architecture/hidl/services.html17
1 files changed, 9 insertions, 8 deletions
diff --git a/en/devices/architecture/hidl/services.html b/en/devices/architecture/hidl/services.html
index c7ddd8f6..f441c8e2 100644
--- a/en/devices/architecture/hidl/services.html
+++ b/en/devices/architecture/hidl/services.html
@@ -168,14 +168,15 @@ or <code>oneway</code>. For an example, see "Asynchronous callbacks" in
<code>inout</code> parameters.</p>
<h3 id=limits>Per-transaction limits</h3>
-<p>Per-transaction limits may be imposed on the amount of data sent in HIDL
-methods and callbacks. The limits are yet to be determined but may be as small
-as 4K. Calls exceeding these limits return failure immediately. Another
-limitation is the resources available to the HIDL infrastructure to handle
-multiple simultaneous transactions. Multiple transactions can be in-flight
-simultaneously due to multiple threads or processes sending calls to a process
-or multiple <code>oneway</code> calls that are not handled quickly by the
-receiving process.</p>
+<p>Per-transaction limits are not imposed on the amount of data sent in HIDL
+methods and callbacks. However, calls exceeding 4KB per transaction are
+considered excessive. If this is seen, re-architecting the given HIDL interface
+is recommended. Another limitation is the resources available to the HIDL
+infrastructure to handle multiple simultaneous transactions. Multiple
+transactions can be in-flight simultaneously due to multiple threads or
+processes sending calls to a process or multiple <code>oneway</code> calls that
+are not handled quickly by the receiving process. The maximum total space
+available for all concurrent transactions is 1MB by default.</p>
<p>In a well-designed interface, exceeding these resource limitations should not
happen; if it does, the call which exceeded them may either block until