Searched refs:TestBit (Results 1 – 4 of 4) sorted by relevance
/base/msdp/device_status/tools/vdev/include/ |
D | v_input_device.h | 42 inline bool TestBit(size_t bit, const uint8_t *array) in TestBit() function 137 return TestBit(ev, evBitmask_); in SupportEventType() 142 return (TestBit(EV_KEY, evBitmask_) && TestBit(key, keyBitmask_)); in SupportKey() 147 return (TestBit(EV_ABS, evBitmask_) && TestBit(abs, absBitmask_)); in SupportAbs() 152 return (TestBit(EV_REL, evBitmask_) && TestBit(rel, relBitmask_)); in SupportRel() 157 return (TestBit(EV_MSC, evBitmask_) && TestBit(msc, mscBitmask_)); in SupportMsc() 162 return (TestBit(EV_LED, evBitmask_) && TestBit(led, ledBitmask_)); in SupportLed() 167 return (TestBit(EV_REP, evBitmask_) && TestBit(rep, repBitmask_)); in SupportRep() 172 return TestBit(prop, propBitmask_); in SupportProperty()
|
/base/msdp/device_status/tools/vdev/src/ |
D | v_input_device.cpp | 236 if (TestBit(button, keyBitmask_)) { in HasMouseButton() 245 if (!TestBit(BTN_JOYSTICK - 1, keyBitmask_)) { in HasJoystickAxesOrButtons() 247 if (TestBit(button, keyBitmask_)) { in HasJoystickAxesOrButtons() 252 if (TestBit(button, keyBitmask_)) { in HasJoystickAxesOrButtons() 257 if (TestBit(button, keyBitmask_)) { in HasJoystickAxesOrButtons() 263 if (TestBit(axis, absBitmask_)) { in HasJoystickAxesOrButtons() 291 bool hasAbsCoords { TestBit(ABS_X, absBitmask_) && TestBit(ABS_Y, absBitmask_) }; in CheckPointers() 292 …bool hasMtCoords { TestBit(ABS_MT_POSITION_X, absBitmask_) && TestBit(ABS_MT_POSITION_Y, absBitmas… in CheckPointers() 293 bool isDirect { TestBit(INPUT_PROP_DIRECT, propBitmask_) }; in CheckPointers() 294 bool hasTouch { TestBit(BTN_TOUCH, keyBitmask_) }; in CheckPointers() [all …]
|
/base/msdp/device_status/services/device_manager/src/ |
D | device.cpp | 204 if (TestBit(button, keyBitmask_)) { in HasMouseButton() 213 if (!TestBit(BTN_JOYSTICK - 1, keyBitmask_)) { in HasJoystickAxesOrButtons() 215 if (TestBit(button, keyBitmask_)) { in HasJoystickAxesOrButtons() 220 if (TestBit(button, keyBitmask_)) { in HasJoystickAxesOrButtons() 225 if (TestBit(button, keyBitmask_)) { in HasJoystickAxesOrButtons() 231 if (TestBit(axis, absBitmask_)) { in HasJoystickAxesOrButtons() 259 bool hasAbsCoords { TestBit(ABS_X, absBitmask_) && TestBit(ABS_Y, absBitmask_) }; in CheckPointers() 260 …bool hasMtCoords { TestBit(ABS_MT_POSITION_X, absBitmask_) && TestBit(ABS_MT_POSITION_Y, absBitmas… in CheckPointers() 261 bool isDirect { TestBit(INPUT_PROP_DIRECT, propBitmask_) }; in CheckPointers() 262 bool hasTouch { TestBit(BTN_TOUCH, keyBitmask_) }; in CheckPointers() [all …]
|
/base/msdp/device_status/services/device_manager/include/ |
D | device.h | 45 inline bool TestBit(size_t bit, const uint8_t *array) in TestBit() function
|