jni: Fix unused variable/function/parameter errors

Change-Id: I5200aa45debd4b2b2d7b62f448ed379c58fab5ea
3 files changed