Home
last modified time | relevance | path

Searched refs:connectionToken (Results 1 – 19 of 19) sorted by relevance

/frameworks/native/services/inputflinger/dispatcher/
DLatencyTracker.cpp110 void LatencyTracker::trackFinishedEvent(int32_t inputEventId, const sp<IBinder>& connectionToken, in trackFinishedEvent() argument
122 const auto connectionIt = timeline.connectionTimelines.find(connectionToken); in trackFinishedEvent()
125 timeline.connectionTimelines.emplace(connectionToken, in trackFinishedEvent()
142 int32_t inputEventId, const sp<IBinder>& connectionToken, in trackGraphicsLatency() argument
153 const auto connectionIt = timeline.connectionTimelines.find(connectionToken); in trackGraphicsLatency()
155 timeline.connectionTimelines.emplace(connectionToken, std::move(graphicsTimeline)); in trackGraphicsLatency()
DLatencyTracker.h57 void trackFinishedEvent(int32_t inputEventId, const sp<IBinder>& connectionToken,
59 void trackGraphicsLatency(int32_t inputEventId, const sp<IBinder>& connectionToken,
DEntry.cpp92 FocusEntry::FocusEntry(int32_t id, nsecs_t eventTime, sp<IBinder> connectionToken, bool hasFocus, in FocusEntry() argument
95 connectionToken(connectionToken), in FocusEntry()
120 DragEntry::DragEntry(int32_t id, nsecs_t eventTime, sp<IBinder> connectionToken, bool isExiting, in DragEntry() argument
123 connectionToken(connectionToken), in DragEntry()
DInputEventTimeline.cpp83 for (const auto& [connectionToken, connectionTimeline] : connectionTimelines) { in operator ==()
84 auto it = rhs.connectionTimelines.find(connectionToken); in operator ==()
DEntry.h94 sp<IBinder> connectionToken; member
98 FocusEntry(int32_t id, nsecs_t eventTime, sp<IBinder> connectionToken, bool hasFocus,
111 sp<IBinder> connectionToken; member
115 DragEntry(int32_t id, nsecs_t eventTime, sp<IBinder> connectionToken, bool isExiting, float x,
DInputDispatcher.h138 status_t removeInputChannel(const sp<IBinder>& connectionToken) override;
269 std::string getConnectionNameLocked(const sp<IBinder>& connectionToken) const REQUIRES(mLock);
517 void sendWindowUnresponsiveCommandLocked(const sp<IBinder>& connectionToken,
520 void sendWindowResponsiveCommandLocked(const sp<IBinder>& connectionToken,
621 int handleReceiveCallback(int events, sp<IBinder> connectionToken);
662 void removeMonitorChannelLocked(const sp<IBinder>& connectionToken) REQUIRES(mLock);
663 status_t removeInputChannelLocked(const sp<IBinder>& connectionToken, bool notify)
DInputDispatcher.cpp1715 std::shared_ptr<Connection> connection = getConnectionLocked(entry->connectionToken); in dispatchFocusLocked()
2105 std::shared_ptr<Connection> connection = getConnectionLocked(entry->connectionToken); in dispatchDragLocked()
4033 int InputDispatcher::handleReceiveCallback(int events, sp<IBinder> connectionToken) { in handleReceiveCallback() argument
4035 std::shared_ptr<Connection> connection = getConnectionLocked(connectionToken); in handleReceiveCallback()
4038 connectionToken.get(), events); in handleReceiveCallback()
5663 [&](const sp<IBinder>& connectionToken) REQUIRES(mLock) { in recentWindowsAreOwnedByLocked()
5665 getWindowHandleLocked(connectionToken); in recentWindowsAreOwnedByLocked()
6169 status_t InputDispatcher::removeInputChannel(const sp<IBinder>& connectionToken) { in removeInputChannel() argument
6173 status_t status = removeInputChannelLocked(connectionToken, /*notify=*/false); in removeInputChannel()
6185 status_t InputDispatcher::removeInputChannelLocked(const sp<IBinder>& connectionToken, in removeInputChannelLocked() argument
[all …]
DLatencyAggregator.cpp144 for (const auto& [connectionToken, connectionTimeline] : timeline.connectionTimelines) { in processStatistics()
/frameworks/native/services/inputflinger/tests/fuzzers/
DLatencyTrackerFuzzer.cpp79 sp<IBinder> connectionToken = getConnectionToken(fdp, predefinedTokens); in LLVMFuzzerTestOneInput() local
83 tracker.trackFinishedEvent(inputEventId, connectionToken, deliveryTime, in LLVMFuzzerTestOneInput()
88 sp<IBinder> connectionToken = getConnectionToken(fdp, predefinedTokens); in LLVMFuzzerTestOneInput() local
93 tracker.trackGraphicsLatency(inputEventId, connectionToken, graphicsTimeline); in LLVMFuzzerTestOneInput()
/frameworks/native/libs/input/android/os/
DIInputFlinger.aidl26 void removeInputChannel(in IBinder connectionToken); in removeInputChannel() argument
/frameworks/native/services/inputflinger/tests/
DFakeInputDispatcherPolicy.cpp350 void FakeInputDispatcherPolicy::notifyWindowUnresponsive(const sp<IBinder>& connectionToken, in notifyWindowUnresponsive() argument
354 mAnrWindows.push({connectionToken, pid}); in notifyWindowUnresponsive()
358 void FakeInputDispatcherPolicy::notifyWindowResponsive(const sp<IBinder>& connectionToken, in notifyWindowResponsive() argument
361 mResponsiveWindows.push({connectionToken, pid}); in notifyWindowResponsive()
372 void FakeInputDispatcherPolicy::notifyInputChannelBroken(const sp<IBinder>& connectionToken) { in notifyInputChannelBroken() argument
374 mBrokenInputChannels.push(connectionToken); in notifyInputChannelBroken()
DFakeInputDispatcherPolicy.h177 void notifyWindowUnresponsive(const sp<IBinder>& connectionToken, std::optional<gui::Pid> pid,
179 void notifyWindowResponsive(const sp<IBinder>& connectionToken,
183 void notifyInputChannelBroken(const sp<IBinder>& connectionToken) override;
DLatencyTracker_test.cpp204 const auto& [connectionToken, expectedCT] = *expected.connectionTimelines.begin(); in TEST_F()
208 mTracker->trackFinishedEvent(inputEventId, connectionToken, expectedCT.deliveryTime, in TEST_F()
210 mTracker->trackGraphicsLatency(inputEventId, connectionToken, expectedCT.graphicsTimeline); in TEST_F()
/frameworks/native/services/inputflinger/
DInputManager.cpp279 binder::Status InputManager::removeInputChannel(const sp<IBinder>& connectionToken) { in removeInputChannel() argument
280 mDispatcher->removeInputChannel(connectionToken); in removeInputChannel()
DInputManager.h141 binder::Status removeInputChannel(const sp<IBinder>& connectionToken) override;
/frameworks/native/services/inputflinger/dispatcher/include/
DInputDispatcherInterface.h190 virtual status_t removeInputChannel(const sp<IBinder>& connectionToken) = 0;
/frameworks/base/services/core/java/com/android/server/input/
DNativeInputManagerService.java61 void removeInputChannel(IBinder connectionToken); in removeInputChannel() argument
325 public native void removeInputChannel(IBinder connectionToken); in removeInputChannel() argument
DInputManagerService.java804 public void removeInputChannel(IBinder connectionToken) { in removeInputChannel() argument
805 Objects.requireNonNull(connectionToken, "connectionToken must not be null"); in removeInputChannel()
806 mNative.removeInputChannel(connectionToken); in removeInputChannel()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp277 status_t removeInputChannel(const sp<IBinder>& connectionToken);
568 status_t NativeInputManager::removeInputChannel(const sp<IBinder>& connectionToken) { in removeInputChannel() argument
570 return mInputManager->getDispatcher().removeInputChannel(connectionToken); in removeInputChannel()