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,
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 int32_t EventHub::getDeviceControllerNumber(int32_t deviceId) const {
279 void EventHub::getConfiguration(int32_t deviceId, PropertyMap* outConfiguration) const {
289 status_t EventHub::getAbsoluteAxisInfo(int32_t deviceId, int axis,
319 bool EventHub::hasRelativeAxis(int32_t deviceId, int axis) const {
331 bool EventHub::hasInputProperty(int32_t deviceId, int property) const {
343 int32_t EventHub::getScanCodeState(int32_t deviceId, int32_t scanCode) const {
359 int32_t EventHub::getKeyCodeState(int32_t deviceId, int32_t keyCode) const {
383 int32_t EventHub::getSwitchState(int32_t deviceId, int32_t sw) const {
399 status_t EventHub::getAbsoluteAxisValue(int32_t deviceId, int32_t axis, int32_t* outValue) const {
421 bool EventHub::markSupportedKeyCodes(int32_t deviceId, size_t numCodes,
449 status_t EventHub::mapKey(int32_t deviceId, int32_t scanCode, int32_t usageCode,
478 status_t EventHub::mapAxis(int32_t deviceId, int32_t scanCode, AxisInfo* outAxisInfo) const {
492 void EventHub::setExcludedDevices(const Vector<String8>& devices) {
498 bool EventHub::hasScanCode(int32_t deviceId, int32_t scanCode) const {
509 bool EventHub::hasLed(int32_t deviceId, int32_t led) const {
520 void EventHub::setLedState(int32_t deviceId, int32_t led, bool on) {
538 void EventHub::getVirtualKeyDefinitions(int32_t deviceId,
549 sp<KeyCharacterMap> EventHub::getKeyCharacterMap(int32_t deviceId) const {
558 bool EventHub::setKeyboardLayoutOverlay(int32_t deviceId,
573 void EventHub::vibrate(int32_t deviceId, nsecs_t duration) {
607 void EventHub::cancelVibrate(int32_t deviceId) {
629 EventHub::Device* EventHub::getDeviceLocked(int32_t deviceId) const {
637 EventHub::Device* EventHub::getDeviceByPathLocked(const char* devicePath) const {
647 size_t EventHub::getEvents(int timeoutMillis, RawEvent* buffer, size_t bufferSize) {
909 // when this happens, the EventHub holds onto its own user wake lock while the client
951 void EventHub::wake() {
964 void EventHub::scanDevicesLocked() {
1000 status_t EventHub::openDeviceLocked(const char *devicePath) {
1292 void EventHub::createVirtualKeyboardLocked() {
1307 void EventHub::addDeviceLocked(Device* device) {
1313 void EventHub::loadConfigurationLocked(Device* device) {
1330 status_t EventHub::loadVirtualKeyMapLocked(Device* device) {
1341 status_t EventHub::loadKeyMapLocked(Device* device) {
1345 bool EventHub::isExternalDeviceLocked(Device* device) {
1355 int32_t EventHub::getNextControllerNumberLocked(Device* device) {
1366 void EventHub::releaseControllerNumberLocked(Device* device) {
1376 bool EventHub::hasKeycodeLocked(Device* device, int keycode) const {
1394 status_t EventHub::closeDeviceByPathLocked(const char *devicePath) {
1404 void EventHub::closeAllDevicesLocked() {
1410 void EventHub::closeDeviceLocked(Device* device) {
1462 status_t EventHub::readNotifyLocked() {
1471 ALOGV("EventHub::readNotify nfd: %d\n", mINotifyFd);
1504 status_t EventHub::scanDirLocked(const char *dirname)
1528 void EventHub::requestReopenDevices() {
1535 void EventHub::dump(String8& dump) {
1576 void EventHub::monitor() {