Home | History | Annotate | Download | only in ui

Lines Matching defs:EventHub

14 #define LOG_TAG "EventHub"
18 #include <ui/EventHub.h>
95 EventHub::device_t::device_t(int32_t _id, const char* _path, const char* name)
100 EventHub::device_t::~device_t() {
105 EventHub::EventHub(void)
121 EventHub::~EventHub(void)
127 status_t EventHub::errorCheck() const
132 String8 EventHub::getDeviceName(int32_t deviceId) const
140 uint32_t EventHub::getDeviceClasses(int32_t deviceId) const
148 status_t EventHub::getAbsoluteAxisInfo(int32_t deviceId, int axis,
174 int32_t EventHub::getScanCodeState(int32_t deviceId, int32_t scanCode) const {
186 int32_t EventHub::getScanCodeStateLocked(device_t* device, int32_t scanCode) const {
196 int32_t EventHub::getKeyCodeState(int32_t deviceId, int32_t keyCode) const {
206 int32_t EventHub::getKeyCodeStateLocked(device_t* device, int32_t keyCode) const {
231 int32_t EventHub::getSwitchState(int32_t deviceId, int32_t sw) const {
245 int32_t EventHub::getSwitchStateLocked(device_t* device, int32_t sw) const {
255 bool EventHub::markSupportedKeyCodes(int32_t deviceId, size_t numCodes,
266 bool EventHub::markSupportedKeyCodesLocked(device_t* device, size_t numCodes,
291 status_t EventHub::scancodeToKeycode(int32_t deviceId, int scancode,
320 void EventHub::addExcludedDevice(const char* deviceName)
328 EventHub::device_t* EventHub::getDeviceLocked(int32_t deviceId) const
341 bool EventHub::getEvent(RawEvent* outEvent)
482 // when this happens, the EventHub holds onto its own user wake lock while the client
503 bool EventHub
524 * The code in EventHub::getEvent assumes that mFDs[0] is an inotify fd.
560 int EventHub::openDevice(const char *deviceName) {
858 bool EventHub::hasKeycodeLocked(device_t* device, int keycode) const
877 int EventHub::closeDevice(const char *deviceName) {
929 int EventHub::readNotify(int nfd) {
939 LOGV("EventHub::readNotify nfd: %d\n", nfd);
974 int EventHub::scanDir(const char *dirname)
998 void EventHub::dump(String8& dump) {