Searched refs:hasValidFd (Results 1 – 4 of 4) sorted by relevance
42 bool hasValidFd() const { return mFd.get() != INVALID_FD; } in hasValidFd() function
237 bool EventHub::Device::hasValidFd() { in hasValidFd() function in android::EventHub::Device358 if (device && device->hasValidFd() && test_bit(axis, device->absBitmask)) { in getAbsoluteAxisInfo()409 if (device && device->hasValidFd() && test_bit(scanCode, device->keyBitmask)) { in getScanCodeState()424 if (device && device->hasValidFd() && device->keyMap.haveKeyLayout()) { in getKeyCodeState()449 if (device && device->hasValidFd() && test_bit(sw, device->swBitmask)) { in getSwitchState()467 if (device && device->hasValidFd() && test_bit(axis, device->absBitmask)) { in getAbsoluteAxisValue()603 if (device && device->hasValidFd() && mapLed(device, led, &sc) != NAME_NOT_FOUND) { in setLedStateLocked()709 if (device && device->hasValidFd()) { in vibrate()743 if (device && device->hasValidFd()) { in cancelVibrate()1166 if (device->hasValidFd()) { in unregisterDeviceFromEpollLocked()[all …]
247 hasValidFd() ? "true" : "false"); in dump()
368 bool hasValidFd();