Home
last modified time | relevance | path

Searched refs:mscEvent (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h275 inline bool hasMscEvent(int mscEvent) const { return mEventHub->hasMscEvent(mId, mscEvent); } in hasMscEvent() argument
DEventHub.h257 virtual bool hasMscEvent(int32_t deviceId, int mscEvent) const = 0;
454 bool hasMscEvent(int32_t deviceId, int mscEvent) const override final;
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp840 bool EventHub::hasMscEvent(int32_t deviceId, int mscEvent) const { in hasMscEvent()
844 return mscEvent >= 0 && mscEvent <= MSC_MAX && device != nullptr in hasMscEvent()
845 ? device->mscBitmask.test(mscEvent) in hasMscEvent()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp658 void setMscEvent(int32_t deviceId, int32_t mscEvent) { in setMscEvent() argument
661 buffer[mscEvent / 32] = 1 << mscEvent % 32; in setMscEvent()
774 bool hasMscEvent(int32_t deviceId, int mscEvent) const override final { in hasMscEvent()
777 return mscEvent >= 0 && mscEvent <= MSC_MAX ? device->mscBitmask.test(mscEvent) : false; in hasMscEvent()