Templatize MQDescriptor
Bug: 33948735
Test: FMQ unit tests and benchmarks
Merged-In: I5c3beff2c6a69e151e0cb11af299956638cc441b
Change-Id: I5c3beff2c6a69e151e0cb11af299956638cc441b
diff --git a/benchmarks/msgq/1.0/IBenchmarkMsgQ.hal b/benchmarks/msgq/1.0/IBenchmarkMsgQ.hal
index 3af0b71..c4b9d95 100644
--- a/benchmarks/msgq/1.0/IBenchmarkMsgQ.hal
+++ b/benchmarks/msgq/1.0/IBenchmarkMsgQ.hal
@@ -25,7 +25,7 @@
* by the service. Client can use it to set up the FMQ at its end.
*/
configureClientInboxSyncReadWrite()
- generates(bool ret, MQDescriptorSync mqDescIn);
+ generates(bool ret, fmq_sync<uint8_t> mqDescIn);
/*
* This method requests the service to set up Synchronous read/write
@@ -35,7 +35,7 @@
* by the service. Client can use it to set up the FMQ at its end.
*/
configureClientOutboxSyncReadWrite()
- generates(bool ret, MQDescriptorSync mqDescOut);
+ generates(bool ret, fmq_sync<uint8_t> mqDescOut);
/*
* This method request the service to write into the FMQ.
diff --git a/tests/msgq/1.0/ITestMsgQ.hal b/tests/msgq/1.0/ITestMsgQ.hal
index b23f48f..933e39b 100644
--- a/tests/msgq/1.0/ITestMsgQ.hal
+++ b/tests/msgq/1.0/ITestMsgQ.hal
@@ -31,7 +31,7 @@
* set up by the service. Client can use it to set up the FMQ at its end.
*/
configureFmqSyncReadWrite()
- generates(bool ret, MQDescriptorSync mqDesc);
+ generates(bool ret, fmq_sync<uint16_t> mqDesc);
/*
* This method requests the service to set up an unsynchronized write
@@ -42,7 +42,7 @@
* set up by the service. Client can use it to set up the FMQ at its end.
*/
configureFmqUnsyncWrite()
- generates(bool ret, MQDescriptorUnsync mqDesc);
+ generates(bool ret, fmq_unsync<uint16_t> mqDesc);
/*
* This method request the service to write into the synchronized read/write