aboutsummaryrefslogtreecommitdiff
path: root/en/devices/architecture/hidl/fmq.html
diff options
context:
space:
mode:
authorAndroid Partner Docs <noreply@android.com>2017-11-20 08:43:57 -0800
committerClay Murphy <claym@google.com>2017-11-20 14:20:27 -0800
commit3027576c42897037427a7e0ce4c100206f74490c (patch)
tree421c685d611294966b45653e70b3567f1d63437c /en/devices/architecture/hidl/fmq.html
parent9a4762534c1ef21cc1d166716eca1a3dc4c770e1 (diff)
downloadsource.android.com-3027576c42897037427a7e0ce4c100206f74490c.tar.gz
Docs: Changes to source.android.com
- 176365996 Devsite localized content from translation request 36fc3b... by Android Partner Docs <noreply@android.com> - 176365994 Devsite localized content from translation request 29ecb2... by Android Partner Docs <noreply@android.com> - 176318336 Devsite localized content from translation request d25ba3... by Android Partner Docs <noreply@android.com> - 176195455 Add note to CTS section "GPS/GNSS" about port availability. by Christina Nguyen <cqn@google.com> - 176110625 Devsite localized content from translation request aec37a... by Android Partner Docs <noreply@android.com> - 176110530 Devsite localized content from translation request ac14a0... by Android Partner Docs <noreply@android.com> - 176110525 Devsite localized content from translation request 7d4488... by Android Partner Docs <noreply@android.com> - 176001918 Update displayed error message to reflect "what is". (Tho... by Billy Lamberta <blamb@google.com> - 175980378 Update Motorola link by Android Partner Docs <noreply@android.com> - 175972776 Devsite localized content from translation request 21d570... by Android Partner Docs <noreply@android.com> - 175925123 Publish localized security bulletins by Danielle Roberts <daroberts@google.com> - 175921366 Update CTS/CTS-Verifier downloads for CTS-Dec-2017 Releases by Billy Lamberta <blamb@google.com> - 175915069 Put CTS supported platforms in a more distinct call-out. by Christina Nguyen <cqn@google.com> - 175908691 Update FMQ doc for indentations by Android Partner Docs <noreply@android.com> - 175905935 Devsite localized content from translation request 266989... by Android Partner Docs <noreply@android.com> - 175905631 Devsite localized content from translation request 255121... by Android Partner Docs <noreply@android.com> - 175905617 Devsite localized content from translation request 7e5691... by Android Partner Docs <noreply@android.com> - 175874683 Rename links from /source/... to /setup/... by Billy Lamberta <blamb@google.com> - 175774898 Devsite localized content from translation request 23a854... by Android Partner Docs <noreply@android.com> - 175754894 Update continuous localization for Setup tab by Danielle Roberts <daroberts@google.com> - 175754691 Top-level _translation.yaml: Ignore /setup/ directory (fo... by Billy Lamberta <blamb@google.com> - 175744774 Updating ril images and text flow by Heidi von Markham <hvm@google.com> - 175733952 Rename top-level 'Source' tab to 'Setup' tab. by Billy Lamberta <blamb@google.com> - 175720207 Moving layout summary to interfaces page by Heidi von Markham <hvm@google.com> - 175706780 Devsite localized content from translation request 0dea26... by Android Partner Docs <noreply@android.com> - 175703999 Changing GCM to FCM and links by Heidi von Markham <hvm@google.com> - 175698764 Point the "Year in Review" link to the latest available r... by Android Partner Docs <noreply@android.com> - 175599600 Fix missing and unnecessary tags. by Christina Nguyen <cqn@google.com> - 175589733 Remove unused tag by Christina Nguyen <cqn@google.com> PiperOrigin-RevId: 176365996 Change-Id: I3f5dcfd9b8c953b642b752c9c4e04313126eeee4
Diffstat (limited to 'en/devices/architecture/hidl/fmq.html')
-rw-r--r--en/devices/architecture/hidl/fmq.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/en/devices/architecture/hidl/fmq.html b/en/devices/architecture/hidl/fmq.html
index 13a79610..db4055b5 100644
--- a/en/devices/architecture/hidl/fmq.html
+++ b/en/devices/architecture/hidl/fmq.html
@@ -353,17 +353,17 @@ const MemRegion&amp; getSecondRegion(); // get a reference to the second MemRegi
<pre class="prettyprint">
MessageQueueSync::MemTransaction tx;
if (mQueue->beginRead(dataLen, &amp;tx)) {
-auto first = tx.getFirstRegion();
-auto second = tx.getSecondRegion();
+ auto first = tx.getFirstRegion();
+ auto second = tx.getSecondRegion();
-foo(first.getAddress(), first.getLength()); // method that performs the data write
-foo(second.getAddress(), second.getLength()); // method that performs the data write
+ foo(first.getAddress(), first.getLength()); // method that performs the data write
+ foo(second.getAddress(), second.getLength()); // method that performs the data write
-if(commitWrite(dataLen) == false) {
-//report error
-}
+ if(commitWrite(dataLen) == false) {
+ // report error
+ }
} else {
-//report error
+ // report error
}
</pre>