Home
last modified time | relevance | path

Searched refs:InputDispatcher (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp908 InputDispatcher::InputDispatcher(InputDispatcherPolicyInterface& policy) in InputDispatcher() function in android::inputdispatcher::InputDispatcher
909 : InputDispatcher(policy, createInputTracingBackendIfEnabled()) {} in InputDispatcher()
911 InputDispatcher::InputDispatcher(InputDispatcherPolicyInterface& policy, in InputDispatcher() function in android::inputdispatcher::InputDispatcher
945 InputDispatcher::~InputDispatcher() { in ~InputDispatcher()
959 status_t InputDispatcher::start() { in start()
968 status_t InputDispatcher::stop() { in stop()
977 void InputDispatcher::dispatchOnce() { in dispatchOnce()
1019 void InputDispatcher::processNoFocusedWindowAnrLocked() { in processNoFocusedWindowAnrLocked()
1045 nsecs_t InputDispatcher::processAnrsLocked() { in processAnrsLocked()
1080 std::chrono::nanoseconds InputDispatcher::getDispatchingTimeoutLocked( in getDispatchingTimeoutLocked()
[all …]
DInputDispatcherFactory.cpp24 return std::make_unique<android::inputdispatcher::InputDispatcher>(policy); in createInputDispatcher()
DInputDispatcher.h83 class InputDispatcher : public android::InputDispatcherInterface {
87 explicit InputDispatcher(InputDispatcherPolicyInterface& policy);
89 explicit InputDispatcher(InputDispatcherPolicyInterface&,
91 ~InputDispatcher() override;
355 explicit DispatcherWindowListener(InputDispatcher& dispatcher) : mDispatcher(dispatcher){}; in DispatcherWindowListener()
359 InputDispatcher& mDispatcher;
DAndroid.bp43 "InputDispatcher.cpp",
/frameworks/native/services/inputflinger/docs/
Dpointer_capture.md18 `InputDispatcher` is responsible for controlling the state of Pointer Capture. Since the feature re…
20 …o synchronize different requests to enable Pointer Capture between InputReader and InputDispatcher.
26 1. Requests to enable Pointer Capture are forwarded from `InputManagerService` to `InputDispatcher`.
27 2. If the window that makes the request has focus, `InputDispatcher` enables the Pointer Capture st…
28 3. When `InputReader` is successfully configured, it notifies `InputDispatcher` through the `InputL…
29 4. `InputDispatcher` then notifies the `InputWindow` that Pointer Capture has been enabled by sendi…
41 ## Pointer Capture in `InputDispatcher`
43 `InputDispatcher` tracks two pieces of state information regarding Pointer Capture:
Danr.md1 # ANR detection in InputDispatcher #
5 In InputDispatcher, ANRs are raised in 2 cases:
18 Every dispatch cycle, InputDispatcher will check all connections to see if any are unresponsive. To…
35 …patch cycle, InputDispatcher checks `AnrTracker` for the nearest timeout value. If the nearest tim…
49InputDispatcher. When an application is launched, WindowManager calls `setFocusedApplication` to t…
53 … event, however, it would require a focused window to be dispatched. InputDispatcher will keep thi…
69 …processes the ANR notification and responds with a positive timeout, InputDispatcher marks the con…
71 …ts to abort dispatch, it returns a timeout value of 0. In this case, InputDispatcher will synthesi…
/frameworks/native/services/inputflinger/benchmarks/
DInputDispatcher_benchmarks.cpp106 auto dispatcher = std::make_unique<InputDispatcher>(fakePolicy); in benchmarkNotifyMotion()
141 auto dispatcher = std::make_unique<InputDispatcher>(fakePolicy); in benchmarkInjectMotion()
175 auto dispatcher = std::make_unique<InputDispatcher>(fakePolicy); in benchmarkOnWindowInfosChanged()
/frameworks/native/services/inputflinger/tests/fuzzers/
DInputDispatcherFuzzer.cpp92 std::unique_ptr<InputDispatcher>& dispatcher, in generateFuzzedWindow()
106 FuzzedDataProvider& fdp, std::unique_ptr<InputDispatcher>& dispatcher) { in randomizeWindows()
147 auto dispatcher = std::make_unique<InputDispatcher>(fakePolicy); in LLVMFuzzerTestOneInput()
/frameworks/native/libs/input/
Dinput_flags.aconfig14 …iption: "Set to true to enable crashing whenever bad inbound events are going into InputDispatcher"
106 description: "Move user-activity poke rate-limiting from PowerManagerService to InputDispatcher."
/frameworks/native/services/inputflinger/tests/
DAndroid.bp25 // Source files shared with InputDispatcher's benchmarks and fuzzers
DFakeWindows.cpp246 const std::unique_ptr<inputdispatcher::InputDispatcher>& dispatcher, const std::string name, in FakeWindowHandle()
DFakeWindows.h121 const std::unique_ptr<inputdispatcher::InputDispatcher>& dispatcher,
DInputTracingTest.cpp100 std::unique_ptr<InputDispatcher> mDispatcher;
110 mDispatcher = std::make_unique<InputDispatcher>(*mFakePolicy, std::move(tracingBackend)); in SetUp()
DInputDispatcher_test.cpp178 std::unique_ptr<InputDispatcher> mDispatcher;
188 mDispatcher = std::make_unique<InputDispatcher>(*mFakePolicy, in SetUp()
441 FakeMonitorReceiver(InputDispatcher& dispatcher, const std::string name, in FakeMonitorReceiver()
501 InputDispatcher& dispatcher, int32_t action, int32_t repeatCount, in injectKey()
522 static void assertInjectedKeyTimesOut(InputDispatcher& dispatcher) { in assertInjectedKeyTimesOut()
533 InputDispatcher& dispatcher, in injectKeyDown()
542 InputDispatcher& dispatcher, in injectKeyDownNoRepeat()
550 InputDispatcher& dispatcher, in injectKeyUp()
556 InputDispatcher& dispatcher, const MotionEvent& event, in injectMotionEvent()
565 InputDispatcher& dispatcher, int32_t action, int32_t source, ui::LogicalDisplayId displayId, in injectMotionEvent()
[all …]
/frameworks/base/core/jni/
Dandroid_view_InputEventReceiver.md7 1. `InputDispatcher` sends an event to the app
/frameworks/proto_logging/stats/atoms/input/
Dinput_atoms.proto67 * The ending point is taken inside InputDispatcher, just after the input event