/frameworks/native/services/inputflinger/dispatcher/ |
D | LatencyTracker.cpp | 110 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()
|
D | LatencyTracker.h | 57 void trackFinishedEvent(int32_t inputEventId, const sp<IBinder>& connectionToken, 59 void trackGraphicsLatency(int32_t inputEventId, const sp<IBinder>& connectionToken,
|
D | Entry.cpp | 92 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()
|
D | InputEventTimeline.cpp | 83 for (const auto& [connectionToken, connectionTimeline] : connectionTimelines) { in operator ==() 84 auto it = rhs.connectionTimelines.find(connectionToken); in operator ==()
|
D | Entry.h | 94 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,
|
D | InputDispatcher.h | 138 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)
|
D | InputDispatcher.cpp | 1715 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 …]
|
D | LatencyAggregator.cpp | 144 for (const auto& [connectionToken, connectionTimeline] : timeline.connectionTimelines) { in processStatistics()
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | LatencyTrackerFuzzer.cpp | 79 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/ |
D | IInputFlinger.aidl | 26 void removeInputChannel(in IBinder connectionToken); in removeInputChannel() argument
|
/frameworks/native/services/inputflinger/tests/ |
D | FakeInputDispatcherPolicy.cpp | 350 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()
|
D | FakeInputDispatcherPolicy.h | 177 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;
|
D | LatencyTracker_test.cpp | 204 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/ |
D | InputManager.cpp | 279 binder::Status InputManager::removeInputChannel(const sp<IBinder>& connectionToken) { in removeInputChannel() argument 280 mDispatcher->removeInputChannel(connectionToken); in removeInputChannel()
|
D | InputManager.h | 141 binder::Status removeInputChannel(const sp<IBinder>& connectionToken) override;
|
/frameworks/native/services/inputflinger/dispatcher/include/ |
D | InputDispatcherInterface.h | 190 virtual status_t removeInputChannel(const sp<IBinder>& connectionToken) = 0;
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | NativeInputManagerService.java | 61 void removeInputChannel(IBinder connectionToken); in removeInputChannel() argument 325 public native void removeInputChannel(IBinder connectionToken); in removeInputChannel() argument
|
D | InputManagerService.java | 804 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/ |
D | com_android_server_input_InputManagerService.cpp | 277 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()
|