Move .hal file for FMQ tests to harware/interfaces
This is required to convert to the new hidl-gen.
Change-Id: I87a5d3d006fe80ad16d4abb63d400b3c52a2bae9
diff --git a/tests/msgq/1.0/ITestMsgQ.hal b/tests/msgq/1.0/ITestMsgQ.hal
new file mode 100644
index 0000000..4ff60a8
--- /dev/null
+++ b/tests/msgq/1.0/ITestMsgQ.hal
@@ -0,0 +1,28 @@
+package android.hardware.tests.msgq@1.0;
+
+interface ITestMsgQ {
+
+ struct shm_t {
+ uint32_t fdIndex;
+ uint32_t offset;
+ uint32_t extent;
+ };
+ struct WireGrantorDescriptor {
+ uint32_t flags;
+ shm_t shm;
+ };
+
+ struct WireMQDescriptor {
+ vec<WireGrantorDescriptor> grantors;
+ handle mq_handle;
+ uint32_t quantum;
+ uint32_t nQuanta;
+ uint32_t flags;
+ };
+
+
+ configure() generates ( WireMQDescriptor mq_desc );
+ requestWrite (int32_t count) generates (int32_t ret);
+ requestRead(int32_t count) generates (int32_t ret);
+
+};