Home
last modified time | relevance | path

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

/frameworks/base/services/input/
DEventHub.cpp909 static bool containsNonZeroByte(const uint8_t* array, uint32_t startIndex, uint32_t endIndex) { in containsNonZeroByte() function
1041 bool haveKeyboardKeys = containsNonZeroByte(device->keyBitmask, 0, sizeof_bit_array(BTN_MISC)) in openDeviceLocked()
1042 || containsNonZeroByte(device->keyBitmask, sizeof_bit_array(KEY_OK), in openDeviceLocked()
1044 bool haveGamepadButtons = containsNonZeroByte(device->keyBitmask, sizeof_bit_array(BTN_MISC), in openDeviceLocked()
1046 || containsNonZeroByte(device->keyBitmask, sizeof_bit_array(BTN_JOYSTICK), in openDeviceLocked()