Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/tests/
DFakeEventHub.cpp174 void FakeEventHub::setMscEvent(int32_t deviceId, int32_t mscEvent) { in setMscEvent() argument
176 buffer[mscEvent / 32] = 1 << mscEvent % 32; in setMscEvent()
292 bool FakeEventHub::hasMscEvent(int32_t deviceId, int mscEvent) const { in hasMscEvent()
295 return mscEvent >= 0 && mscEvent <= MSC_MAX ? device->mscBitmask.test(mscEvent) : false; in hasMscEvent()
DFakeEventHub.h140 void setMscEvent(int32_t deviceId, int32_t mscEvent);
175 bool hasMscEvent(int32_t deviceId, int mscEvent) const override final;
DInterfaceMocks.h98 MOCK_METHOD(bool, hasMscEvent, (int32_t deviceId, int mscEvent), (const));
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h329 inline bool hasMscEvent(int mscEvent) const { return mEventHub->hasMscEvent(mId, mscEvent); } in hasMscEvent() argument
DEventHub.h288 virtual bool hasMscEvent(int32_t deviceId, int mscEvent) const = 0;
521 bool hasMscEvent(int32_t deviceId, int mscEvent) const override final;
/frameworks/native/services/inputflinger/tests/fuzzers/
DMapperHelpers.h137 bool hasMscEvent(int32_t deviceId, int mscEvent) const override { return mFdp->ConsumeBool(); } in hasMscEvent() argument
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp1041 bool EventHub::hasMscEvent(int32_t deviceId, int mscEvent) const { in hasMscEvent()
1045 return mscEvent >= 0 && mscEvent <= MSC_MAX && device != nullptr in hasMscEvent()
1046 ? device->mscBitmask.test(mscEvent) in hasMscEvent()