Lines Matching refs:injectorUid
1640 || windowHandle->getInfo()->ownerUid != injectionState->injectorUid) in checkInjectionPermission()
1641 && !hasInjectionPermission(injectionState->injectorPid, injectionState->injectorUid)) { in checkInjectionPermission()
1645 injectionState->injectorPid, injectionState->injectorUid, in checkInjectionPermission()
1650 injectionState->injectorPid, injectionState->injectorUid); in checkInjectionPermission()
2646 int32_t injectorPid, int32_t injectorUid, int32_t syncMode, int32_t timeoutMillis, in injectInputEvent() argument
2651 event->getType(), injectorPid, injectorUid, syncMode, timeoutMillis, policyFlags, in injectInputEvent()
2658 if (hasInjectionPermission(injectorPid, injectorUid)) { in injectInputEvent()
2752 InjectionState* injectionState = new InjectionState(injectorPid, injectorUid); in injectInputEvent()
2827 injectionResult, injectorPid, injectorUid); in injectInputEvent()
2833 bool InputDispatcher::hasInjectionPermission(int32_t injectorPid, int32_t injectorUid) { in hasInjectionPermission() argument
2834 return injectorUid == 0 in hasInjectionPermission()
2835 || mPolicy->checkInjectEventsPermissionNonReentrant(injectorPid, injectorUid); in hasInjectionPermission()
2844 injectionResult, injectionState->injectorPid, injectionState->injectorUid); in setInjectionResultLocked()
3913 InputDispatcher::InjectionState::InjectionState(int32_t injectorPid, int32_t injectorUid) : in InjectionState() argument
3915 injectorPid(injectorPid), injectorUid(injectorUid), in InjectionState()