jni/android_hardware_sensormanager:: added functionality to write data to sensorservice