Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DInputDispatcher.h263 int32_t injectorPid, int32_t injectorUid) = 0;
298 int32_t injectorPid, int32_t injectorUid, int32_t syncMode, int32_t timeoutMillis,
382 int32_t injectorPid, int32_t injectorUid, int32_t syncMode, int32_t timeoutMillis,
411 int32_t injectorUid; member
416 InjectionState(int32_t injectorPid, int32_t injectorUid);
891 bool hasInjectionPermission(int32_t injectorPid, int32_t injectorUid);
DInputDispatcher.cpp1583 || windowHandle->getInfo()->ownerUid != injectionState->injectorUid) in checkInjectionPermission()
1584 && !hasInjectionPermission(injectionState->injectorPid, injectionState->injectorUid)) { in checkInjectionPermission()
1588 injectionState->injectorPid, injectionState->injectorUid, in checkInjectionPermission()
1593 injectionState->injectorPid, injectionState->injectorUid); in checkInjectionPermission()
2543 int32_t injectorPid, int32_t injectorUid, int32_t syncMode, int32_t timeoutMillis, in injectInputEvent() argument
2548 event->getType(), injectorPid, injectorUid, syncMode, timeoutMillis, policyFlags); in injectInputEvent()
2554 if (hasInjectionPermission(injectorPid, injectorUid)) { in injectInputEvent()
2637 InjectionState* injectionState = new InjectionState(injectorPid, injectorUid); in injectInputEvent()
2712 injectionResult, injectorPid, injectorUid); in injectInputEvent()
2718 bool InputDispatcher::hasInjectionPermission(int32_t injectorPid, int32_t injectorUid) { in hasInjectionPermission() argument
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp227 int32_t injectorPid, int32_t injectorUid);
985 int32_t injectorPid, int32_t injectorUid) { in checkInjectEventsPermissionNonReentrant() argument
988 gServiceClassInfo.checkInjectEventsPermission, injectorPid, injectorUid); in checkInjectEventsPermissionNonReentrant()
1175 jlong ptr, jobject inputEventObj, jint displayId, jint injectorPid, jint injectorUid, in nativeInjectInputEvent() argument
1188 & keyEvent, displayId, injectorPid, injectorUid, syncMode, timeoutMillis, in nativeInjectInputEvent()
1198 motionEvent, displayId, injectorPid, injectorUid, syncMode, timeoutMillis, in nativeInjectInputEvent()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp96 int32_t injectorPid, int32_t injectorUid) { in checkInjectEventsPermissionNonReentrant() argument
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java178 int injectorPid, int injectorUid, int syncMode, int timeoutMillis, in nativeInjectInputEvent() argument
1476 private boolean checkInjectEventsPermission(int injectorPid, int injectorUid) { in checkInjectEventsPermission() argument
1478 injectorPid, injectorUid) == PackageManager.PERMISSION_GRANTED; in checkInjectEventsPermission()