Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/include/
DTouchVideoDevice.h42 bool hasValidFd() const { return mFd.get() != INVALID_FD; } in hasValidFd() function
DEventHub.h364 bool hasValidFd();
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp245 bool EventHub::Device::hasValidFd() { in hasValidFd() function in android::EventHub::Device
372 if (device && device->hasValidFd() && test_bit(axis, device->absBitmask)) { in getAbsoluteAxisInfo()
423 if (device && device->hasValidFd() && test_bit(scanCode, device->keyBitmask)) { in getScanCodeState()
438 if (device && device->hasValidFd() && device->keyMap.haveKeyLayout()) { in getKeyCodeState()
463 if (device && device->hasValidFd() && test_bit(sw, device->swBitmask)) { in getSwitchState()
481 if (device && device->hasValidFd() && test_bit(axis, device->absBitmask)) { in getAbsoluteAxisValue()
616 if (device && device->hasValidFd() && mapLed(device, led, &sc) != NAME_NOT_FOUND) { in setLedStateLocked()
719 if (device && device->hasValidFd()) { in vibrate()
753 if (device && device->hasValidFd()) { in cancelVibrate()
1175 if (device->hasValidFd()) { in unregisterDeviceFromEpollLocked()
[all …]
DTouchVideoDevice.cpp251 hasValidFd() ? "true" : "false"); in dump()