HomeSort by relevance Sort by last modified time
    Searched refs:swState (Results 1 - 2 of 2) sorted by null

  /hardware/libhardware/modules/input/evdev/
InputHub.cpp 347 uint8_t swState[sizeofBitArray(SW_CNT)];
348 memset(swState, 0, sizeof(swState));
349 if (TEMP_FAILURE_RETRY(ioctl(mFd, EVIOCGSW(sizeof(swState)), swState)) >= 0) {
350 return testBit(sw, swState) ? AKEY_STATE_DOWN : AKEY_STATE_UP;
  /frameworks/native/services/inputflinger/
EventHub.cpp 381 uint8_t swState[sizeof_bit_array(SW_MAX + 1)];
382 memset(swState, 0, sizeof(swState));
383 if (ioctl(device->fd, EVIOCGSW(sizeof(swState)), swState) >= 0) {
384 return test_bit(sw, swState) ? AKEY_STATE_DOWN : AKEY_STATE_UP;
    [all...]

Completed in 1626 milliseconds