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

Commit deb31d4b authored by Hridya Valsaraju's avatar Hridya Valsaraju Committed by android-build-merger
Browse files

Merge "Add a method to test EventFlag configuration and usage" am: ac7f1d21 am: adbae29e

am: 2ba1ec5a

Change-Id: Ib7ee8fcfcba12880f14cf29862df42c7d66fbb4a
parents 7092c9f2 2ba1ec5a
Loading
Loading
Loading
Loading
+12 −0
Original line number Original line Diff line number Diff line
@@ -17,6 +17,11 @@
package android.hardware.tests.msgq@1.0;
package android.hardware.tests.msgq@1.0;


interface ITestMsgQ {
interface ITestMsgQ {
    enum EventFlagBits : uint32_t {
        FMQ_NOT_EMPTY = 1 << 0,
        FMQ_NOT_FULL  = 1 << 1,
    };

    /*
    /*
     * This method requests the service to set up a synchronous read/write
     * This method requests the service to set up a synchronous read/write
     * wait-free FMQ with the client as reader.
     * wait-free FMQ with the client as reader.
@@ -79,4 +84,11 @@ interface ITestMsgQ {
     */
     */
    requestReadFmqUnsync(int32_t count) generates(bool ret);
    requestReadFmqUnsync(int32_t count) generates(bool ret);


    /*
     * This method requests the service to trigger a blocking read.
     *
     * @param count Number of messages to read.
     *
     */
    oneway requestBlockingRead(int32_t count);
};
};