Lines Matching refs:injectorUid
1773 || windowHandle->getInfo()->ownerUid != injectionState->injectorUid) in checkInjectionPermission()
1774 && !hasInjectionPermission(injectionState->injectorPid, injectionState->injectorUid)) { in checkInjectionPermission()
1778 injectionState->injectorPid, injectionState->injectorUid, in checkInjectionPermission()
1783 injectionState->injectorPid, injectionState->injectorUid); in checkInjectionPermission()
2873 int32_t injectorPid, int32_t injectorUid, int32_t syncMode, int32_t timeoutMillis, in injectInputEvent() argument
2878 event->getType(), injectorPid, injectorUid, syncMode, timeoutMillis, policyFlags); in injectInputEvent()
2884 if (hasInjectionPermission(injectorPid, injectorUid)) { in injectInputEvent()
2991 InjectionState* injectionState = new InjectionState(injectorPid, injectorUid); in injectInputEvent()
3066 injectionResult, injectorPid, injectorUid); in injectInputEvent()
3072 bool InputDispatcher::hasInjectionPermission(int32_t injectorPid, int32_t injectorUid) { in hasInjectionPermission() argument
3073 return injectorUid == 0 in hasInjectionPermission()
3074 || mPolicy->checkInjectEventsPermissionNonReentrant(injectorPid, injectorUid); in hasInjectionPermission()
3083 injectionResult, injectionState->injectorPid, injectionState->injectorUid); in setInjectionResult()
4518 InputDispatcher::InjectionState::InjectionState(int32_t injectorPid, int32_t injectorUid) : in InjectionState() argument
4520 injectorPid(injectorPid), injectorUid(injectorUid), in InjectionState()