Home | History | Annotate | Download | only in input

Lines Matching refs: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,
175 EventHub::Device::~Device() {
181 void EventHub::Device::close() {
189 // --- EventHub ---
191 const uint32_t EventHub::EPOLL_ID_INOTIFY;
192 const uint32_t EventHub::EPOLL_ID_WAKE;
193 const int EventHub::EPOLL_SIZE_HINT;
194 const int EventHub::EPOLL_MAX_EVENTS;
196 EventHub::EventHub(void) :
240 EventHub::~EventHub(void) {
257 InputDeviceIdentifier EventHub::getDeviceIdentifier(int32_t deviceId) const {
264 uint32_t EventHub::getDeviceClasses(int32_t deviceId) const {
271 void EventHub::getConfiguration(int32_t deviceId, PropertyMap* outConfiguration) const {
281 status_t EventHub::getAbsoluteAxisInfo(int32_t deviceId, int axis,
311 bool EventHub::hasRelativeAxis(int32_t deviceId, int axis) const {
323 bool EventHub::hasInputProperty(int32_t deviceId, int property) const {
335 int32_t EventHub::getScanCodeState(int32_t deviceId, int32_t scanCode) const {
351 int32_t EventHub::getKeyCodeState(int32_t deviceId, int32_t keyCode) const {
375 int32_t EventHub::getSwitchState(int32_t deviceId, int32_t sw) const {
391 status_t EventHub::getAbsoluteAxisValue(int32_t deviceId, int32_t axis, int32_t* outValue) const {
413 bool EventHub::markSupportedKeyCodes(int32_t deviceId, size_t numCodes,
441 status_t EventHub::mapKey(int32_t deviceId, int32_t scanCode, int32_t usageCode,
470 status_t EventHub::mapAxis(int32_t deviceId, int32_t scanCode, AxisInfo* outAxisInfo) const {
484 void EventHub::setExcludedDevices(const Vector<String8>& devices) {
490 bool EventHub::hasScanCode(int32_t deviceId, int32_t scanCode) const {
501 bool EventHub::hasLed(int32_t deviceId, int32_t led) const {
512 void EventHub::setLedState(int32_t deviceId, int32_t led, bool on) {
530 void EventHub::getVirtualKeyDefinitions(int32_t deviceId,
541 sp<KeyCharacterMap> EventHub::getKeyCharacterMap(int32_t deviceId) const {
550 bool EventHub::setKeyboardLayoutOverlay(int32_t deviceId,
565 void EventHub::vibrate(int32_t deviceId, nsecs_t duration) {
599 void EventHub::cancelVibrate(int32_t deviceId) {
621 EventHub::Device* EventHub::getDeviceLocked(int32_t deviceId) const {
629 EventHub::Device* EventHub::getDeviceByPathLocked(const char* devicePath) const {
639 size_t EventHub::getEvents(int timeoutMillis, RawEvent* buffer, size_t bufferSize) {
842 // when this happens, the EventHub holds onto its own user wake lock while the client
884 void EventHub::wake() {
897 void EventHub::scanDevicesLocked() {
933 status_t EventHub::openDeviceLocked(const char *devicePath) {
1215 void EventHub::createVirtualKeyboardLocked() {
1230 void EventHub::addDeviceLocked(Device* device) {
1236 void EventHub::loadConfigurationLocked(Device* device) {
1253 status_t EventHub::loadVirtualKeyMapLocked(Device* device) {
1264 status_t EventHub::loadKeyMapLocked(Device* device) {
1268 bool EventHub::isExternalDeviceLocked(Device* device) {
1278 bool EventHub::hasKeycodeLocked(Device* device, int keycode) const {
1296 status_t EventHub::closeDeviceByPathLocked(const char *devicePath) {
1306 void EventHub::closeAllDevicesLocked() {
1312 void EventHub::closeDeviceLocked(Device* device) {
1362 status_t EventHub::readNotifyLocked() {
1371 ALOGV("EventHub::readNotify nfd: %d\n", mINotifyFd);
1404 status_t EventHub::scanDirLocked(const char *dirname)
1428 void EventHub::requestReopenDevices() {
1435 void EventHub::dump(String8& dump) {
1475 void EventHub::monitor() {