Lines Matching refs:Event

43     virtual bool read(V2_1::Event* events, size_t numToRead) = 0;
44 virtual bool write(const V2_1::Event* events, size_t numToWrite) = 0;
45 virtual bool write(const std::vector<V2_1::Event>& events) = 0;
46 virtual bool writeBlocking(const V2_1::Event* events, size_t count, uint32_t readNotification,
54 using EventMessageQueue = MessageQueue<V1_0::Event, kSynchronizedReadWrite>;
59 const ::android::hardware::MQDescriptorSync<V1_0::Event>* getDesc() { in getDesc()
71 virtual bool read(V2_1::Event* events, size_t numToRead) override { in read()
72 return mQueue->read(reinterpret_cast<V1_0::Event*>(events), numToRead); in read()
75 bool write(const V2_1::Event* events, size_t numToWrite) override { in write()
76 return mQueue->write(reinterpret_cast<const V1_0::Event*>(events), numToWrite); in write()
79 virtual bool write(const std::vector<V2_1::Event>& events) override { in write()
80 const std::vector<V1_0::Event>& oldEvents = convertToOldEvents(events); in write()
84 bool writeBlocking(const V2_1::Event* events, size_t count, uint32_t readNotification, in writeBlocking()
87 return mQueue->writeBlocking(reinterpret_cast<const V1_0::Event*>(events), count, in writeBlocking()
99 using EventMessageQueue = MessageQueue<V2_1::Event, kSynchronizedReadWrite>;
104 const ::android::hardware::MQDescriptorSync<V2_1::Event>* getDesc() { in getDesc()
114 virtual bool read(V2_1::Event* events, size_t numToRead) override { in read()
118 bool write(const V2_1::Event* events, size_t numToWrite) override { in write()
122 bool write(const std::vector<V2_1::Event>& events) override { in write()
126 bool writeBlocking(const V2_1::Event* events, size_t count, uint32_t readNotification, in writeBlocking()