Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/dispatcher/
DLatencyTracker.cpp88 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()
DLatencyTracker.h48 void trackFinishedEvent(int32_t inputEventId, const sp<IBinder>& connectionToken,
50 void trackGraphicsLatency(int32_t inputEventId, const sp<IBinder>& connectionToken,
DEntry.h95 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
DEntry.cpp104 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()
DInputEventTimeline.cpp74 for (const auto& [connectionToken, connectionTimeline] : connectionTimelines) { in operator ==()
75 auto it = rhs.connectionTimelines.find(connectionToken); in operator ==()
DInputDispatcher.h135 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)
DInputDispatcher.cpp1291 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 …]
DLatencyAggregator.cpp143 for (const auto& [connectionToken, connectionTimeline] : timeline.connectionTimelines) { in processStatistics()
/frameworks/native/services/inputflinger/tests/
DLatencyTracker_test.cpp151 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()
DInputFlingerService_test.cpp150 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()
DInputDispatcher_test.cpp146 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/
DIInputFlinger.aidl34 void removeInputChannel(in IBinder connectionToken); in removeInputChannel() argument
/frameworks/native/services/inputflinger/
DInputManager.cpp159 binder::Status InputManager::removeInputChannel(const sp<IBinder>& connectionToken) { in removeInputChannel() argument
160 mDispatcher->removeInputChannel(connectionToken); in removeInputChannel()
DInputManager.h112 binder::Status removeInputChannel(const sp<IBinder>& connectionToken) override;
/frameworks/native/services/inputflinger/dispatcher/include/
DInputDispatcherInterface.h193 virtual status_t removeInputChannel(const sp<IBinder>& connectionToken) = 0;
/frameworks/native/services/inputflinger/benchmarks/
DInputDispatcher_benchmarks.cpp60 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/
DInputManagerService.java297 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/
Dcom_android_server_input_InputManagerService.cpp275 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()