Home
last modified time | relevance | path

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

/aosp12/frameworks/native/services/inputflinger/reader/mapper/
H A DSwitchInputMapper.cpp24 : InputMapper(deviceContext), mSwitchValues(0), mUpdatedSwitchMask(0) {} in SwitchInputMapper()
52 mUpdatedSwitchMask |= 1 << switchCode; in processSwitch()
57 if (mUpdatedSwitchMask) { in sync()
58 uint32_t updatedSwitchValues = mSwitchValues & mUpdatedSwitchMask; in sync()
60 updatedSwitchValues, mUpdatedSwitchMask); in sync()
63 mUpdatedSwitchMask = 0; in sync()
H A DSwitchInputMapper.h37 uint32_t mUpdatedSwitchMask; variable
/aosp12/hardware/libhardware/modules/input/evdev/
H A DSwitchInputMapper.cpp126 mUpdatedSwitchMask.markBit(switchCode); in processSwitch()
131 if (mUpdatedSwitchMask.isEmpty()) { in sync()
137 while (!mUpdatedSwitchMask.isEmpty()) { in sync()
138 auto bit = mUpdatedSwitchMask.firstMarkedBit(); in sync()
141 mUpdatedSwitchMask.clearBit(bit); in sync()
144 mUpdatedSwitchMask.clear(); in sync()
H A DSwitchInputMapper.h43 BitSet64 mUpdatedSwitchMask; variable