WireMQDescriptor => MQDescriptor
b/31091383 Adding WireMQDescriptor as a hidl type Change-Id: Iff23c833e8ab232ad37fd9bfbfe4d49fbc06b369
This commit is contained in:
parent
da96fb2a94
commit
4a99f3afae
2 changed files with 3 additions and 41 deletions
|
@ -17,27 +17,8 @@
|
|||
package android.hardware.benchmarks.msgq@1.0;
|
||||
|
||||
interface IBenchmarkMsgQ {
|
||||
|
||||
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;
|
||||
};
|
||||
|
||||
ConfigureClientInbox() generates ( WireMQDescriptor mq_desc_in );
|
||||
ConfigureClientOutbox() generates ( WireMQDescriptor mq_desc_out );
|
||||
ConfigureClientInbox() generates (int32_t ret, MQDescriptor mq_desc_in );
|
||||
ConfigureClientOutbox() generates ( int32_t ret, MQDescriptor mq_desc_out );
|
||||
RequestWrite (int32_t count) generates (int32_t ret);
|
||||
RequestRead(int32_t count) generates (int32_t ret);
|
||||
BenchmarkPingPong(uint32_t numIter);
|
||||
|
|
|
@ -18,26 +18,7 @@ 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 (int32_t ret, WireMQDescriptor mq_desc);
|
||||
configure() generates (int32_t ret, MQDescriptor mq_desc);
|
||||
requestWrite (int32_t count) generates (int32_t ret);
|
||||
requestRead(int32_t count) generates (int32_t ret);
|
||||
|
||||
|
|
Loading…
Reference in a new issue