Home
last modified time | relevance | path

Searched refs:NotifyArgs (Results 1 – 25 of 60) sorted by relevance

123

/frameworks/native/services/inputflinger/reader/mapper/gestures/
DGestureConverter.h52 [[nodiscard]] std::list<NotifyArgs> reset(nsecs_t when);
60 [[nodiscard]] std::list<NotifyArgs> handleGesture(nsecs_t when, nsecs_t readTime,
65 [[nodiscard]] std::list<NotifyArgs> handleMove(nsecs_t when, nsecs_t readTime,
68 [[nodiscard]] std::list<NotifyArgs> handleButtonsChange(nsecs_t when, nsecs_t readTime,
70 [[nodiscard]] std::list<NotifyArgs> releaseAllButtons(nsecs_t when, nsecs_t readTime);
71 [[nodiscard]] std::list<NotifyArgs> handleScroll(nsecs_t when, nsecs_t readTime,
73 [[nodiscard]] std::list<NotifyArgs> handleFling(nsecs_t when, nsecs_t readTime,
76 [[nodiscard]] std::list<NotifyArgs> endScroll(nsecs_t when, nsecs_t readTime);
78 [[nodiscard]] std::list<NotifyArgs> handleMultiFingerSwipe(nsecs_t when, nsecs_t readTime,
81 [[nodiscard]] std::list<NotifyArgs> handleMultiFingerSwipeLift(nsecs_t when, nsecs_t readTime);
[all …]
DGestureConverter.cpp88 std::list<NotifyArgs> GestureConverter::reset(nsecs_t when) { in reset()
89 std::list<NotifyArgs> out; in reset()
138 std::list<NotifyArgs> GestureConverter::handleGesture(nsecs_t when, nsecs_t readTime, in handleGesture()
171 std::list<NotifyArgs> GestureConverter::handleMove(nsecs_t when, nsecs_t readTime, in handleMove()
204 std::list<NotifyArgs> out; in handleMove()
222 std::list<NotifyArgs> GestureConverter::handleButtonsChange(nsecs_t when, nsecs_t readTime, in handleButtonsChange()
224 std::list<NotifyArgs> out = {}; in handleButtonsChange()
253 std::list<NotifyArgs> pressEvents = {}; in handleButtonsChange()
298 std::list<NotifyArgs> GestureConverter::releaseAllButtons(nsecs_t when, nsecs_t readTime) { in releaseAllButtons()
299 std::list<NotifyArgs> out; in releaseAllButtons()
[all …]
/frameworks/native/services/inputflinger/reader/mapper/
DVibratorInputMapper.cpp39 std::list<NotifyArgs> VibratorInputMapper::process(const RawEvent& rawEvent) { in process()
44 std::list<NotifyArgs> VibratorInputMapper::vibrate(const VibrationSequence& sequence, in vibrate()
50 std::list<NotifyArgs> out; in vibrate()
65 std::list<NotifyArgs> VibratorInputMapper::cancelVibrate(int32_t token) { in cancelVibrate()
69 std::list<NotifyArgs> out; in cancelVibrate()
85 std::list<NotifyArgs> VibratorInputMapper::timeoutExpired(nsecs_t when) { in timeoutExpired()
86 std::list<NotifyArgs> out; in timeoutExpired()
97 std::list<NotifyArgs> VibratorInputMapper::nextStep() { in nextStep()
101 std::list<NotifyArgs> out; in nextStep()
DTouchInputMapper.h173 [[nodiscard]] std::list<NotifyArgs> reconfigure(nsecs_t when,
176 [[nodiscard]] std::list<NotifyArgs> reset(nsecs_t when) override;
177 [[nodiscard]] std::list<NotifyArgs> process(const RawEvent& rawEvent) override;
184 [[nodiscard]] std::list<NotifyArgs> cancelTouch(nsecs_t when, nsecs_t readTime) override;
185 [[nodiscard]] std::list<NotifyArgs> timeoutExpired(nsecs_t when) override;
186 [[nodiscard]] std::list<NotifyArgs> updateExternalStylusState(
741 [[nodiscard]] std::list<NotifyArgs> sync(nsecs_t when, nsecs_t readTime);
743 [[nodiscard]] std::list<NotifyArgs> consumeRawTouches(nsecs_t when, nsecs_t readTime,
745 [[nodiscard]] std::list<NotifyArgs> processRawTouches(bool timeout);
746 [[nodiscard]] std::list<NotifyArgs> cookAndDispatch(nsecs_t when, nsecs_t readTime);
[all …]
DInputMapper.h38 std::list<NotifyArgs> unused = mapper->reset(now); in createInputMapper()
77 [[nodiscard]] virtual std::list<NotifyArgs> reconfigure(nsecs_t when,
80 [[nodiscard]] virtual std::list<NotifyArgs> reset(nsecs_t when);
81 [[nodiscard]] virtual std::list<NotifyArgs> process(const RawEvent& rawEvent) = 0;
82 [[nodiscard]] virtual std::list<NotifyArgs> timeoutExpired(nsecs_t when);
91 [[nodiscard]] virtual std::list<NotifyArgs> vibrate(const VibrationSequence& sequence,
93 [[nodiscard]] virtual std::list<NotifyArgs> cancelVibrate(int32_t token);
96 [[nodiscard]] virtual std::list<NotifyArgs> cancelTouch(nsecs_t when, nsecs_t readTime);
118 [[nodiscard]] virtual std::list<NotifyArgs> updateExternalStylusState(const StylusState& state);
DInputMapper.cpp42 std::list<NotifyArgs> InputMapper::reconfigure(nsecs_t when, const InputReaderConfiguration& config, in reconfigure()
47 std::list<NotifyArgs> InputMapper::reset(nsecs_t when) { in reset()
51 std::list<NotifyArgs> InputMapper::timeoutExpired(nsecs_t when) { in timeoutExpired()
76 std::list<NotifyArgs> InputMapper::vibrate(const VibrationSequence& sequence, ssize_t repeat, in vibrate()
81 std::list<NotifyArgs> InputMapper::cancelVibrate(int32_t token) { in cancelVibrate()
93 std::list<NotifyArgs> InputMapper::cancelTouch(nsecs_t when, nsecs_t readTime) { in cancelTouch()
115 std::list<NotifyArgs> InputMapper::updateExternalStylusState(const StylusState& state) { in updateExternalStylusState()
DVibratorInputMapper.h33 [[nodiscard]] std::list<NotifyArgs> process(const RawEvent& rawEvent) override;
35 [[nodiscard]] std::list<NotifyArgs> vibrate(const VibrationSequence& sequence, ssize_t repeat,
37 [[nodiscard]] std::list<NotifyArgs> cancelVibrate(int32_t token) override;
40 [[nodiscard]] std::list<NotifyArgs> timeoutExpired(nsecs_t when) override;
53 [[nodiscard]] std::list<NotifyArgs> nextStep();
DTouchpadInputMapper.h55 [[nodiscard]] std::list<NotifyArgs> reconfigure(nsecs_t when,
58 [[nodiscard]] std::list<NotifyArgs> reset(nsecs_t when) override;
59 [[nodiscard]] std::list<NotifyArgs> process(const RawEvent& rawEvent) override;
60 [[nodiscard]] std::list<NotifyArgs> timeoutExpired(nsecs_t when) override;
76 [[nodiscard]] std::list<NotifyArgs> sendHardwareState(nsecs_t when, nsecs_t readTime,
78 [[nodiscard]] std::list<NotifyArgs> processGestures(nsecs_t when, nsecs_t readTime);
DRotaryEncoderInputMapper.cpp69 std::list<NotifyArgs> RotaryEncoderInputMapper::reconfigure(nsecs_t when, in reconfigure()
72 std::list<NotifyArgs> out = InputMapper::reconfigure(when, config, changes); in reconfigure()
98 std::list<NotifyArgs> RotaryEncoderInputMapper::reset(nsecs_t when) { in reset()
104 std::list<NotifyArgs> RotaryEncoderInputMapper::process(const RawEvent& rawEvent) { in process()
105 std::list<NotifyArgs> out; in process()
114 std::list<NotifyArgs> RotaryEncoderInputMapper::sync(nsecs_t when, nsecs_t readTime) { in sync()
115 std::list<NotifyArgs> out; in sync()
DExternalStylusInputMapper.h38 [[nodiscard]] std::list<NotifyArgs> reconfigure(nsecs_t when,
41 [[nodiscard]] std::list<NotifyArgs> reset(nsecs_t when) override;
42 [[nodiscard]] std::list<NotifyArgs> process(const RawEvent& rawEvent) override;
53 [[nodiscard]] std::list<NotifyArgs> sync(nsecs_t when);
DExternalStylusInputMapper.cpp50 std::list<NotifyArgs> ExternalStylusInputMapper::reconfigure(nsecs_t when, in reconfigure()
58 std::list<NotifyArgs> ExternalStylusInputMapper::reset(nsecs_t when) { in reset()
64 std::list<NotifyArgs> ExternalStylusInputMapper::process(const RawEvent& rawEvent) { in process()
65 std::list<NotifyArgs> out; in process()
75 std::list<NotifyArgs> ExternalStylusInputMapper::sync(nsecs_t when) { in sync()
DRotaryEncoderInputMapper.h38 [[nodiscard]] std::list<NotifyArgs> reconfigure(nsecs_t when,
41 [[nodiscard]] std::list<NotifyArgs> reset(nsecs_t when) override;
42 [[nodiscard]] std::list<NotifyArgs> process(const RawEvent& rawEvent) override;
54 [[nodiscard]] std::list<NotifyArgs> sync(nsecs_t when, nsecs_t readTime);
DSwitchInputMapper.cpp33 std::list<NotifyArgs> SwitchInputMapper::process(const RawEvent& rawEvent) { in process()
34 std::list<NotifyArgs> out; in process()
59 std::list<NotifyArgs> SwitchInputMapper::sync(nsecs_t when) { in sync()
60 std::list<NotifyArgs> out; in sync()
DKeyboardInputMapper.h35 [[nodiscard]] std::list<NotifyArgs> reconfigure(nsecs_t when,
38 [[nodiscard]] std::list<NotifyArgs> reset(nsecs_t when) override;
39 [[nodiscard]] std::list<NotifyArgs> process(const RawEvent& rawEvent) override;
94 [[nodiscard]] std::list<NotifyArgs> processKey(nsecs_t when, nsecs_t readTime, bool down,
107 [[nodiscard]] std::list<NotifyArgs> cancelAllDownKeys(nsecs_t when);
DMultiTouchInputMapper.h33 [[nodiscard]] std::list<NotifyArgs> reset(nsecs_t when) override;
34 [[nodiscard]] std::list<NotifyArgs> process(const RawEvent& rawEvent) override;
35 [[nodiscard]] std::list<NotifyArgs> reconfigure(nsecs_t when,
DCursorInputMapper.h61 [[nodiscard]] std::list<NotifyArgs> reconfigure(nsecs_t when,
64 [[nodiscard]] std::list<NotifyArgs> reset(nsecs_t when) override;
65 [[nodiscard]] std::list<NotifyArgs> process(const RawEvent& rawEvent) override;
136 [[nodiscard]] std::list<NotifyArgs> sync(nsecs_t when, nsecs_t readTime);
DJoystickInputMapper.h34 [[nodiscard]] std::list<NotifyArgs> reconfigure(nsecs_t when,
37 [[nodiscard]] std::list<NotifyArgs> reset(nsecs_t when) override;
38 [[nodiscard]] std::list<NotifyArgs> process(const RawEvent& rawEvent) override;
101 [[nodiscard]] std::list<NotifyArgs> sync(nsecs_t when, nsecs_t readTime, bool force);
/frameworks/native/services/inputflinger/tests/fuzzers/
DMultiTouchInputFuzzer.cpp93 std::list<NotifyArgs> unused = in LLVMFuzzerTestOneInput()
99 std::list<NotifyArgs> unused = mapper.reset(fdp->ConsumeIntegral<nsecs_t>()); in LLVMFuzzerTestOneInput()
103 std::list<NotifyArgs> unused = mapper.process(rawEvent); in LLVMFuzzerTestOneInput()
123 std::list<NotifyArgs> unused = in LLVMFuzzerTestOneInput()
128 std::list<NotifyArgs> unused = in LLVMFuzzerTestOneInput()
135 std::list<NotifyArgs> unused = mapper.updateExternalStylusState(state); in LLVMFuzzerTestOneInput()
DCursorInputFuzzer.cpp65 std::list<NotifyArgs> unused = in LLVMFuzzerTestOneInput()
72 std::list<NotifyArgs> unused = in LLVMFuzzerTestOneInput()
80 std::list<NotifyArgs> unused = in LLVMFuzzerTestOneInput()
87 std::list<NotifyArgs> unused = mapper.reset(fdp->ConsumeIntegral<nsecs_t>()); in LLVMFuzzerTestOneInput()
95 std::list<NotifyArgs> unused = in LLVMFuzzerTestOneInput()
/frameworks/native/services/inputflinger/tests/
DInputMapperTest.h61 std::list<NotifyArgs> process(int32_t type, int32_t code, int32_t value);
62 std::list<NotifyArgs> process(nsecs_t when, int32_t type, int32_t code, int32_t value);
101 std::list<NotifyArgs> configureDevice(ConfigurationChanges changes);
110 std::list<NotifyArgs> resetArgList = mDevice->reset(ARBITRARY_TIME); in addMapperAndConfigure()
113 for (const NotifyArgs& loopArgs : resetArgList) { in addMapperAndConfigure()
136 std::list<NotifyArgs> process(InputMapper& mapper, nsecs_t when, nsecs_t readTime, int32_t type,
140 std::list<NotifyArgs> handleTimeout(InputMapper& mapper, nsecs_t when);
DInputMapperTest.cpp53 std::list<NotifyArgs> args = in createDevice()
93 std::list<NotifyArgs> InputMapperUnitTest::process(int32_t type, int32_t code, int32_t value) { in process()
98 std::list<NotifyArgs> InputMapperUnitTest::process(nsecs_t when, int32_t type, int32_t code, in process()
138 std::list<NotifyArgs> InputMapperTest::configureDevice(ConfigurationChanges changes) { in configureDevice()
147 std::list<NotifyArgs> out = in configureDevice()
150 for (const NotifyArgs& args : out) { in configureDevice()
189 std::list<NotifyArgs> InputMapperTest::process(InputMapper& mapper, nsecs_t when, nsecs_t readTime, in process()
198 std::list<NotifyArgs> processArgList = mapper.process(event); in process()
199 for (const NotifyArgs& args : processArgList) { in process()
216 std::list<NotifyArgs> InputMapperTest::handleTimeout(InputMapper& mapper, nsecs_t when) { in handleTimeout()
[all …]
DMultiTouchInputMapper_test.cpp154 std::list<NotifyArgs> processPosition(int32_t x, int32_t y) { in processPosition()
155 std::list<NotifyArgs> args; in processPosition()
161 std::list<NotifyArgs> processId(int32_t id) { return process(EV_ABS, ABS_MT_TRACKING_ID, id); } in processId()
163 std::list<NotifyArgs> processKey(int32_t code, int32_t value) { in processKey()
167 std::list<NotifyArgs> processSlot(int32_t slot) { return process(EV_ABS, ABS_MT_SLOT, slot); } in processSlot()
169 std::list<NotifyArgs> processSync() { return process(EV_SYN, SYN_REPORT, 0); } in processSync()
176 std::list<NotifyArgs> args; in TEST_F()
/frameworks/native/services/inputflinger/include/
DInputListener.h28 std::list<NotifyArgs>& operator+=(std::list<NotifyArgs>& keep, std::list<NotifyArgs>&& consume);
50 void notify(const NotifyArgs& args);
76 std::vector<NotifyArgs> mArgsQueue;
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp69 std::list<NotifyArgs> InputDevice::updateEnableState(nsecs_t when, in updateEnableState()
92 std::list<NotifyArgs> out; in updateEnableState()
182 [[nodiscard]] std::list<NotifyArgs> InputDevice::addEventHubDevice( in addEventHubDevice()
193 std::list<NotifyArgs> out = configureInternal(when, readerConfig, {}, /*forceEnable=*/true); in addEventHubDevice()
211 std::list<NotifyArgs> InputDevice::configure(nsecs_t when, in configure()
216 std::list<NotifyArgs> InputDevice::configureInternal(nsecs_t when, in configureInternal()
220 std::list<NotifyArgs> out; in configureInternal()
372 std::list<NotifyArgs> InputDevice::reset(nsecs_t when) { in reset()
373 std::list<NotifyArgs> out; in reset()
382 std::list<NotifyArgs> InputDevice::process(const RawEvent* rawEvents, size_t count) { in process()
[all …]
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h88 [[nodiscard]] std::list<NotifyArgs> addEventHubDevice(
91 [[nodiscard]] std::list<NotifyArgs> configure(nsecs_t when,
94 [[nodiscard]] std::list<NotifyArgs> reset(nsecs_t when);
95 [[nodiscard]] std::list<NotifyArgs> process(const RawEvent* rawEvents, size_t count);
96 [[nodiscard]] std::list<NotifyArgs> timeoutExpired(nsecs_t when);
97 [[nodiscard]] std::list<NotifyArgs> updateExternalStylusState(const StylusState& state);
106 [[nodiscard]] std::list<NotifyArgs> vibrate(const VibrationSequence& sequence, ssize_t repeat,
108 [[nodiscard]] std::list<NotifyArgs> cancelVibrate(int32_t token);
111 [[nodiscard]] std::list<NotifyArgs> cancelTouch(nsecs_t when, nsecs_t readTime);
219 [[nodiscard]] std::list<NotifyArgs> configureInternal(
[all …]

123