Searched refs:containsNonZeroByte (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/services/inputflinger/ |
D | EventHub.cpp | 1100 static bool containsNonZeroByte(const uint8_t* array, uint32_t startIndex, uint32_t endIndex) { in containsNonZeroByte() function 1290 bool haveKeyboardKeys = containsNonZeroByte(device->keyBitmask, 0, sizeof_bit_array(BTN_MISC)) in openDeviceLocked() 1291 || containsNonZeroByte(device->keyBitmask, sizeof_bit_array(KEY_OK), in openDeviceLocked() 1293 bool haveGamepadButtons = containsNonZeroByte(device->keyBitmask, sizeof_bit_array(BTN_MISC), in openDeviceLocked() 1295 || containsNonZeroByte(device->keyBitmask, sizeof_bit_array(BTN_JOYSTICK), in openDeviceLocked()
|