From 211ce6dfa3402e59b25ea10bee70e5f4e8f2de57 Mon Sep 17 00:00:00 2001
From: Android Partner Docs
Date: Mon, 27 Aug 2018 10:53:01 -0700
Subject: Docs: Changes to source.android.com
- 210393380 Devsite localized content from translation request 956020. by Android Partner Docs
- 210170698 Adding new image + minor text change (to force update) by Heidi von Markham
- 210148653 Clarify per-process and per-transaction HIDL limits. by Android Partner Docs
- 210104185 Devsite localized content from translation request 967290. by Android Partner Docs
- 210104178 Devsite localized content from translation request 965872. by Android Partner Docs
- 209982772 Publish August localized bulletins by Danielle Roberts
- 209955311 Devsite localized content from translation request 965875. by Android Partner Docs
- 209955290 Devsite localized content from translation request 964300. by Android Partner Docs
- 209955273 Devsite localized content from translation request 965637. by Android Partner Docs
- 209953339 Add LMKD in Userspace post P release by Clay Murphy
- 209942277 Update Secure Element by Kenneth Lau
- 209941970 Simplify first sentence of restore entry by Clay Murphy
- 209832932 Devsite localized content from translation request 963844. by Android Partner Docs
- 209697578 Add better app widgets to P release notes by Clay Murphy
- 209683102 Add Restore to lower APIs in P release notes by Clay Murphy
- 209645764 Update Carrier Wi-Fi by Kenneth Lau
PiperOrigin-RevId: 210393380
Change-Id: Ic22fce750987853d802698809207ac8172e2ba74
---
en/devices/architecture/hidl/services.html | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
(limited to 'en/devices/architecture/hidl')
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 oneway
. For an example, see "Asynchronous callbacks" in
inout
parameters.
Per-transaction limits
-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 oneway
calls that are not handled quickly by the
-receiving process.
+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 oneway
calls that
+are not handled quickly by the receiving process. The maximum total space
+available for all concurrent transactions is 1MB by default.
In a well-designed interface, exceeding these resource limitations should not
happen; if it does, the call which exceeded them may either block until
--
cgit v1.2.3