Searched refs:mscEvent (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/services/inputflinger/tests/ |
D | FakeEventHub.cpp | 174 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()
|
D | FakeEventHub.h | 140 void setMscEvent(int32_t deviceId, int32_t mscEvent); 175 bool hasMscEvent(int32_t deviceId, int mscEvent) const override final;
|
D | InterfaceMocks.h | 98 MOCK_METHOD(bool, hasMscEvent, (int32_t deviceId, int mscEvent), (const));
|
/frameworks/native/services/inputflinger/reader/include/ |
D | InputDevice.h | 329 inline bool hasMscEvent(int mscEvent) const { return mEventHub->hasMscEvent(mId, mscEvent); } in hasMscEvent() argument
|
D | EventHub.h | 288 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/ |
D | MapperHelpers.h | 137 bool hasMscEvent(int32_t deviceId, int mscEvent) const override { return mFdp->ConsumeBool(); } in hasMscEvent() argument
|
/frameworks/native/services/inputflinger/reader/ |
D | EventHub.cpp | 1041 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()
|