• Home
  • Raw
  • Download

Lines Matching refs:EventHub

193 EventHub::Device::Device(int fd, int32_t id, const std::string& path,  in Device()
209 EventHub::Device::~Device() { in ~Device()
214 void EventHub::Device::close() { in close()
221 status_t EventHub::Device::enable() { in enable()
231 status_t EventHub::Device::disable() { in disable()
237 bool EventHub::Device::hasValidFd() { in hasValidFd()
243 const int EventHub::EPOLL_MAX_EVENTS;
245 EventHub::EventHub(void) : in EventHub() function in android::EventHub
302 EventHub::~EventHub(void) { in ~EventHub()
319 InputDeviceIdentifier EventHub::getDeviceIdentifier(int32_t deviceId) const { in getDeviceIdentifier()
326 uint32_t EventHub::getDeviceClasses(int32_t deviceId) const { in getDeviceClasses()
333 int32_t EventHub::getDeviceControllerNumber(int32_t deviceId) const { in getDeviceControllerNumber()
340 void EventHub::getConfiguration(int32_t deviceId, PropertyMap* outConfiguration) const { in getConfiguration()
350 status_t EventHub::getAbsoluteAxisInfo(int32_t deviceId, int axis, in getAbsoluteAxisInfo()
380 bool EventHub::hasRelativeAxis(int32_t deviceId, int axis) const { in hasRelativeAxis()
392 bool EventHub::hasInputProperty(int32_t deviceId, int property) const { in hasInputProperty()
404 int32_t EventHub::getScanCodeState(int32_t deviceId, int32_t scanCode) const { in getScanCodeState()
420 int32_t EventHub::getKeyCodeState(int32_t deviceId, int32_t keyCode) const { in getKeyCodeState()
444 int32_t EventHub::getSwitchState(int32_t deviceId, int32_t sw) const { in getSwitchState()
460 status_t EventHub::getAbsoluteAxisValue(int32_t deviceId, int32_t axis, int32_t* outValue) const { in getAbsoluteAxisValue()
482 bool EventHub::markSupportedKeyCodes(int32_t deviceId, size_t numCodes, in markSupportedKeyCodes()
510 status_t EventHub::mapKey(int32_t deviceId, in mapKey()
552 status_t EventHub::mapAxis(int32_t deviceId, int32_t scanCode, AxisInfo* outAxisInfo) const { in mapAxis()
566 void EventHub::setExcludedDevices(const std::vector<std::string>& devices) { in setExcludedDevices()
572 bool EventHub::hasScanCode(int32_t deviceId, int32_t scanCode) const { in hasScanCode()
583 bool EventHub::hasLed(int32_t deviceId, int32_t led) const { in hasLed()
595 void EventHub::setLedState(int32_t deviceId, int32_t led, bool on) { in setLedState()
601 void EventHub::setLedStateLocked(Device* device, int32_t led, bool on) { in setLedStateLocked()
618 void EventHub::getVirtualKeyDefinitions(int32_t deviceId, in getVirtualKeyDefinitions()
631 sp<KeyCharacterMap> EventHub::getKeyCharacterMap(int32_t deviceId) const { in getKeyCharacterMap()
640 bool EventHub::setKeyboardLayoutOverlay(int32_t deviceId, in setKeyboardLayoutOverlay()
684 void EventHub::assignDescriptorLocked(InputDeviceIdentifier& identifier) { in assignDescriptorLocked()
706 void EventHub::vibrate(int32_t deviceId, nsecs_t duration) { in vibrate()
740 void EventHub::cancelVibrate(int32_t deviceId) { in cancelVibrate()
762 EventHub::Device* EventHub::getDeviceByDescriptorLocked(const std::string& descriptor) const { in getDeviceByDescriptorLocked()
773 EventHub::Device* EventHub::getDeviceLocked(int32_t deviceId) const { in getDeviceLocked()
781 EventHub::Device* EventHub::getDeviceByPathLocked(const char* devicePath) const { in getDeviceByPathLocked()
798 EventHub::Device* EventHub::getDeviceByFdLocked(int fd) const { in getDeviceByFdLocked()
815 size_t EventHub::getEvents(int timeoutMillis, RawEvent* buffer, size_t bufferSize) { in getEvents()
1059 std::vector<TouchVideoFrame> EventHub::getVideoFrames(int32_t deviceId) { in getVideoFrames()
1069 void EventHub::wake() { in wake()
1082 void EventHub::scanDevicesLocked() { in scanDevicesLocked()
1120 status_t EventHub::registerFdForEpoll(int fd) { in registerFdForEpoll()
1132 status_t EventHub::unregisterFdFromEpoll(int fd) { in unregisterFdFromEpoll()
1140 status_t EventHub::registerDeviceForEpollLocked(Device* device) { in registerDeviceForEpollLocked()
1158 void EventHub::registerVideoDeviceForEpollLocked(const TouchVideoDevice& videoDevice) { in registerVideoDeviceForEpollLocked()
1165 status_t EventHub::unregisterDeviceFromEpollLocked(Device* device) { in unregisterDeviceFromEpollLocked()
1179 void EventHub::unregisterVideoDeviceFromEpollLocked(const TouchVideoDevice& videoDevice) { in unregisterVideoDeviceFromEpollLocked()
1189 status_t EventHub::openDeviceLocked(const char* devicePath) { in openDeviceLocked()
1479 void EventHub::configureFd(Device* device) { in configureFd()
1514 void EventHub::openVideoDeviceLocked(const std::string& devicePath) { in openVideoDeviceLocked()
1539 bool EventHub::isDeviceEnabled(int32_t deviceId) { in isDeviceEnabled()
1549 status_t EventHub::enableDevice(int32_t deviceId) { in enableDevice()
1571 status_t EventHub::disableDevice(int32_t deviceId) { in disableDevice()
1586 void EventHub::createVirtualKeyboardLocked() { in createVirtualKeyboardLocked()
1602 void EventHub::addDeviceLocked(Device* device) { in addDeviceLocked()
1608 void EventHub::loadConfigurationLocked(Device* device) { in loadConfigurationLocked()
1625 bool EventHub::loadVirtualKeyMapLocked(Device* device) { in loadVirtualKeyMapLocked()
1637 status_t EventHub::loadKeyMapLocked(Device* device) { in loadKeyMapLocked()
1641 bool EventHub::isExternalDeviceLocked(Device* device) { in isExternalDeviceLocked()
1651 bool EventHub::deviceHasMicLocked(Device* device) { in deviceHasMicLocked()
1661 int32_t EventHub::getNextControllerNumberLocked(Device* device) { in getNextControllerNumberLocked()
1672 void EventHub::releaseControllerNumberLocked(Device* device) { in releaseControllerNumberLocked()
1681 void EventHub::setLedForControllerLocked(Device* device) { in setLedForControllerLocked()
1687 bool EventHub::hasKeycodeLocked(Device* device, int keycode) const { in hasKeycodeLocked()
1705 status_t EventHub::mapLed(Device* device, int32_t led, int32_t* outScanCode) const { in mapLed()
1720 void EventHub::closeDeviceByPathLocked(const char *devicePath) { in closeDeviceByPathLocked()
1734 void EventHub::closeVideoDeviceByPathLocked(const std::string& devicePath) { in closeVideoDeviceByPathLocked()
1751 void EventHub::closeAllDevicesLocked() { in closeAllDevicesLocked()
1758 void EventHub::closeDeviceLocked(Device* device) { in closeDeviceLocked()
1810 status_t EventHub::readNotifyLocked() { in readNotifyLocked()
1860 status_t EventHub::scanDirLocked(const char *dirname) in scanDirLocked()
1887 status_t EventHub::scanVideoDirLocked(const std::string& dirname) in scanVideoDirLocked()
1908 void EventHub::requestReopenDevices() { in requestReopenDevices()
1915 void EventHub::dump(std::string& dump) { in dump()
1971 void EventHub::monitor() { in monitor()