Home
last modified time | relevance | path

Searched refs:injectorUid (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/services/inputflinger/dispatcher/
DInjectionState.cpp23 InjectionState::InjectionState(int32_t injectorPid, int32_t injectorUid) in InjectionState() argument
26 injectorUid(injectorUid), in InjectionState()
DInjectionState.h46 int32_t injectorUid; member
51 InjectionState(int32_t injectorPid, int32_t injectorUid);
DInputDispatcher.cpp1732 windowHandle->getInfo()->ownerUid != injectionState->injectorUid) && in checkInjectionPermission()
1733 !hasInjectionPermission(injectionState->injectorPid, injectionState->injectorUid)) { in checkInjectionPermission()
1737 injectionState->injectorPid, injectionState->injectorUid, in checkInjectionPermission()
1741 injectionState->injectorPid, injectionState->injectorUid); in checkInjectionPermission()
2837 int32_t injectorUid, int32_t syncMode, in injectInputEvent() argument
2842 event->getType(), injectorPid, injectorUid, syncMode, timeoutMillis, policyFlags); in injectInputEvent()
2848 if (hasInjectionPermission(injectorPid, injectorUid)) { in injectInputEvent()
2958 InjectionState* injectionState = new InjectionState(injectorPid, injectorUid); in injectInputEvent()
3033 injectionResult, injectorPid, injectorUid); in injectInputEvent()
3039 bool InputDispatcher::hasInjectionPermission(int32_t injectorPid, int32_t injectorUid) { in hasInjectionPermission() argument
[all …]
DInputDispatcher.h95 int32_t injectorUid, int32_t syncMode, int32_t timeoutMillis,
202 bool hasInjectionPermission(int32_t injectorPid, int32_t injectorUid);
/frameworks/native/services/inputflinger/dispatcher/include/
DInputDispatcherInterface.h81 int32_t injectorUid, int32_t syncMode, int32_t timeoutMillis,
DInputDispatcherPolicyInterface.h111 int32_t injectorUid) = 0;
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp267 int32_t injectorPid, int32_t injectorUid);
1191 int32_t injectorPid, int32_t injectorUid) { in checkInjectEventsPermissionNonReentrant() argument
1195 gServiceClassInfo.checkInjectEventsPermission, injectorPid, injectorUid); in checkInjectEventsPermissionNonReentrant()
1475 jlong ptr, jobject inputEventObj, jint injectorPid, jint injectorUid, in nativeInjectInputEvent() argument
1488 & keyEvent, injectorPid, injectorUid, syncMode, timeoutMillis, in nativeInjectInputEvent()
1498 motionEvent, injectorPid, injectorUid, syncMode, timeoutMillis, in nativeInjectInputEvent()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java218 int injectorPid, int injectorUid, int syncMode, int timeoutMillis, in nativeInjectInputEvent() argument
1925 private boolean checkInjectEventsPermission(int injectorPid, int injectorUid) { in checkInjectEventsPermission() argument
1927 injectorPid, injectorUid) == PackageManager.PERMISSION_GRANTED; in checkInjectEventsPermission()