Searched refs:injectorPid (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/services/inputflinger/dispatcher/ |
D | InjectionState.cpp | 23 InjectionState::InjectionState(int32_t injectorPid, int32_t injectorUid) in InjectionState() argument 25 injectorPid(injectorPid), in InjectionState()
|
D | InjectionState.h | 45 int32_t injectorPid; member 51 InjectionState(int32_t injectorPid, int32_t injectorUid);
|
D | InputDispatcher.h | 94 virtual int32_t injectInputEvent(const InputEvent* event, int32_t injectorPid, 202 bool hasInjectionPermission(int32_t injectorPid, int32_t injectorUid);
|
D | InputDispatcher.cpp | 1733 !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/ |
D | InputDispatcherInterface.h | 80 virtual int32_t injectInputEvent(const InputEvent* event, int32_t injectorPid,
|
D | InputDispatcherPolicyInterface.h | 110 virtual bool checkInjectEventsPermissionNonReentrant(int32_t injectorPid,
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 267 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/ |
D | InputManagerService.java | 218 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()
|