Home
last modified time | relevance | path

Searched refs:injectorPid (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
25 injectorPid(injectorPid), in InjectionState()
DInjectionState.h45 int32_t injectorPid; member
51 InjectionState(int32_t injectorPid, int32_t injectorUid);
DInputDispatcher.h94 virtual int32_t injectInputEvent(const InputEvent* event, int32_t injectorPid,
202 bool hasInjectionPermission(int32_t injectorPid, int32_t injectorUid);
DInputDispatcher.cpp1733 !hasInjectionPermission(injectionState->injectorPid, injectionState->injectorUid)) { in checkInjectionPermission()
1737 injectionState->injectorPid, injectionState->injectorUid, in checkInjectionPermission()
1741 injectionState->injectorPid, injectionState->injectorUid); in checkInjectionPermission()
2836 int32_t InputDispatcher::injectInputEvent(const InputEvent* event, int32_t injectorPid, 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
3041 mPolicy->checkInjectEventsPermissionNonReentrant(injectorPid, injectorUid); in hasInjectionPermission()
[all …]
/frameworks/native/services/inputflinger/dispatcher/include/
DInputDispatcherInterface.h80 virtual int32_t injectInputEvent(const InputEvent* event, int32_t injectorPid,
DInputDispatcherPolicyInterface.h110 virtual bool checkInjectEventsPermissionNonReentrant(int32_t injectorPid,
/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()