/frameworks/native/services/inputflinger/dispatcher/ |
D | LatencyTracker.cpp | 88 void LatencyTracker::trackFinishedEvent(int32_t inputEventId, const sp<IBinder>& connectionToken, in trackFinishedEvent() argument 99 const auto connectionIt = timeline.connectionTimelines.find(connectionToken); in trackFinishedEvent() 102 timeline.connectionTimelines.emplace(connectionToken, in trackFinishedEvent() 119 int32_t inputEventId, const sp<IBinder>& connectionToken, in trackGraphicsLatency() argument 129 const auto connectionIt = timeline.connectionTimelines.find(connectionToken); in trackGraphicsLatency() 131 timeline.connectionTimelines.emplace(connectionToken, std::move(graphicsTimeline)); in trackGraphicsLatency()
|
D | LatencyTracker.h | 48 void trackFinishedEvent(int32_t inputEventId, const sp<IBinder>& connectionToken, 50 void trackGraphicsLatency(int32_t inputEventId, const sp<IBinder>& connectionToken,
|
D | Entry.h | 95 sp<IBinder> connectionToken; member 99 FocusEntry(int32_t id, nsecs_t eventTime, sp<IBinder> connectionToken, bool hasFocus, 116 sp<IBinder> connectionToken; member 120 DragEntry(int32_t id, nsecs_t eventTime, sp<IBinder> connectionToken, bool isExiting, float x, 283 sp<IBinder> connectionToken; member
|
D | Entry.cpp | 104 FocusEntry::FocusEntry(int32_t id, nsecs_t eventTime, sp<IBinder> connectionToken, bool hasFocus, in FocusEntry() argument 107 connectionToken(connectionToken), in FocusEntry() 136 DragEntry::DragEntry(int32_t id, nsecs_t eventTime, sp<IBinder> connectionToken, bool isExiting, in DragEntry() argument 139 connectionToken(connectionToken), in DragEntry()
|
D | InputEventTimeline.cpp | 74 for (const auto& [connectionToken, connectionTimeline] : connectionTimelines) { in operator ==() 75 auto it = rhs.connectionTimelines.find(connectionToken); in operator ==()
|
D | InputDispatcher.h | 135 status_t removeInputChannel(const sp<IBinder>& connectionToken) override; 220 std::string getConnectionNameLocked(const sp<IBinder>& connectionToken) const REQUIRES(mLock); 454 void sendWindowUnresponsiveCommandLocked(sp<IBinder> connectionToken, std::string reason) 463 void sendWindowResponsiveCommandLocked(sp<IBinder> connectionToken) REQUIRES(mLock); 552 int handleReceiveCallback(int events, sp<IBinder> connectionToken); 588 void removeMonitorChannelLocked(const sp<IBinder>& connectionToken) REQUIRES(mLock); 590 const sp<IBinder>& connectionToken, 592 status_t removeInputChannelLocked(const sp<IBinder>& connectionToken, bool notify)
|
D | InputDispatcher.cpp | 1291 std::shared_ptr<InputChannel> channel = getInputChannelLocked(entry->connectionToken); in dispatchFocusLocked() 1430 commandEntry->connectionToken = focusedWindowToken; in dispatchKeyLocked() 1630 std::shared_ptr<InputChannel> channel = getInputChannelLocked(entry->connectionToken); in dispatchDragLocked() 3345 int InputDispatcher::handleReceiveCallback(int events, sp<IBinder> connectionToken) { in handleReceiveCallback() argument 3347 sp<Connection> connection = getConnectionLocked(connectionToken); in handleReceiveCallback() 3350 connectionToken.get(), events); in handleReceiveCallback() 5269 status_t InputDispatcher::removeInputChannel(const sp<IBinder>& connectionToken) { in removeInputChannel() argument 5273 status_t status = removeInputChannelLocked(connectionToken, false /*notify*/); in removeInputChannel() 5285 status_t InputDispatcher::removeInputChannelLocked(const sp<IBinder>& connectionToken, in removeInputChannelLocked() argument 5287 sp<Connection> connection = getConnectionLocked(connectionToken); in removeInputChannelLocked() [all …]
|
D | LatencyAggregator.cpp | 143 for (const auto& [connectionToken, connectionTimeline] : timeline.connectionTimelines) { in processStatistics()
|
/frameworks/native/services/inputflinger/tests/ |
D | LatencyTracker_test.cpp | 151 const auto& [connectionToken, expectedCT] = *expected.connectionTimelines.begin(); in TEST_F() 154 mTracker->trackFinishedEvent(inputEventId, connectionToken, expectedCT.deliveryTime, in TEST_F() 156 mTracker->trackGraphicsLatency(inputEventId, connectionToken, expectedCT.graphicsTimeline); in TEST_F()
|
D | InputFlingerService_test.cpp | 150 binder::Status removeInputChannel(const sp<IBinder>& connectionToken) override; 228 binder::Status TestInputManager::removeInputChannel(const sp<IBinder>& connectionToken) { in removeInputChannel() argument 233 return c->getConnectionToken() == connectionToken; in removeInputChannel()
|
D | InputDispatcher_test.cpp | 146 sp<IBinder> connectionToken = getUnresponsiveWindowToken(timeout); in assertNotifyWindowUnresponsiveWasCalled() local 147 ASSERT_EQ(expectedConnectionToken, connectionToken); in assertNotifyWindowUnresponsiveWasCalled() 151 sp<IBinder> connectionToken = getResponsiveWindowToken(); in assertNotifyWindowResponsiveWasCalled() local 152 ASSERT_EQ(expectedConnectionToken, connectionToken); in assertNotifyWindowResponsiveWasCalled() 302 void notifyWindowUnresponsive(const sp<IBinder>& connectionToken, const std::string&) override { in notifyWindowUnresponsive() argument 304 mAnrWindowTokens.push(connectionToken); in notifyWindowUnresponsive() 314 void notifyWindowResponsive(const sp<IBinder>& connectionToken) override { in notifyWindowResponsive() argument 316 mResponsiveWindowTokens.push(connectionToken); in notifyWindowResponsive()
|
/frameworks/native/libs/input/android/os/ |
D | IInputFlinger.aidl | 34 void removeInputChannel(in IBinder connectionToken); in removeInputChannel() argument
|
/frameworks/native/services/inputflinger/ |
D | InputManager.cpp | 159 binder::Status InputManager::removeInputChannel(const sp<IBinder>& connectionToken) { in removeInputChannel() argument 160 mDispatcher->removeInputChannel(connectionToken); in removeInputChannel()
|
D | InputManager.h | 112 binder::Status removeInputChannel(const sp<IBinder>& connectionToken) override;
|
/frameworks/native/services/inputflinger/dispatcher/include/ |
D | InputDispatcherInterface.h | 193 virtual status_t removeInputChannel(const sp<IBinder>& connectionToken) = 0;
|
/frameworks/native/services/inputflinger/benchmarks/ |
D | InputDispatcher_benchmarks.cpp | 60 void notifyWindowUnresponsive(const sp<IBinder>& connectionToken, in notifyWindowUnresponsive() argument 65 void notifyWindowResponsive(const sp<IBinder>& connectionToken) override {} in notifyWindowResponsive() argument
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputManagerService.java | 297 private static native void nativeRemoveInputChannel(long ptr, IBinder connectionToken); in nativeRemoveInputChannel() argument 757 public void removeInputChannel(IBinder connectionToken) { in removeInputChannel() argument 758 if (connectionToken == null) { in removeInputChannel() 762 nativeRemoveInputChannel(mPtr, connectionToken); in removeInputChannel()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 275 status_t removeInputChannel(JNIEnv* env, const sp<IBinder>& connectionToken); 526 const sp<IBinder>& connectionToken) { in removeInputChannel() argument 528 return mInputManager->getDispatcher()->removeInputChannel(connectionToken); in removeInputChannel()
|