mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 22:04:26 +00:00
WireMQDescriptor => MQDescriptor am: 4a99f3afae
am: 3109b325f6
Change-Id: I78244ba778bb13bfe354f1824d4e21ea5bf2a652
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user