Lines Matching refs:InputDevice

39 InputDevice::InputDevice(InputReaderContext* context, int32_t id, int32_t generation,  in InputDevice()  function in android::InputDevice
52 InputDevice::~InputDevice() {} in ~InputDevice()
54 bool InputDevice::isEnabled() { in isEnabled()
65 void InputDevice::setEnabled(bool enabled, nsecs_t when) { in setEnabled()
91 void InputDevice::dump(std::string& dump, const std::string& eventHubDevStr) { in dump()
143 void InputDevice::addEventHubDevice(int32_t eventHubId, bool populateMappers) { in addEventHubDevice()
232 void InputDevice::removeEventHubDevice(int32_t eventHubId) { in removeEventHubDevice()
236 void InputDevice::configure(nsecs_t when, const InputReaderConfiguration* config, in configure()
367 void InputDevice::reset(nsecs_t when) { in reset()
375 void InputDevice::process(const RawEvent* rawEvents, size_t count) { in process()
411 void InputDevice::timeoutExpired(nsecs_t when) { in timeoutExpired()
415 void InputDevice::updateExternalStylusState(const StylusState& state) { in updateExternalStylusState()
419 InputDeviceInfo InputDevice::getDeviceInfo() { in getDeviceInfo()
432 int32_t InputDevice::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { in getKeyCodeState()
436 int32_t InputDevice::getScanCodeState(uint32_t sourceMask, int32_t scanCode) { in getScanCodeState()
440 int32_t InputDevice::getSwitchState(uint32_t sourceMask, int32_t switchCode) { in getSwitchState()
444 int32_t InputDevice::getState(uint32_t sourceMask, int32_t code, GetStateFunc getStateFunc) { in getState()
466 bool InputDevice::markSupportedKeyCodes(uint32_t sourceMask, size_t numCodes, in markSupportedKeyCodes()
477 void InputDevice::vibrate(const VibrationSequence& sequence, ssize_t repeat, int32_t token) { in vibrate()
483 void InputDevice::cancelVibrate(int32_t token) { in cancelVibrate()
487 bool InputDevice::isVibrating() { in isVibrating()
498 std::vector<int32_t> InputDevice::getVibratorIds() { in getVibratorIds()
508 bool InputDevice::enableSensor(InputDeviceSensorType sensorType, in enableSensor()
519 void InputDevice::disableSensor(InputDeviceSensorType sensorType) { in disableSensor()
523 void InputDevice::flushSensor(InputDeviceSensorType sensorType) { in flushSensor()
527 void InputDevice::cancelTouch(nsecs_t when, nsecs_t readTime) { in cancelTouch()
531 std::optional<int32_t> InputDevice::getBatteryCapacity() { in getBatteryCapacity()
535 std::optional<int32_t> InputDevice::getBatteryStatus() { in getBatteryStatus()
539 bool InputDevice::setLightColor(int32_t lightId, int32_t color) { in setLightColor()
543 bool InputDevice::setLightPlayerId(int32_t lightId, int32_t playerId) { in setLightPlayerId()
547 std::optional<int32_t> InputDevice::getLightColor(int32_t lightId) { in getLightColor()
551 std::optional<int32_t> InputDevice::getLightPlayerId(int32_t lightId) { in getLightPlayerId()
555 int32_t InputDevice::getMetaState() { in getMetaState()
561 void InputDevice::updateMetaState(int32_t keyCode) { in updateMetaState()
565 void InputDevice::bumpGeneration() { in bumpGeneration()
569 void InputDevice::notifyReset(nsecs_t when) { in notifyReset()
574 std::optional<int32_t> InputDevice::getAssociatedDisplayId() { in getAssociatedDisplayId()
586 size_t InputDevice::getMapperCount() { in getMapperCount()
596 void InputDevice::updateLedState(bool reset) { in updateLedState()
600 InputDeviceContext::InputDeviceContext(InputDevice& device, int32_t eventHubId) in InputDeviceContext()