Searched refs:TestBit (Results 1 - 4 of 4) sorted by relevance
/base/msdp/device_status/tools/vdev/include/ |
H A D | v_input_device.h | 42 inline bool TestBit(size_t bit, const uint8_t *array) in TestBit() function 149 return TestBit(ev, evBitmask_); in SupportEventType() 154 return (TestBit(EV_KEY, evBitmask_) && TestBit(key, keyBitmask_)); in SupportKey() 159 return (TestBit(EV_ABS, evBitmask_) && TestBit(abs, absBitmask_)); in SupportAbs() 164 return (TestBit(EV_REL, evBitmask_) && TestBit(rel, relBitmask_)); in SupportRel() 169 return (TestBit(EV_MSC, evBitmask_) && TestBit(ms in SupportMsc() [all...] |
/base/msdp/device_status/intention/services/device_manager/src/ |
H A D | device.cpp | 209 if (TestBit(type, whichBitMask)) { in HasAxesOrButton() 218 if (!TestBit(BTN_JOYSTICK - 1, keyBitmask_)) { in HasJoystickAxesOrButtons() 337 if (!TestBit(EV_KEY, evBitmask_)) { in CheckKeys() 344 if (TestBit(key, keyBitmask_)) { in CheckKeys() 450 if (TestBit(KEY_Q, keyBitmask_)) { in JudgeKeyboardType() 453 } else if (TestBit(KEY_HOME, keyBitmask_) && (GetBus() == BUS_BLUETOOTH)) { in JudgeKeyboardType() 456 } else if (TestBit(KEY_KP1, keyBitmask_)) { in JudgeKeyboardType() 459 } else if (TestBit(KEY_LEFTCTRL, keyBitmask_) && in JudgeKeyboardType() 460 TestBit(KEY_RIGHTCTRL, keyBitmask_) && in JudgeKeyboardType() 461 TestBit(KEY_F2 in JudgeKeyboardType() [all...] |
/base/msdp/device_status/intention/services/device_manager/include/ |
H A D | device.h | 50 inline bool TestBit(size_t bit, const uint8_t *array) in TestBit() function 292 return TestBit(abs, absBitmask_); in HasAbs() 297 return TestBit(rel, relBitmask_); in HasRel() 302 return TestBit(key, keyBitmask_); in HasKey() 307 return TestBit(property, propBitmask_); in HasProperty()
|
/base/msdp/device_status/tools/vdev/src/ |
H A D | v_input_device.cpp | 237 if (TestBit(type, whichBitMask)) { in HasAxesOrButton() 246 if (!TestBit(BTN_JOYSTICK - 1, keyBitmask_)) { in HasJoystickAxesOrButtons() 345 if (!TestBit(EV_KEY, evBitmask_)) { in CheckKeys() 351 if (TestBit(key, keyBitmask_)) { in CheckKeys()
|
Completed in 3 milliseconds