• Home
  • Raw
  • Download

Lines Matching refs:injectionResult

708     if (injectionState && injectionState->injectionResult == INPUT_EVENT_INJECTION_PENDING) {  in releaseInboundEventLocked()
874 int32_t injectionResult = findFocusedWindowTargetsLocked(currentTime, in dispatchKeyLocked() local
876 if (injectionResult == INPUT_EVENT_INJECTION_PENDING) { in dispatchKeyLocked()
880 setInjectionResult(entry, injectionResult); in dispatchKeyLocked()
881 if (injectionResult != INPUT_EVENT_INJECTION_SUCCEEDED) { in dispatchKeyLocked()
928 int32_t injectionResult; in dispatchMotionLocked() local
931 injectionResult = findTouchedWindowTargetsLocked(currentTime, in dispatchMotionLocked()
935 injectionResult = findFocusedWindowTargetsLocked(currentTime, in dispatchMotionLocked()
938 if (injectionResult == INPUT_EVENT_INJECTION_PENDING) { in dispatchMotionLocked()
942 setInjectionResult(entry, injectionResult); in dispatchMotionLocked()
943 if (injectionResult != INPUT_EVENT_INJECTION_SUCCEEDED) { in dispatchMotionLocked()
944 if (injectionResult != INPUT_EVENT_INJECTION_PERMISSION_DENIED) { in dispatchMotionLocked()
1196 int32_t injectionResult; in findFocusedWindowTargetsLocked() local
1209 injectionResult = handleTargetsNotReadyLocked(currentTime, entry, in findFocusedWindowTargetsLocked()
1219 injectionResult = INPUT_EVENT_INJECTION_FAILED; in findFocusedWindowTargetsLocked()
1225 injectionResult = INPUT_EVENT_INJECTION_PERMISSION_DENIED; in findFocusedWindowTargetsLocked()
1233 injectionResult = handleTargetsNotReadyLocked(currentTime, entry, in findFocusedWindowTargetsLocked()
1239 injectionResult = INPUT_EVENT_INJECTION_SUCCEEDED; in findFocusedWindowTargetsLocked()
1248 updateDispatchStatistics(currentTime, entry, injectionResult, timeSpentWaitingForApplication); in findFocusedWindowTargetsLocked()
1252 injectionResult, timeSpentWaitingForApplication / 1000000.0); in findFocusedWindowTargetsLocked()
1254 return injectionResult; in findFocusedWindowTargetsLocked()
1274 int32_t injectionResult = INPUT_EVENT_INJECTION_PENDING; in findTouchedWindowTargetsLocked() local
1308 injectionResult = INPUT_EVENT_INJECTION_FAILED; in findTouchedWindowTargetsLocked()
1325 injectionResult = INPUT_EVENT_INJECTION_PERMISSION_DENIED; in findTouchedWindowTargetsLocked()
1367 injectionResult = INPUT_EVENT_INJECTION_FAILED; in findTouchedWindowTargetsLocked()
1409 injectionResult = INPUT_EVENT_INJECTION_FAILED; in findTouchedWindowTargetsLocked()
1491 injectionResult = INPUT_EVENT_INJECTION_PERMISSION_DENIED; in findTouchedWindowTargetsLocked()
1503 injectionResult = INPUT_EVENT_INJECTION_FAILED; in findTouchedWindowTargetsLocked()
1537 injectionResult = handleTargetsNotReadyLocked(currentTime, entry, in findTouchedWindowTargetsLocked()
1572 injectionResult = INPUT_EVENT_INJECTION_SUCCEEDED; in findTouchedWindowTargetsLocked()
1683 updateDispatchStatistics(currentTime, entry, injectionResult, timeSpentWaitingForApplication); in findTouchedWindowTargetsLocked()
1687 injectionResult, injectionPermission, timeSpentWaitingForApplication / 1000000.0); in findTouchedWindowTargetsLocked()
1689 return injectionResult; in findTouchedWindowTargetsLocked()
2982 int32_t injectionResult; in injectInputEvent() local
2987 injectionResult = INPUT_EVENT_INJECTION_SUCCEEDED; in injectInputEvent()
2990 injectionResult = injectionState->injectionResult; in injectInputEvent()
2991 if (injectionResult != INPUT_EVENT_INJECTION_PENDING) { in injectInputEvent()
3001 injectionResult = INPUT_EVENT_INJECTION_TIMED_OUT; in injectInputEvent()
3008 if (injectionResult == INPUT_EVENT_INJECTION_SUCCEEDED in injectInputEvent()
3021 injectionResult = INPUT_EVENT_INJECTION_TIMED_OUT; in injectInputEvent()
3036 injectionResult, injectorPid, injectorUid); in injectInputEvent()
3039 return injectionResult; in injectInputEvent()
3047 void InputDispatcher::setInjectionResult(EventEntry* entry, int32_t injectionResult) { in setInjectionResult() argument
3053 injectionResult, injectionState->injectorPid, injectionState->injectorUid); in setInjectionResult()
3059 switch (injectionResult) { in setInjectionResult()
3075 injectionState->injectionResult = injectionResult; in setInjectionResult()
4440 int32_t injectionResult, nsecs_t timeSpentWaitingForApplication) { in updateDispatchStatistics() argument
4491 injectionResult(INPUT_EVENT_INJECTION_PENDING), injectionIsAsync(false), in InjectionState()