Lines Matching refs:EventHub
193 EventHub::Device::Device(int fd, int32_t id, const std::string& path, in Device()
217 EventHub::Device::~Device() { in ~Device()
222 void EventHub::Device::close() { in close()
229 status_t EventHub::Device::enable() { in enable()
239 status_t EventHub::Device::disable() { in disable()
245 bool EventHub::Device::hasValidFd() { in hasValidFd()
251 const int EventHub::EPOLL_MAX_EVENTS;
253 EventHub::EventHub(void) in EventHub() function in android::EventHub
316 EventHub::~EventHub(void) { in ~EventHub()
333 InputDeviceIdentifier EventHub::getDeviceIdentifier(int32_t deviceId) const { in getDeviceIdentifier()
340 uint32_t EventHub::getDeviceClasses(int32_t deviceId) const { in getDeviceClasses()
347 int32_t EventHub::getDeviceControllerNumber(int32_t deviceId) const { in getDeviceControllerNumber()
354 void EventHub::getConfiguration(int32_t deviceId, PropertyMap* outConfiguration) const { in getConfiguration()
364 status_t EventHub::getAbsoluteAxisInfo(int32_t deviceId, int axis, in getAbsoluteAxisInfo()
394 bool EventHub::hasRelativeAxis(int32_t deviceId, int axis) const { in hasRelativeAxis()
406 bool EventHub::hasInputProperty(int32_t deviceId, int property) const { in hasInputProperty()
418 int32_t EventHub::getScanCodeState(int32_t deviceId, int32_t scanCode) const { in getScanCodeState()
434 int32_t EventHub::getKeyCodeState(int32_t deviceId, int32_t keyCode) const { in getKeyCodeState()
458 int32_t EventHub::getSwitchState(int32_t deviceId, int32_t sw) const { in getSwitchState()
474 status_t EventHub::getAbsoluteAxisValue(int32_t deviceId, int32_t axis, int32_t* outValue) const { in getAbsoluteAxisValue()
496 bool EventHub::markSupportedKeyCodes(int32_t deviceId, size_t numCodes, const int32_t* keyCodes, in markSupportedKeyCodes()
524 status_t EventHub::mapKey(int32_t deviceId, int32_t scanCode, int32_t usageCode, int32_t metaState, in mapKey()
565 status_t EventHub::mapAxis(int32_t deviceId, int32_t scanCode, AxisInfo* outAxisInfo) const { in mapAxis()
579 void EventHub::setExcludedDevices(const std::vector<std::string>& devices) { in setExcludedDevices()
585 bool EventHub::hasScanCode(int32_t deviceId, int32_t scanCode) const { in hasScanCode()
596 bool EventHub::hasLed(int32_t deviceId, int32_t led) const { in hasLed()
608 void EventHub::setLedState(int32_t deviceId, int32_t led, bool on) { in setLedState()
614 void EventHub::setLedStateLocked(Device* device, int32_t led, bool on) { in setLedStateLocked()
631 void EventHub::getVirtualKeyDefinitions(int32_t deviceId, in getVirtualKeyDefinitions()
644 sp<KeyCharacterMap> EventHub::getKeyCharacterMap(int32_t deviceId) const { in getKeyCharacterMap()
653 bool EventHub::setKeyboardLayoutOverlay(int32_t deviceId, const sp<KeyCharacterMap>& map) { in setKeyboardLayoutOverlay()
694 void EventHub::assignDescriptorLocked(InputDeviceIdentifier& identifier) { in assignDescriptorLocked()
716 void EventHub::vibrate(int32_t deviceId, nsecs_t duration) { in vibrate()
750 void EventHub::cancelVibrate(int32_t deviceId) { in cancelVibrate()
772 EventHub::Device* EventHub::getDeviceByDescriptorLocked(const std::string& descriptor) const { in getDeviceByDescriptorLocked()
783 EventHub::Device* EventHub::getDeviceLocked(int32_t deviceId) const { in getDeviceLocked()
791 EventHub::Device* EventHub::getDeviceByPathLocked(const char* devicePath) const { in getDeviceByPathLocked()
808 EventHub::Device* EventHub::getDeviceByFdLocked(int fd) const { in getDeviceByFdLocked()
825 size_t EventHub::getEvents(int timeoutMillis, RawEvent* buffer, size_t bufferSize) { in getEvents()
1068 std::vector<TouchVideoFrame> EventHub::getVideoFrames(int32_t deviceId) { in getVideoFrames()
1078 void EventHub::wake() { in wake()
1091 void EventHub::scanDevicesLocked() { in scanDevicesLocked()
1129 status_t EventHub::registerFdForEpoll(int fd) { in registerFdForEpoll()
1141 status_t EventHub::unregisterFdFromEpoll(int fd) { in unregisterFdFromEpoll()
1149 status_t EventHub::registerDeviceForEpollLocked(Device* device) { in registerDeviceForEpollLocked()
1167 void EventHub::registerVideoDeviceForEpollLocked(const TouchVideoDevice& videoDevice) { in registerVideoDeviceForEpollLocked()
1174 status_t EventHub::unregisterDeviceFromEpollLocked(Device* device) { in unregisterDeviceFromEpollLocked()
1188 void EventHub::unregisterVideoDeviceFromEpollLocked(const TouchVideoDevice& videoDevice) { in unregisterVideoDeviceFromEpollLocked()
1198 status_t EventHub::openDeviceLocked(const char* devicePath) { in openDeviceLocked()
1483 void EventHub::configureFd(Device* device) { in configureFd()
1517 void EventHub::openVideoDeviceLocked(const std::string& devicePath) { in openVideoDeviceLocked()
1542 bool EventHub::isDeviceEnabled(int32_t deviceId) { in isDeviceEnabled()
1552 status_t EventHub::enableDevice(int32_t deviceId) { in enableDevice()
1574 status_t EventHub::disableDevice(int32_t deviceId) { in disableDevice()
1589 void EventHub::createVirtualKeyboardLocked() { in createVirtualKeyboardLocked()
1603 void EventHub::addDeviceLocked(Device* device) { in addDeviceLocked()
1609 void EventHub::loadConfigurationLocked(Device* device) { in loadConfigurationLocked()
1626 bool EventHub::loadVirtualKeyMapLocked(Device* device) { in loadVirtualKeyMapLocked()
1638 status_t EventHub::loadKeyMapLocked(Device* device) { in loadKeyMapLocked()
1642 bool EventHub::isExternalDeviceLocked(Device* device) { in isExternalDeviceLocked()
1652 bool EventHub::deviceHasMicLocked(Device* device) { in deviceHasMicLocked()
1662 int32_t EventHub::getNextControllerNumberLocked(Device* device) { in getNextControllerNumberLocked()
1673 void EventHub::releaseControllerNumberLocked(Device* device) { in releaseControllerNumberLocked()
1682 void EventHub::setLedForControllerLocked(Device* device) { in setLedForControllerLocked()
1688 bool EventHub::hasKeycodeLocked(Device* device, int keycode) const { in hasKeycodeLocked()
1706 status_t EventHub::mapLed(Device* device, int32_t led, int32_t* outScanCode) const { in mapLed()
1721 void EventHub::closeDeviceByPathLocked(const char* devicePath) { in closeDeviceByPathLocked()
1735 void EventHub::closeVideoDeviceByPathLocked(const std::string& devicePath) { in closeVideoDeviceByPathLocked()
1755 void EventHub::closeAllDevicesLocked() { in closeAllDevicesLocked()
1762 void EventHub::closeDeviceLocked(Device* device) { in closeDeviceLocked()
1813 status_t EventHub::readNotifyLocked() { in readNotifyLocked()
1860 status_t EventHub::scanDirLocked(const char* dirname) { in scanDirLocked()
1884 status_t EventHub::scanVideoDirLocked(const std::string& dirname) { in scanVideoDirLocked()
1904 void EventHub::requestReopenDevices() { in requestReopenDevices()
1911 void EventHub::dump(std::string& dump) { in dump()
1967 void EventHub::monitor() { in monitor()