事件处理的核心,事件流为
InputReader -> UnwantedInteractionBlocker -> InputClassifier -> InputDispatcher 。
可以看这里
位置: frameworks/native/services/inputflinger/InputManager.h
何时创建:
在java端创建InputManagerService时创建。
start方法:
启动 mDispatcher 和 mReader。最终被SystemServer调用。
status_t InputManager::start() {
status_t result = mDispatcher->start();
result = mReader->start();
return OK;
}