From 9ba9244e5fcc3bf1f5361cf4e3d98fc4783e14db Mon Sep 17 00:00:00 2001 From: Hridya Valsaraju Date: Wed, 4 Jan 2017 16:19:36 -0800 Subject: [PATCH] Add a method to trigger multiple FMQ blocking reads. Test: FMQ unit tests Bug: 33815422 Change-Id: Idcd1fd79232a1b0caa5784e8dd4f3a929f52fded --- tests/msgq/1.0/ITestMsgQ.hal | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/msgq/1.0/ITestMsgQ.hal b/tests/msgq/1.0/ITestMsgQ.hal index 933e39bc26..e000f553bc 100644 --- a/tests/msgq/1.0/ITestMsgQ.hal +++ b/tests/msgq/1.0/ITestMsgQ.hal @@ -91,4 +91,14 @@ interface ITestMsgQ { * */ oneway requestBlockingRead(int32_t count); + + /* + * This method requests the service to repeatedly trigger blocking reads. + * + * @param count Number of messages to read in a single blocking read. + * @param numIter Number of blocking reads to trigger. + * + */ + oneway requestBlockingReadRepeat(int32_t count, int32_t numIter); + };