Lines Matching refs:InputDevice
42 InputDevice::InputDevice(InputReaderContext* context, int32_t id, int32_t generation, in InputDevice() function in android::InputDevice
56 InputDevice::~InputDevice() {} in ~InputDevice()
58 bool InputDevice::isEnabled() { in isEnabled()
69 std::list<NotifyArgs> InputDevice::updateEnableState(nsecs_t when, in updateEnableState()
112 void InputDevice::dump(std::string& dump, const std::string& eventHubDevStr) { in dump()
172 void InputDevice::addEmptyEventHubDevice(int32_t eventHubId) { in addEmptyEventHubDevice()
182 [[nodiscard]] std::list<NotifyArgs> InputDevice::addEventHubDevice( in addEventHubDevice()
203 void InputDevice::removeEventHubDevice(int32_t eventHubId) { in removeEventHubDevice()
211 std::list<NotifyArgs> InputDevice::configure(nsecs_t when, in configure()
216 std::list<NotifyArgs> InputDevice::configureInternal(nsecs_t when, in configureInternal()
372 std::list<NotifyArgs> InputDevice::reset(nsecs_t when) { in reset()
382 std::list<NotifyArgs> InputDevice::process(const RawEvent* rawEvents, size_t count) { in process()
421 void InputDevice::postProcess(std::list<NotifyArgs>& args) const { in postProcess()
436 std::list<NotifyArgs> InputDevice::timeoutExpired(nsecs_t when) { in timeoutExpired()
442 std::list<NotifyArgs> InputDevice::updateExternalStylusState(const StylusState& state) { in updateExternalStylusState()
448 InputDeviceInfo InputDevice::getDeviceInfo() { in getDeviceInfo()
465 int32_t InputDevice::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState()
469 int32_t InputDevice::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
473 int32_t InputDevice::getSwitchState(uint32_t sourceMask, int32_t switchCode) { in getSwitchState()
477 int32_t InputDevice::getState(uint32_t sourceMask, int32_t code, GetStateFunc getStateFunc) { in getState()
499 std::vector<std::unique_ptr<InputMapper>> InputDevice::createMappers( in createMappers()
573 bool InputDevice::markSupportedKeyCodes(uint32_t sourceMask, const std::vector<int32_t>& keyCodes, in markSupportedKeyCodes()
584 int32_t InputDevice::getKeyCodeForKeyLocation(int32_t locationKeyCode) const { in getKeyCodeForKeyLocation()
601 std::list<NotifyArgs> InputDevice::vibrate(const VibrationSequence& sequence, ssize_t repeat, in vibrate()
608 std::list<NotifyArgs> InputDevice::cancelVibrate(int32_t token) { in cancelVibrate()
614 bool InputDevice::isVibrating() { in isVibrating()
625 std::vector<int32_t> InputDevice::getVibratorIds() { in getVibratorIds()
635 bool InputDevice::enableSensor(InputDeviceSensorType sensorType, in enableSensor()
646 void InputDevice::disableSensor(InputDeviceSensorType sensorType) { in disableSensor()
650 void InputDevice::flushSensor(InputDeviceSensorType sensorType) { in flushSensor()
654 std::list<NotifyArgs> InputDevice::cancelTouch(nsecs_t when, nsecs_t readTime) { in cancelTouch()
660 bool InputDevice::setLightColor(int32_t lightId, int32_t color) { in setLightColor()
664 bool InputDevice::setLightPlayerId(int32_t lightId, int32_t playerId) { in setLightPlayerId()
668 std::optional<int32_t> InputDevice::getLightColor(int32_t lightId) { in getLightColor()
672 std::optional<int32_t> InputDevice::getLightPlayerId(int32_t lightId) { in getLightPlayerId()
676 int32_t InputDevice::getMetaState() { in getMetaState()
682 void InputDevice::updateMetaState(int32_t keyCode) { in updateMetaState()
692 void InputDevice::addKeyRemapping(int32_t fromKeyCode, int32_t toKeyCode) { in addKeyRemapping()
698 void InputDevice::bumpGeneration() { in bumpGeneration()
702 NotifyDeviceResetArgs InputDevice::notifyReset(nsecs_t when) { in notifyReset()
706 std::optional<ui::LogicalDisplayId> InputDevice::getAssociatedDisplayId() { in getAssociatedDisplayId()
718 size_t InputDevice::getMapperCount() { in getMapperCount()
728 void InputDevice::updateLedState(bool reset) { in updateLedState()
732 std::optional<int32_t> InputDevice::getBatteryEventHubId() const { in getBatteryEventHubId()
736 void InputDevice::setKeyboardType(KeyboardType keyboardType) { in setKeyboardType()
743 InputDeviceContext::InputDeviceContext(InputDevice& device, int32_t eventHubId) in InputDeviceContext()