Searched refs:testBit (Results 1 – 1 of 1) sorted by relevance
/hardware/libhardware/modules/input/evdev/ |
D | InputHub.cpp | 53 static constexpr bool testBit(int bit, const uint8_t arr[]) { in testBit() function 240 if (testBit(axis, mAbsBitmask)) { in queryAxisInfo() 261 return testBit(key, mKeyBitmask); in hasKey() 272 return testBit(axis, mRelBitmask); in hasRelativeAxis() 298 return testBit(sw, mSwBitmask); in hasSwitch() 305 return testBit(ff, mFfBitmask); in hasForceFeedback() 312 return testBit(property, mPropBitmask); in hasInputProperty() 319 if (testBit(key, mKeyBitmask)) { in getKeyState() 323 return testBit(key, keyState) ? AKEY_STATE_DOWN : AKEY_STATE_UP; in getKeyState() 332 if (testBit(sw, mSwBitmask)) { in getSwitchState() [all …]
|