passing data thru JNI for one sensor test