Home
last modified time | relevance | path

Searched refs:inputEventObj (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/jni/
Dandroid_view_InputEventReceiver.cpp292 jobject inputEventObj; in consumeEvents() local
298 inputEventObj = android_view_KeyEvent_fromNative(env, in consumeEvents()
310 inputEventObj = android_view_MotionEvent_obtainAsCopy(env, motionEvent); in consumeEvents()
329 inputEventObj = nullptr; in consumeEvents()
332 if (inputEventObj) { in consumeEvents()
337 gInputEventReceiverClassInfo.dispatchInputEvent, seq, inputEventObj); in consumeEvents()
342 env->DeleteLocalRef(inputEventObj); in consumeEvents()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp956 jobject inputEventObj; in filterInputEvent() local
961 inputEventObj = android_view_KeyEvent_fromNative(env, in filterInputEvent()
965 inputEventObj = android_view_MotionEvent_obtainAsCopy(env, in filterInputEvent()
972 if (!inputEventObj) { in filterInputEvent()
979 inputEventObj, policyFlags); in filterInputEvent()
983 env->DeleteLocalRef(inputEventObj); in filterInputEvent()
1445 jlong ptr, jobject inputEventObj, jint injectorPid, jint injectorUid, in nativeInjectInputEvent() argument
1449 if (env->IsInstanceOf(inputEventObj, gKeyEventClassInfo.clazz)) { in nativeInjectInputEvent()
1451 status_t status = android_view_KeyEvent_toNative(env, inputEventObj, & keyEvent); in nativeInjectInputEvent()
1464 } else if (env->IsInstanceOf(inputEventObj, gMotionEventClassInfo.clazz)) { in nativeInjectInputEvent()
[all …]