Home
last modified time | relevance | path

Searched refs:injectionState (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/inputflinger/
DInputDispatcher.cpp671 InjectionState* injectionState = entry->injectionState; in releaseInboundEventLocked() local
672 if (injectionState && injectionState->injectionResult == INPUT_EVENT_INJECTION_PENDING) { in releaseInboundEventLocked()
1132 if (! checkInjectionPermission(mFocusedWindowHandle, entry->injectionState)) { in findFocusedWindowTargetsLocked()
1412 entry->injectionState)) { in findTouchedWindowTargetsLocked()
1506 if (checkInjectionPermission(NULL, entry->injectionState)) { in findTouchedWindowTargetsLocked()
1637 const InjectionState* injectionState) { in checkInjectionPermission() argument
1638 if (injectionState in checkInjectionPermission()
1640 || windowHandle->getInfo()->ownerUid != injectionState->injectorUid) in checkInjectionPermission()
1641 && !hasInjectionPermission(injectionState->injectorPid, injectionState->injectorUid)) { in checkInjectionPermission()
1645 injectionState->injectorPid, injectionState->injectorUid, in checkInjectionPermission()
[all …]
DInputDispatcher.h440 InjectionState* injectionState; member
444 inline bool isInjected() const { return injectionState != NULL; } in isInjected()
1053 const InjectionState* injectionState);