Home | History | Annotate | Download | only in inputflinger

Lines Matching refs:injectionResult

633     if (injectionState && injectionState->injectionResult == INPUT_EVENT_INJECTION_PENDING) {
794 int32_t injectionResult = findFocusedWindowTargetsLocked(currentTime,
796 if (injectionResult == INPUT_EVENT_INJECTION_PENDING) {
800 setInjectionResultLocked(entry, injectionResult);
801 if (injectionResult != INPUT_EVENT_INJECTION_SUCCEEDED) {
846 int32_t injectionResult;
849 injectionResult = findTouchedWindowTargetsLocked(currentTime,
853 injectionResult = findFocusedWindowTargetsLocked(currentTime,
856 if (injectionResult == INPUT_EVENT_INJECTION_PENDING) {
860 setInjectionResultLocked(entry, injectionResult);
861 if (injectionResult != INPUT_EVENT_INJECTION_SUCCEEDED) {
862 if (injectionResult != INPUT_EVENT_INJECTION_PERMISSION_DENIED) {
1076 int32_t injectionResult;
1083 injectionResult = handleTargetsNotReadyLocked(currentTime, entry,
1092 injectionResult = INPUT_EVENT_INJECTION_FAILED;
1098 injectionResult = INPUT_EVENT_INJECTION_PERMISSION_DENIED;
1106 injectionResult = handleTargetsNotReadyLocked(currentTime, entry,
1112 injectionResult = INPUT_EVENT_INJECTION_SUCCEEDED;
1122 injectionResult, timeSpentWaitingForApplication);
1124 ALOGD("findFocusedWindow finished: injectionResult=%d, "
1126 injectionResult, timeSpentWaitingForApplication / 1000000.0);
1128 return injectionResult;
1149 int32_t injectionResult = INPUT_EVENT_INJECTION_PENDING;
1181 injectionResult = INPUT_EVENT_INJECTION_FAILED;
1257 injectionResult = INPUT_EVENT_INJECTION_FAILED;
1296 injectionResult = INPUT_EVENT_INJECTION_FAILED;
1377 injectionResult = INPUT_EVENT_INJECTION_PERMISSION_DENIED;
1387 injectionResult = INPUT_EVENT_INJECTION_FAILED;
1421 injectionResult = handleTargetsNotReadyLocked(currentTime, entry,
1455 injectionResult = INPUT_EVENT_INJECTION_SUCCEEDED;
1563 injectionResult, timeSpentWaitingForApplication);
1565 ALOGD("findTouchedWindow finished: injectionResult=%d, injectionPermission=%d, "
1567 injectionResult, injectionPermission, timeSpentWaitingForApplication / 1000000.0);
1569 return injectionResult;
2714 int32_t injectionResult;
2719 injectionResult = INPUT_EVENT_INJECTION_SUCCEEDED;
2722 injectionResult = injectionState->injectionResult;
2723 if (injectionResult != INPUT_EVENT_INJECTION_PENDING) {
2733 injectionResult = INPUT_EVENT_INJECTION_TIMED_OUT;
2740 if (injectionResult == INPUT_EVENT_INJECTION_SUCCEEDED
2753 injectionResult = INPUT_EVENT_INJECTION_TIMED_OUT;
2768 injectionResult, injectorPid, injectorUid);
2771 return injectionResult;
2779 void InputDispatcher::setInjectionResultLocked(EventEntry* entry, int32_t injectionResult) {
2785 injectionResult, injectionState->injectorPid, injectionState->injectorUid);
2791 switch (injectionResult) {
2807 injectionState->injectionResult = injectionResult;
3801 int32_t injectionResult, nsecs_t timeSpentWaitingForApplication) {
3853 injectionResult(INPUT_EVENT_INJECTION_PENDING), injectionIsAsync(false),