Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h270 inline bool hasMscEvent(int mscEvent) const { return mEventHub->hasMscEvent(mId, mscEvent); } in hasMscEvent() argument
DEventHub.h255 virtual bool hasMscEvent(int32_t deviceId, int mscEvent) const = 0;
450 bool hasMscEvent(int32_t deviceId, int mscEvent) const override final;
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp812 bool EventHub::hasMscEvent(int32_t deviceId, int mscEvent) const { in hasMscEvent()
816 return mscEvent >= 0 && mscEvent <= MSC_MAX && device != nullptr in hasMscEvent()
817 ? device->mscBitmask.test(mscEvent) in hasMscEvent()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp579 void setMscEvent(int32_t deviceId, int32_t mscEvent) { in setMscEvent() argument
582 buffer[mscEvent / 32] = 1 << mscEvent % 32; in setMscEvent()
695 bool hasMscEvent(int32_t deviceId, int mscEvent) const override final { in hasMscEvent()
698 return mscEvent >= 0 && mscEvent <= MSC_MAX ? device->mscBitmask.test(mscEvent) : false; in hasMscEvent()