Lines Matching refs:injectorUid
1604 || windowHandle->getInfo()->ownerUid != injectionState->injectorUid)
1605 && !hasInjectionPermission(injectionState->injectorPid, injectionState->injectorUid)) {
1609 injectionState->injectorPid, injectionState->injectorUid,
1614 injectionState->injectorPid, injectionState->injectorUid);
2598 int32_t injectorPid, int32_t injectorUid, int32_t syncMode, int32_t timeoutMillis,
2601 ALOGD("injectInputEvent - eventType=%d, injectorPid=%d, injectorUid=%d, "
2603 event->getType(), injectorPid, injectorUid, syncMode, timeoutMillis, policyFlags);
2609 if (hasInjectionPermission(injectorPid, injectorUid)) {
2693 InjectionState* injectionState = new InjectionState(injectorPid, injectorUid);
2767 "injectorPid=%d, injectorUid=%d",
2768 injectionResult, injectorPid, injectorUid);
2774 bool InputDispatcher::hasInjectionPermission(int32_t injectorPid, int32_t injectorUid) {
2775 return injectorUid == 0
2776 || mPolicy->checkInjectEventsPermissionNonReentrant(injectorPid, injectorUid);
2784 "injectorPid=%d, injectorUid=%d",
2785 injectionResult, injectionState->injectorPid, injectionState->injectorUid);
3850 InputDispatcher::InjectionState::InjectionState(int32_t injectorPid, int32_t injectorUid) :
3852 injectorPid(injectorPid), injectorUid(injectorUid),