Lines Matching refs:mEventHub

300         return mEventHub->getDeviceClasses(mId);  in getDeviceClasses()
303 return mEventHub->getDeviceIdentifier(mId); in getDeviceIdentifier()
306 return mEventHub->getDeviceControllerNumber(mId); in getDeviceControllerNumber()
309 if (const auto status = mEventHub->getAbsoluteAxisInfo(mId, code, axisInfo); status != OK) { in getAbsoluteAxisInfo()
323 return mEventHub->hasRelativeAxis(mId, code); in hasRelativeAxis()
326 return mEventHub->hasInputProperty(mId, property); in hasInputProperty()
329 inline bool hasMscEvent(int mscEvent) const { return mEventHub->hasMscEvent(mId, mscEvent); } in hasMscEvent()
332 mEventHub->addKeyRemapping(mId, fromKeyCode, toKeyCode); in addKeyRemapping()
337 return mEventHub->mapKey(mId, scanCode, usageCode, metaState, outKeycode, outMetaState, in mapKey()
341 return mEventHub->mapAxis(mId, scanCode, outAxisInfo); in mapAxis()
344 return mEventHub->mapSensor(mId, absCode); in mapSensor()
347 inline const std::vector<int32_t> getRawLightIds() { return mEventHub->getRawLightIds(mId); } in getRawLightIds()
350 return mEventHub->getRawLightInfo(mId, lightId); in getRawLightInfo()
354 return mEventHub->getLightBrightness(mId, lightId); in getLightBrightness()
358 return mEventHub->setLightBrightness(mId, lightId, brightness); in setLightBrightness()
363 return mEventHub->getLightIntensities(mId, lightId); in getLightIntensities()
368 return mEventHub->setLightIntensities(mId, lightId, intensities); in setLightIntensities()
371 inline std::vector<TouchVideoFrame> getVideoFrames() { return mEventHub->getVideoFrames(mId); } in getVideoFrames()
373 return mEventHub->getScanCodeState(mId, scanCode); in getScanCodeState()
376 return mEventHub->getKeyCodeState(mId, keyCode); in getKeyCodeState()
379 return mEventHub->getKeyCodeForKeyLocation(mId, locationKeyCode); in getKeyCodeForKeyLocation()
381 inline int32_t getSwitchState(int32_t sw) const { return mEventHub->getSwitchState(mId, sw); } in getSwitchState()
383 return mEventHub->getAbsoluteAxisValue(mId, code, outValue); in getAbsoluteAxisValue()
387 return mEventHub->getMtSlotValues(mId, axis, slotCount); in getMtSlotValues()
391 return mEventHub->markSupportedKeyCodes(mId, keyCodes, outFlags); in markSupportedKeyCodes()
394 return mEventHub->hasScanCode(mId, scanCode); in hasScanCode()
396 inline bool hasKeyCode(int32_t keyCode) const { return mEventHub->hasKeyCode(mId, keyCode); } in hasKeyCode()
397 inline bool hasLed(int32_t led) const { return mEventHub->hasLed(mId, led); } in hasLed()
398 inline void setLedState(int32_t led, bool on) { return mEventHub->setLedState(mId, led, on); } in setLedState()
400 return mEventHub->getVirtualKeyDefinitions(mId, outVirtualKeys); in getVirtualKeyDefinitions()
403 return mEventHub->getKeyCharacterMap(mId); in getKeyCharacterMap()
406 return mEventHub->setKeyboardLayoutOverlay(mId, map); in setKeyboardLayoutOverlay()
409 return mEventHub->getRawLayoutInfo(mId); in getRawLayoutInfo()
412 return mEventHub->vibrate(mId, element); in vibrate()
414 inline void cancelVibrate() { return mEventHub->cancelVibrate(mId); } in cancelVibrate()
416 inline std::vector<int32_t> getVibratorIds() { return mEventHub->getVibratorIds(mId); } in getVibratorIds()
419 return mEventHub->getRawBatteryIds(mId); in getRawBatteryIds()
423 return mEventHub->getRawBatteryInfo(mId, batteryId); in getRawBatteryInfo()
427 return mEventHub->getBatteryCapacity(mId, batteryId); in getBatteryCapacity()
431 return mEventHub->getBatteryStatus(mId, batteryId); in getBatteryStatus()
436 mEventHub->getAbsoluteAxisInfo(mId, code, &info); in hasAbsoluteAxis()
440 return mEventHub->getScanCodeState(mId, scanCode) == AKEY_STATE_DOWN; in isKeyPressed()
443 return mEventHub->getKeyCodeState(mId, keyCode) == AKEY_STATE_DOWN; in isKeyCodePressed()
447 mEventHub->getAbsoluteAxisValue(mId, code, &value); in getAbsoluteAxisValue()
450 inline bool isDeviceEnabled() { return mEventHub->isDeviceEnabled(mId); } in isDeviceEnabled()
451 inline status_t enableDevice() { return mEventHub->enableDevice(mId); } in enableDevice()
452 inline status_t disableDevice() { return mEventHub->disableDevice(mId); } in disableDevice()
486 EventHubInterface* mEventHub; variable