Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DEventHub.cpp1034 static bool containsNonZeroByte(const uint8_t* array, uint32_t startIndex, uint32_t endIndex) { in containsNonZeroByte() function
1162 bool haveKeyboardKeys = containsNonZeroByte(device->keyBitmask, 0, sizeof_bit_array(BTN_MISC)) in openDeviceLocked()
1163 || containsNonZeroByte(device->keyBitmask, sizeof_bit_array(KEY_OK), in openDeviceLocked()
1165 bool haveGamepadButtons = containsNonZeroByte(device->keyBitmask, sizeof_bit_array(BTN_MISC), in openDeviceLocked()
1167 || containsNonZeroByte(device->keyBitmask, sizeof_bit_array(BTN_JOYSTICK), in openDeviceLocked()