Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_view_InputDevice.cpp63 ScopedLocalRef<jobject> inputDeviceObj(env, env->NewObject(gInputDeviceClassInfo.clazz, in android_view_InputDevice_create() local
73 env->CallVoidMethod(inputDeviceObj.get(), gInputDeviceClassInfo.addMotionRange, range.axis, in android_view_InputDevice_create()
80 return env->NewLocalRef(inputDeviceObj.get()); in android_view_InputDevice_create()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp595 jobject inputDeviceObj = android_view_InputDevice_create(env, inputDevices[i]); in notifyInputDevicesChanged() local
596 if (!inputDeviceObj) { in notifyInputDevicesChanged()
601 env->SetObjectArrayElement(inputDevicesObjArray, i, inputDeviceObj); in notifyInputDevicesChanged()
602 env->DeleteLocalRef(inputDeviceObj); in notifyInputDevicesChanged()