Lines Matching refs:injectionResult
672 if (injectionState && injectionState->injectionResult == INPUT_EVENT_INJECTION_PENDING) { in releaseInboundEventLocked()
834 int32_t injectionResult = findFocusedWindowTargetsLocked(currentTime, in dispatchKeyLocked() local
836 if (injectionResult == INPUT_EVENT_INJECTION_PENDING) { in dispatchKeyLocked()
840 setInjectionResultLocked(entry, injectionResult); in dispatchKeyLocked()
841 if (injectionResult != INPUT_EVENT_INJECTION_SUCCEEDED) { in dispatchKeyLocked()
886 int32_t injectionResult; in dispatchMotionLocked() local
889 injectionResult = findTouchedWindowTargetsLocked(currentTime, in dispatchMotionLocked()
893 injectionResult = findFocusedWindowTargetsLocked(currentTime, in dispatchMotionLocked()
896 if (injectionResult == INPUT_EVENT_INJECTION_PENDING) { in dispatchMotionLocked()
900 setInjectionResultLocked(entry, injectionResult); in dispatchMotionLocked()
901 if (injectionResult != INPUT_EVENT_INJECTION_SUCCEEDED) { in dispatchMotionLocked()
902 if (injectionResult != INPUT_EVENT_INJECTION_PERMISSION_DENIED) { in dispatchMotionLocked()
1111 int32_t injectionResult; in findFocusedWindowTargetsLocked() local
1118 injectionResult = handleTargetsNotReadyLocked(currentTime, entry, in findFocusedWindowTargetsLocked()
1127 injectionResult = INPUT_EVENT_INJECTION_FAILED; in findFocusedWindowTargetsLocked()
1133 injectionResult = INPUT_EVENT_INJECTION_PERMISSION_DENIED; in findFocusedWindowTargetsLocked()
1141 injectionResult = handleTargetsNotReadyLocked(currentTime, entry, in findFocusedWindowTargetsLocked()
1147 injectionResult = INPUT_EVENT_INJECTION_SUCCEEDED; in findFocusedWindowTargetsLocked()
1157 injectionResult, timeSpentWaitingForApplication); in findFocusedWindowTargetsLocked()
1161 injectionResult, timeSpentWaitingForApplication / 1000000.0); in findFocusedWindowTargetsLocked()
1163 return injectionResult; in findFocusedWindowTargetsLocked()
1182 int32_t injectionResult = INPUT_EVENT_INJECTION_PENDING; in findTouchedWindowTargetsLocked() local
1215 injectionResult = INPUT_EVENT_INJECTION_FAILED; in findTouchedWindowTargetsLocked()
1231 injectionResult = INPUT_EVENT_INJECTION_PERMISSION_DENIED; in findTouchedWindowTargetsLocked()
1293 injectionResult = INPUT_EVENT_INJECTION_FAILED; in findTouchedWindowTargetsLocked()
1332 injectionResult = INPUT_EVENT_INJECTION_FAILED; in findTouchedWindowTargetsLocked()
1413 injectionResult = INPUT_EVENT_INJECTION_PERMISSION_DENIED; in findTouchedWindowTargetsLocked()
1423 injectionResult = INPUT_EVENT_INJECTION_FAILED; in findTouchedWindowTargetsLocked()
1457 injectionResult = handleTargetsNotReadyLocked(currentTime, entry, in findTouchedWindowTargetsLocked()
1491 injectionResult = INPUT_EVENT_INJECTION_SUCCEEDED; in findTouchedWindowTargetsLocked()
1599 injectionResult, timeSpentWaitingForApplication); in findTouchedWindowTargetsLocked()
1603 injectionResult, injectionPermission, timeSpentWaitingForApplication / 1000000.0); in findTouchedWindowTargetsLocked()
1605 return injectionResult; in findTouchedWindowTargetsLocked()
2773 int32_t injectionResult; in injectInputEvent() local
2778 injectionResult = INPUT_EVENT_INJECTION_SUCCEEDED; in injectInputEvent()
2781 injectionResult = injectionState->injectionResult; in injectInputEvent()
2782 if (injectionResult != INPUT_EVENT_INJECTION_PENDING) { in injectInputEvent()
2792 injectionResult = INPUT_EVENT_INJECTION_TIMED_OUT; in injectInputEvent()
2799 if (injectionResult == INPUT_EVENT_INJECTION_SUCCEEDED in injectInputEvent()
2812 injectionResult = INPUT_EVENT_INJECTION_TIMED_OUT; in injectInputEvent()
2827 injectionResult, injectorPid, injectorUid); in injectInputEvent()
2830 return injectionResult; in injectInputEvent()
2838 void InputDispatcher::setInjectionResultLocked(EventEntry* entry, int32_t injectionResult) { in setInjectionResultLocked() argument
2844 injectionResult, injectionState->injectorPid, injectionState->injectorUid); in setInjectionResultLocked()
2850 switch (injectionResult) { in setInjectionResultLocked()
2866 injectionState->injectionResult = injectionResult; in setInjectionResultLocked()
3864 int32_t injectionResult, nsecs_t timeSpentWaitingForApplication) { in updateDispatchStatisticsLocked() argument
3916 injectionResult(INPUT_EVENT_INJECTION_PENDING), injectionIsAsync(false), in InjectionState()