Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f70884cf authored by Hridya Valsaraju's avatar Hridya Valsaraju
Browse files

Templatize MQDescriptor

Bug: 33948735
Test: FMQ unit tests and benchmarks

Merged-In: I5c3beff2c6a69e151e0cb11af299956638cc441b
Change-Id: I5c3beff2c6a69e151e0cb11af299956638cc441b
parent 73f99f6e
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -25,7 +25,7 @@ interface IBenchmarkMsgQ {
     * by the service. Client can use it to set up the FMQ at its end.
     * by the service. Client can use it to set up the FMQ at its end.
     */
     */
    configureClientInboxSyncReadWrite()
    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
     * This method requests the service to set up Synchronous read/write
@@ -35,7 +35,7 @@ interface IBenchmarkMsgQ {
     * by the service. Client can use it to set up the FMQ at its end.
     * by the service. Client can use it to set up the FMQ at its end.
     */
     */
    configureClientOutboxSyncReadWrite()
    configureClientOutboxSyncReadWrite()
        generates(bool ret, MQDescriptorSync mqDescOut);
        generates(bool ret, fmq_sync<uint8_t> mqDescOut);


    /*
    /*
     * This method request the service to write into the FMQ.
     * This method request the service to write into the FMQ.
+2 −2
Original line number Original line Diff line number Diff line
@@ -31,7 +31,7 @@ interface ITestMsgQ {
     * set up by the service. Client can use it to set up the FMQ at its end.
     * set up by the service. Client can use it to set up the FMQ at its end.
     */
     */
    configureFmqSyncReadWrite()
    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
     * This method requests the service to set up an unsynchronized write
@@ -42,7 +42,7 @@ interface ITestMsgQ {
     * set up by the service. Client can use it to set up the FMQ at its end.
     * set up by the service. Client can use it to set up the FMQ at its end.
     */
     */
    configureFmqUnsyncWrite()
    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
     * This method request the service to write into the synchronized read/write