From 586bed1c17aac928505d2086db276cd774dcb2a9 Mon Sep 17 00:00:00 2001 From: Hridya Valsaraju Date: Fri, 13 Jan 2017 20:58:17 -0800 Subject: [PATCH] Add a new method to trigger a blocking read. The new method will request the service to trigger a blocking read with the default Event Flag notification bitmask defined by the MessageQueue class. Test: FMQ unit tests Change-Id: I5a61e2b4527ba31cd5ea6521c553a87904af8056 --- tests/msgq/1.0/ITestMsgQ.hal | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/msgq/1.0/ITestMsgQ.hal b/tests/msgq/1.0/ITestMsgQ.hal index e000f553bc..3ed1b378fd 100644 --- a/tests/msgq/1.0/ITestMsgQ.hal +++ b/tests/msgq/1.0/ITestMsgQ.hal @@ -92,6 +92,15 @@ interface ITestMsgQ { */ oneway requestBlockingRead(int32_t count); + /* + * This method requests the service to trigger a blocking read using + * default Event Flag notification bits defined by the MessageQueue class. + * + * @param count Number of messages to read. + * + */ + oneway requestBlockingReadDefaultEventFlagBits(int32_t count); + /* * This method requests the service to repeatedly trigger blocking reads. *