Lines Matching refs:injectorUid
1605 || windowHandle->getInfo()->ownerUid != injectionState->injectorUid) in checkInjectionPermission()
1606 && !hasInjectionPermission(injectionState->injectorPid, injectionState->injectorUid)) { in checkInjectionPermission()
1610 injectionState->injectorPid, injectionState->injectorUid, in checkInjectionPermission()
1615 injectionState->injectorPid, injectionState->injectorUid); in checkInjectionPermission()
2599 int32_t injectorPid, int32_t injectorUid, int32_t syncMode, int32_t timeoutMillis, in injectInputEvent() argument
2604 event->getType(), injectorPid, injectorUid, syncMode, timeoutMillis, policyFlags); in injectInputEvent()
2610 if (hasInjectionPermission(injectorPid, injectorUid)) { in injectInputEvent()
2694 InjectionState* injectionState = new InjectionState(injectorPid, injectorUid); in injectInputEvent()
2769 injectionResult, injectorPid, injectorUid); in injectInputEvent()
2775 bool InputDispatcher::hasInjectionPermission(int32_t injectorPid, int32_t injectorUid) { in hasInjectionPermission() argument
2776 return injectorUid == 0 in hasInjectionPermission()
2777 || mPolicy->checkInjectEventsPermissionNonReentrant(injectorPid, injectorUid); in hasInjectionPermission()
2786 injectionResult, injectionState->injectorPid, injectionState->injectorUid); in setInjectionResultLocked()
3851 InputDispatcher::InjectionState::InjectionState(int32_t injectorPid, int32_t injectorUid) : in InjectionState() argument
3853 injectorPid(injectorPid), injectorUid(injectorUid), in InjectionState()