Home | History | Annotate | Download | only in input

Lines Matching defs:EventHub

17 #define LOG_TAG "EventHub"
21 #include "EventHub.h"
158 // --- EventHub::Device ---
160 EventHub::Device::Device(int fd, int32_t id, const String8& path,
176 EventHub::Device::~Device() {
182 void EventHub::Device::close() {
190 // --- EventHub ---
192 const uint32_t EventHub::EPOLL_ID_INOTIFY;
193 const uint32_t EventHub::EPOLL_ID_WAKE;
194 const int EventHub::EPOLL_SIZE_HINT;
195 const int EventHub::EPOLL_MAX_EVENTS;
197 EventHub::EventHub(void) :
241 EventHub::~EventHub(void) {
258 InputDeviceIdentifier EventHub::getDeviceIdentifier(int32_t deviceId) const {
265 uint32_t EventHub::getDeviceClasses(int32_t deviceId) const {
272 void EventHub::getConfiguration(int32_t deviceId, PropertyMap* outConfiguration) const {
282 status_t EventHub::getAbsoluteAxisInfo(int32_t deviceId, int axis,
312 bool EventHub::hasRelativeAxis(int32_t deviceId, int axis) const {
324 bool EventHub::hasInputProperty(int32_t deviceId, int property) const {
336 int32_t EventHub::getScanCodeState(int32_t deviceId, int32_t scanCode) const {
352 int32_t EventHub::getKeyCodeState(int32_t deviceId, int32_t keyCode) const {
376 int32_t EventHub::getSwitchState(int32_t deviceId, int32_t sw) const {
392 status_t EventHub::getAbsoluteAxisValue(int32_t deviceId, int32_t axis, int32_t* outValue) const {
414 bool EventHub::markSupportedKeyCodes(int32_t deviceId, size_t numCodes,
442 status_t EventHub::mapKey(int32_t deviceId, int32_t scanCode, int32_t usageCode,
471 status_t EventHub::mapAxis(int32_t deviceId, int32_t scanCode, AxisInfo* outAxisInfo) const {
485 void EventHub::setExcludedDevices(const Vector<String8>& devices) {
491 bool EventHub::hasScanCode(int32_t deviceId, int32_t scanCode) const {
502 bool EventHub::hasLed(int32_t deviceId, int32_t led) const {
513 void EventHub::setLedState(int32_t deviceId, int32_t led, bool on) {
531 void EventHub::getVirtualKeyDefinitions(int32_t deviceId,
542 sp<KeyCharacterMap> EventHub::getKeyCharacterMap(int32_t deviceId) const {
551 bool EventHub::setKeyboardLayoutOverlay(int32_t deviceId,
566 void EventHub::vibrate(int32_t deviceId, nsecs_t duration) {
600 void EventHub::cancelVibrate(int32_t deviceId) {
622 EventHub::Device* EventHub::getDeviceLocked(int32_t deviceId) const {
630 EventHub::Device* EventHub::getDeviceByPathLocked(const char* devicePath) const {
640 size_t EventHub::getEvents(int timeoutMillis, RawEvent* buffer, size_t bufferSize) {
902 // when this happens, the EventHub holds onto its own user wake lock while the client
944 void EventHub::wake() {
957 void EventHub::scanDevicesLocked() {
993 status_t EventHub::openDeviceLocked(const char *devicePath) {
1281 void EventHub::createVirtualKeyboardLocked() {
1296 void EventHub::addDeviceLocked(Device* device) {
1302 void EventHub::loadConfigurationLocked(Device* device) {
1319 status_t EventHub::loadVirtualKeyMapLocked(Device* device) {
1330 status_t EventHub::loadKeyMapLocked(Device* device) {
1334 bool EventHub::isExternalDeviceLocked(Device* device) {
1344 bool EventHub::hasKeycodeLocked(Device* device, int keycode) const {
1362 status_t EventHub::closeDeviceByPathLocked(const char *devicePath) {
1372 void EventHub::closeAllDevicesLocked() {
1378 void EventHub::closeDeviceLocked(Device* device) {
1428 status_t EventHub::readNotifyLocked() {
1437 ALOGV("EventHub::readNotify nfd: %d\n", mINotifyFd);
1470 status_t EventHub::scanDirLocked(const char *dirname)
1494 void EventHub::requestReopenDevices() {
1501 void EventHub::dump(String8& dump) {
1541 void EventHub::monitor() {