Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DEventHub.cpp190 bool EventHub::Device::hasValidFd() { in hasValidFd() function in android::EventHub::Device
306 if (device && device->hasValidFd() && test_bit(axis, device->absBitmask)) { in getAbsoluteAxisInfo()
357 if (device && device->hasValidFd() && test_bit(scanCode, device->keyBitmask)) { in getScanCodeState()
372 if (device && device->hasValidFd() && device->keyMap.haveKeyLayout()) { in getKeyCodeState()
397 if (device && device->hasValidFd() && test_bit(sw, device->swBitmask)) { in getSwitchState()
415 if (device && device->hasValidFd() && test_bit(axis, device->absBitmask)) { in getAbsoluteAxisValue()
552 if (device && device->hasValidFd() && mapLed(device, led, &sc) != NAME_NOT_FOUND) { in setLedStateLocked()
656 if (device && device->hasValidFd()) { in vibrate()
690 if (device && device->hasValidFd()) { in cancelVibrate()
1101 if (device->hasValidFd()) { in unregisterDeviceFromEpollLocked()
DEventHub.h384 bool hasValidFd();