Searched refs:hasValidFd (Results 1 – 4 of 4) sorted by relevance
42 bool hasValidFd() const { return mFd.get() != INVALID_FD; } in hasValidFd() function
365 bool hasValidFd();
234 bool EventHub::Device::hasValidFd() { in hasValidFd() function in android::EventHub::Device394 if (device && device->hasValidFd() && test_bit(axis, device->absBitmask)) { in getAbsoluteAxisInfo()445 if (device && device->hasValidFd() && test_bit(scanCode, device->keyBitmask)) { in getScanCodeState()460 if (device && device->hasValidFd() && device->keyMap.haveKeyLayout()) { in getKeyCodeState()485 if (device && device->hasValidFd() && test_bit(sw, device->swBitmask)) { in getSwitchState()503 if (device && device->hasValidFd() && test_bit(axis, device->absBitmask)) { in getAbsoluteAxisValue()638 if (device && device->hasValidFd() && mapLed(device, led, &sc) != NAME_NOT_FOUND) { in setLedStateLocked()741 if (device && device->hasValidFd()) { in vibrate()775 if (device && device->hasValidFd()) { in cancelVibrate()1195 if (device->hasValidFd()) { in unregisterDeviceFromEpollLocked()[all …]
251 hasValidFd() ? "true" : "false"); in dump()